public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-orjson] f44: Update to 3.13.0 (close RHBZ#2547510)
@ 2026-10-08 6:49 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-08 6:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-orjson
Branch : f44
Commit : 51c510f73cb728064234c1dca0a55d153d968055
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-08T07:01:24+01:00
Stats : +3/-42 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-orjson/c/51c510f73cb728064234c1dca0a55d153d968055?branch=f44
Log:
Update to 3.13.0 (close RHBZ#2547510)
---
diff --git a/.gitignore b/.gitignore
index 70cea0e..0afcc3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@
/orjson-3.11.8-filtered.tar.xz
/orjson-3.11.9-filtered.tar.xz
/orjson-3.12.0-filtered.tar.xz
+/orjson-3.13.0-filtered.tar.xz
diff --git a/orjson-3.12.0-pyo3-0.29.patch b/orjson-3.12.0-pyo3-0.29.patch
deleted file mode 100644
index ede10e9..0000000
--- a/orjson-3.12.0-pyo3-0.29.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -Naur orjson-3.12.0-original/Cargo.toml orjson-3.12.0/Cargo.toml
---- orjson-3.12.0-original/Cargo.toml 2026-08-14 16:44:42.000000000 +0100
-+++ orjson-3.12.0/Cargo.toml 2026-08-16 15:53:57.319328159 +0100
-@@ -48,7 +48,7 @@
- itoap = { version = "1", default-features = false, features = ["std", "simd"] }
- jiff-core = { version = "0.1", default-features = false }
- once_cell = { version = "1", default-features = false, features = ["alloc", "race"] }
--pyo3-ffi = { version = "0.28", default-features = false }
-+pyo3-ffi = { version = "0.29", default-features = false }
- simdutf8 = { version = "0.1", default-features = false, features = ["std", "public_imp", "aarch64_neon"] }
- unwinding = { version = "=0.2.10", default-features = false, features = ["unwinder"], optional = true }
- xxhash-rust = { version = "^0.8", default-features = false, features = ["xxh3"] }
-@@ -56,7 +56,7 @@
-
- [build-dependencies]
- cc = { version = "1" }
--pyo3-build-config = { version = "0.28" }
-+pyo3-build-config = { version = "0.29" }
-
- [profile.dev]
- codegen-units = 1
-diff -Naur orjson-3.12.0-original/src/ffi/pystrref/pyunicode_new.rs orjson-3.12.0/src/ffi/pystrref/pyunicode_new.rs
---- orjson-3.12.0-original/src/ffi/pystrref/pyunicode_new.rs 2026-08-14 16:44:42.000000000 +0100
-+++ orjson-3.12.0/src/ffi/pystrref/pyunicode_new.rs 2026-08-16 15:54:20.495685409 +0100
-@@ -6,6 +6,9 @@
-
- macro_rules! validate_str {
- ($ptr:expr) => {
-+ // Downstream patch: this private FFI definition was removed in PyO3 0.29, and we build
-+ // exclusively in release mode anyway.
-+ #[cfg(false)]
- #[cfg(all(CPython, not(Py_LIMITED_ABI)))]
- debug_assert!(crate::ffi::_PyUnicode_CheckConsistency($ptr.cast::<PyObject>(), 1) == 1)
- };
diff --git a/python-orjson.spec b/python-orjson.spec
index 8c0c93d..4d0dfb4 100644
--- a/python-orjson.spec
+++ b/python-orjson.spec
@@ -10,7 +10,7 @@
%bcond pendulum %{undefined el10}
Name: python-orjson
-Version: 3.12.0
+Version: 3.13.0
Release: %autorelease
Summary: Fast, correct Python JSON library
@@ -40,10 +40,6 @@ Source0: orjson-%{version}-filtered.tar.xz
# ./get_source ${COMMIT} (or ${TAG})
Source1: get_source
-# Update to PyO3 0.29; fixes RUSTSEC-2026-0194 and RUSTSEC-2026-0195.
-# Downstream-only because upstream no longer accepts issues or pull requests.
-Patch: orjson-3.12.0-pyo3-0.29.patch
-
BuildRequires: tomcli
BuildRequires: python3-devel
BuildRequires: %{py3_dist pytest-forked}
@@ -72,7 +68,6 @@ datetimes, and numpy}
Summary: %{summary}
# Output of %%{cargo_license_summary}:
#
-# (Apache-2.0 OR MIT) AND BSD-3-Clause
# Apache-2.0 OR MIT
# BSL-1.0
# MIT
@@ -84,7 +79,6 @@ Summary: %{summary}
# which are all in the first line of the expresion below.
License: %{shrink:
MPL-2.0 AND (Apache-2.0 OR MIT) AND MIT AND
- BSD-3-Clause AND
BSL-1.0 AND
(Unlicense OR MIT)
}
diff --git a/sources b/sources
index c54a4df..650fa2d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (orjson-3.12.0-filtered.tar.xz) = a4498df41b25da854280d3509d5a50577c091af517a8c806f60f616f51d75c33a9831b7e2e71ca2b19e3ff3ea21f51032667ec75ce3b649d5a6aaa086b91064e
+SHA512 (orjson-3.13.0-filtered.tar.xz) = 661dd6ed73f9843d968ea84bb1b7071ffc887870cfcb27e150cd9f1400db7b5e65fd6b46006cd4d8b4661b7ea2125f9ea19997440c690720c19770443b34e0dc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 6:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 6:49 [rpms/python-orjson] f44: Update to 3.13.0 (close RHBZ#2547510) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox