PyO3 32-bit fix is now included in upstream Python 3.14 PR

This commit is contained in:
Benjamin A. Beasley 2025-06-05 08:01:25 -04:00
commit 6177d02f00
3 changed files with 60 additions and 42 deletions

View file

@ -20,15 +20,6 @@ Source: %{pypi_source orjson}
# Support Python 3.14
# Updates bundled/forked pyo3-build-config/pyo3-ffi to 0.25.0
Patch: https://github.com/ijl/orjson/pull/570.patch
# Cherry-pick pyo3-ffi fix for Python 3.14 i686 segfaults:
#
# Make PyObjectObRefcnt.refcnt_and_flags 64-bit-only
# https://github.com/PyO3/pyo3/pull/5180
#
# Cherry-picked on top of https://github.com/ijl/orjson/pull/570 (without the
# commit adding a news fragment); see
# https://github.com/ijl/orjson/pull/570#issuecomment-2943844083.
Patch: 0001-Make-PyObjectObRefcnt.refcnt_and_flags-64-bit-only.patch
BuildRequires: tomcli
BuildRequires: python3-devel