Skip to content

Build failures on python 3.15 #64

Description

@sanjayankur31

python-exiv2 fails to build with Python 3.15.0a6.

  src/swig-0_28_7/xmp_wrap.cxx: In function ‘void _process_list(PyObject*, bool, Exiv2::XmpData::iterator*, Exiv2::XmpData::iterator*)’:
  src/swig-0_28_7/xmp_wrap.cxx:5790:18: error: ‘PyWeakref_GetObject’ was not declared in this scope; did you mean ‘PyWeakref_GetRef’?
   5790 |         py_ptr = PyWeakref_GetObject(PyList_GetItem(list, idx-1));
        |                  ^~~~~~~~~~~~~~~~~~~
        |                  PyWeakref_GetRef

https://docs.python.org/3.15/whatsnew/3.15.html

Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=2440690

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions