Backport patch to add PyType_GetDict for Python 3.12

This commit is contained in:
Tomáš Hrnčiar 2023-07-25 09:56:00 +02:00
commit 8c9ea3fe06
2 changed files with 65 additions and 1 deletions

View file

@ -9,12 +9,16 @@
Name: python-orjson
Version: 3.9.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Fast, correct Python JSON library
License: Apache-2.0 OR MIT
URL: https://github.com/ijl/orjson
Source: %{pypi_source orjson}
# Compatibility with Python 3.12
Patch: https://github.com/ijl/orjson/pull/408.patch
# Ineligble for upstreaming
Patch: Remove-unstable-simd-feature.patch
@ -91,6 +95,10 @@ export RUSTFLAGS='%{build_rustflags}'
%changelog
* Tue Jul 25 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.9.2-2
- Backport patch to add PyType_GetDict for Python 3.12
- Fixes: rhbz#2220383
* Fri Jul 21 2023 Maxwell G <maxwell@gtmx.me> - 3.9.2-1
- Update to 3.9.2. Fixes rhbz#2211703.