On Tue, Jun 13, 2023 at 6:03 AM Tomas Hrnciar <[email protected]> wrote:
> If you'd like to build a package after we already rebuilt it, you should be
> able to build it in the side tag via:
>
> on branch rawhide:
> $ fedpkg build --target=f39-python
> $ koji wait-repo f39-python --build <nvr>
I'm trying to help by fixing packages I maintain that failed to build
on the first attempt. However, I'm having some issues with Cython
generating incorrect code. The most recent example is the
python-pytest-cython package, which fails because Cython generates
code that accesses the use_tracing field of _PyCFrame. That field was
removed in python 3.12.
There are a couple of other packages that have issues with the
representation of a long object. In python 3.11 and before, we had:
struct _longobject {
PyObject_VAR_HEAD
digit ob_digit[1];
};
In python 3.12, we have:
typedef struct _PyLongValue {
uintptr_t lv_tag; /* Number of digits, sign and flags */
digit ob_digit[1];
} _PyLongValue;
struct _longobject {
PyObject_HEAD
_PyLongValue long_value;
};
The Cython package in the side tag has this in Includes/cpython/longintrepr.pxd:
ctypedef class __builtin__.py_long [object PyLongObject]:
cdef digit* ob_digit
which is incorrect for python 3.12. I think I'm stuck until Cython
has been updated for python 3.12.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue