Python 3.12.0a5 fixes
This commit is contained in:
parent
d55635fb41
commit
bff314d73f
5 changed files with 310 additions and 1 deletions
17
Cython.spec
17
Cython.spec
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
Name: Cython
|
||||
Version: 0.29.33
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Language for writing Python extension modules
|
||||
|
||||
License: Apache-2.0
|
||||
|
|
@ -18,6 +18,17 @@ Source: https://github.com/cython/cython/archive/%{version}/Cython-%{ver
|
|||
# Fixes https://bugzilla.redhat.com/2155090
|
||||
Patch: emacs-docstring-wrap.patch
|
||||
|
||||
# Python 3.12 backports and fixes:
|
||||
# Stop using PyLong internals and dict versioning in Py3.12 for 0.29.x
|
||||
Patch: https://github.com/cython/cython/commit/3397705da0.patch
|
||||
# Allow Py3.12 AttributeError suggestions in doctest output
|
||||
Patch: https://github.com/cython/cython/commit/d883ccdec1.patch
|
||||
# Disable "py_unicode_strings" test in Py3.12, which removed the support for it
|
||||
Patch: https://github.com/cython/cython/commit/21e64ec206.patch
|
||||
# Account for possible extension type struct padding when calculating the itemsize for the "size changed" check
|
||||
Patch: https://github.com/cython/cython/commit/15de63e460.patch
|
||||
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
|
|
@ -133,6 +144,10 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 01 2023 Miro Hrončok <mhroncok@redhat.com> - 0.29.33-2
|
||||
- Make Cython work with Python 3.12.0a5
|
||||
- Fixes: rhbz#2172822
|
||||
|
||||
* Fri Feb 17 2023 Miro Hrončok <mhroncok@redhat.com> - 0.29.33-1
|
||||
- Update to 0.29.33
|
||||
- Fix test failures with NumPy 1.24
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue