Update to 3.10.6 (close RHBZ#2354600)

- Fixes compatibility with CPython 3.14 alpha 6 (close RHBZ#2349447)
This commit is contained in:
Benjamin A. Beasley 2025-04-02 19:58:44 -04:00
commit c0306d6a1e
4 changed files with 20 additions and 4 deletions

View file

@ -10,7 +10,7 @@
%bcond pendulum %{undefined el10}
Name: python-orjson
Version: 3.10.14
Version: 3.10.16
Release: %autorelease
Summary: Fast, correct Python JSON library
@ -18,6 +18,11 @@ License: Apache-2.0 OR MIT
URL: https://github.com/ijl/orjson
Source: %{pypi_source orjson}
# Manual patches for Cargo.toml
# - For now, allow compact_str 0.8;
# https://bugzilla.redhat.com/show_bug.cgi?id=2347456
Patch: orjson-fix-metadata.diff
BuildRequires: tomcli
BuildRequires: python3-devel
BuildRequires: %{py3_dist pytest-forked}
@ -89,8 +94,6 @@ tomcli-set Cargo.toml del 'features.avx512'
# “Avoid bundling libgcc on musl.”
tomcli-set Cargo.toml del 'features.unwind'
tomcli-set Cargo.toml del 'dependencies.unwinding'
# Remove strict dependencies
sed -Ei 's|(version = ")=|\1|' Cargo.toml
# Remove bundled rust crates
rm -r include/cargo
# Remove bundled yyjson.