public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-orjson] f43: Update to 3.12.0 (close RHBZ#2516116)
@ 2026-08-16 15:50 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-16 15:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-orjson
Branch : f43
Commit : 617baeafe6ae5dfb766a795e7deee8f8e6813b6a
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-16T16:00:29+01:00
Stats : +39/-38 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-orjson/c/617baeafe6ae5dfb766a795e7deee8f8e6813b6a?branch=f43
Log:
Update to 3.12.0 (close RHBZ#2516116)
---
diff --git a/.gitignore b/.gitignore
index 2aaa898..70cea0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@
/orjson-3.11.7-filtered.tar.xz
/orjson-3.11.8-filtered.tar.xz
/orjson-3.11.9-filtered.tar.xz
+/orjson-3.12.0-filtered.tar.xz
diff --git a/orjson-3.11.9-pyo3-0.29.patch b/orjson-3.11.9-pyo3-0.29.patch
deleted file mode 100644
index 92453a2..0000000
--- a/orjson-3.11.9-pyo3-0.29.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -Naur orjson-3.11.9-original/Cargo.toml orjson-3.11.9/Cargo.toml
---- orjson-3.11.9-original/Cargo.toml 2026-05-06 15:12:18.000000000 +0100
-+++ orjson-3.11.9/Cargo.toml 2026-07-10 13:02:39.462239484 +0100
-@@ -48,7 +48,7 @@
- itoap = { version = "1", default-features = false, features = ["std", "simd"] }
- jiff = { version = "^0.2", default-features = false, features = ["perf-inline"] }
- 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 }
- serde = { version = "1", default-features = false }
- serde_json = { version = "1", default-features = false, features = ["std"] }
- simdutf8 = { version = "0.1", default-features = false, features = ["std", "public_imp", "aarch64_neon"] }
-@@ -58,7 +58,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.11.9-original/src/ffi/pystrref/pyunicode_new.rs orjson-3.11.9/src/ffi/pystrref/pyunicode_new.rs
---- orjson-3.11.9-original/src/ffi/pystrref/pyunicode_new.rs 2026-05-06 15:12:18.000000000 +0100
-+++ orjson-3.11.9/src/ffi/pystrref/pyunicode_new.rs 2026-07-10 13:01:41.060310147 +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!(pyo3_ffi::_PyUnicode_CheckConsistency($ptr.cast::<PyObject>(), 1) == 1)
- };
diff --git a/orjson-3.12.0-pyo3-0.29.patch b/orjson-3.12.0-pyo3-0.29.patch
new file mode 100644
index 0000000..ede10e9
--- /dev/null
+++ b/orjson-3.12.0-pyo3-0.29.patch
@@ -0,0 +1,34 @@
+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 c3bb09d..8c0c93d 100644
--- a/python-orjson.spec
+++ b/python-orjson.spec
@@ -10,7 +10,7 @@
%bcond pendulum %{undefined el10}
Name: python-orjson
-Version: 3.11.9
+Version: 3.12.0
Release: %autorelease
Summary: Fast, correct Python JSON library
@@ -42,7 +42,7 @@ 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.11.9-pyo3-0.29.patch
+Patch: orjson-3.12.0-pyo3-0.29.patch
BuildRequires: tomcli
BuildRequires: python3-devel
@@ -99,7 +99,7 @@ License: %{shrink:
# disabled, and the json crate from the Rust standard library,
# https://docs.rs/json, would be used instead, but this is no longer
# supported.)
-Provides: bundled(yyjson) = 0.9.0
+Provides: bundled(yyjson) = 0.12.0
# Small amounts of code are copied and modified from other crates, e.g.
# src/serialize/writer/half.rs is based on the half crate and
# src/serialize/writer/uuid.rs is based on the uuid crate, but this doesn’t
diff --git a/sources b/sources
index 43bcea8..c54a4df 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (orjson-3.11.9-filtered.tar.xz) = 1b3fafb9cb471c0f791af4ecfc71c14619369d3ed68fc55ede63dd9603b9be470cf8d754355aef53d91c7d1cfe6cce6b090abfb9b52314dc976f8e3e929d6b31
+SHA512 (orjson-3.12.0-filtered.tar.xz) = a4498df41b25da854280d3509d5a50577c091af517a8c806f60f616f51d75c33a9831b7e2e71ca2b19e3ff3ea21f51032667ec75ce3b649d5a6aaa086b91064e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-16 15:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16 15:50 [rpms/python-orjson] f43: Update to 3.12.0 (close RHBZ#2516116) 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