Update to 3.10.1. Fixes rhbz#2264126.

This commit is contained in:
Maxwell G 2024-04-15 23:31:00 +00:00
commit e7bd69981e
No known key found for this signature in database
GPG key ID: F79E4E25E8C661F8
4 changed files with 11 additions and 28 deletions

View file

@ -8,14 +8,13 @@
%bcond tests 1
Name: python-orjson
Version: 3.9.13
Version: 3.10.1
Release: 1%{?dist}
Summary: Fast, correct Python JSON library
License: Apache-2.0 OR MIT
URL: https://github.com/ijl/orjson
Source: %{pypi_source orjson}
Patch: Remove-strict-ahash-version-pin.patch
BuildRequires: tomcli
BuildRequires: python3-devel
@ -57,11 +56,16 @@ License: %{shrink:
tomcli-set Cargo.toml del 'features.unstable-simd'
# Remove no-panic feature
tomcli-set Cargo.toml del 'features.no-panic'
# Remove strict dependencies
sed -Ei 's|(version = ")=|\1|' Cargo.toml
# Remove bundled rust crates
rm -r include/cargo
# Remove bundled yyjson.
rm -rv include/yyjson/
# Remove unpackaged PyPI plugin
sed -i '/pytest-random-order/d' test/requirements.txt
%generate_buildrequires
@ -95,6 +99,9 @@ export RUSTFLAGS='%{build_rustflags}'
%changelog
* Mon Apr 15 2024 Maxwell G <maxwell@gtmx.me> - 3.10.1-1
- Update to 3.10.1. Fixes rhbz#2264126.
* Tue Feb 6 2024 Maxwell G <maxwell@gtmx.me> - 3.9.13-1
- Update to 3.9.13. Fixes rhbz#2262570.