public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jiter] rawhide: Update to PyO3 0.29
@ 2026-06-29 12:16 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-29 12:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-jiter
Branch : rawhide
Commit : c748d4be4d8786e8790f53dc877a6a7ff0f3e7ed
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-20T09:28:06+01:00
Stats  : +38/-7 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-jiter/c/c748d4be4d8786e8790f53dc877a6a7ff0f3e7ed?branch=rawhide

Log:
Update to PyO3 0.29

---
diff --git a/jiter-0.15.0-pyo3-0.29.patch b/jiter-0.15.0-pyo3-0.29.patch
new file mode 100644
index 0000000..9d6b495
--- /dev/null
+++ b/jiter-0.15.0-pyo3-0.29.patch
@@ -0,0 +1,34 @@
+diff -Naur jiter-0.15.0-original/Cargo.toml jiter-0.15.0/Cargo.toml
+--- jiter-0.15.0-original/Cargo.toml	2006-07-24 02:21:28.000000000 +0100
++++ jiter-0.15.0/Cargo.toml	2026-06-20 09:25:58.018068226 +0100
+@@ -26,5 +26,5 @@
+ debug = true
+ 
+ [workspace.dependencies]
+-pyo3 = { version = "0.28.2" }
+-pyo3-build-config = { version = "0.28.2" }
++pyo3 = { version = "0.29.0" }
++pyo3-build-config = { version = "0.29.0" }
+diff -Naur jiter-0.15.0-original/crates/jiter-python/Cargo.toml jiter-0.15.0/crates/jiter-python/Cargo.toml
+--- jiter-0.15.0-original/crates/jiter-python/Cargo.toml	2006-07-24 02:21:28.000000000 +0100
++++ jiter-0.15.0/crates/jiter-python/Cargo.toml	2026-06-20 09:26:30.565844169 +0100
+@@ -17,7 +17,7 @@
+ 
+ [features]
+ # make extensions visible to cargo vendor
+-extension-module = ["pyo3/generate-import-lib"]
++extension-module = []
+ 
+ [lib]
+ name = "jiter_python"
+diff -Naur jiter-0.15.0-original/pyproject.toml jiter-0.15.0/pyproject.toml
+--- jiter-0.15.0-original/pyproject.toml	2006-07-24 02:21:28.000000000 +0100
++++ jiter-0.15.0/pyproject.toml	2026-06-20 09:26:49.564924584 +0100
+@@ -40,6 +40,6 @@
+ [tool.maturin]
+ module-name = "jiter"
+ bindings = "pyo3"
+-features = ["pyo3/generate-import-lib"]
++features = []
+ editable-profile = 'dev'
+ manifest-path = "crates/jiter-python/Cargo.toml"

diff --git a/python-jiter.spec b/python-jiter.spec
index 0a7bc95..15b3394 100644
--- a/python-jiter.spec
+++ b/python-jiter.spec
@@ -17,6 +17,10 @@ License:        %{shrink:
 URL:            https://github.com/pydantic/jiter
 Source:         %{pypi_source jiter}
 
+# Backport: update to PyO3 0.29 (#254)
+# https://github.com/pydantic/jiter/commit/2fe4246c71c003ddb32c943e3b432925f05f7d3c
+Patch:          jiter-0.15.0-pyo3-0.29.patch
+
 BuildSystem:    pyproject
 BuildOption(install): --assert-license jiter
 
@@ -55,13 +59,6 @@ tomcli set Cargo.toml lists delitem workspace.members 'crates/jiter'
 tomcli set crates/jiter-python/Cargo.toml str dependencies.jiter.version "=%{version}"
 tomcli set crates/jiter-python/Cargo.toml del dependencies.jiter.path
 
-# This feature only applies to Windows, and is hidden in our PyO3 packages.
-# We can and should remove it with no consequence.
-tomcli set pyproject.toml lists delitem \
-    tool.maturin.features pyo3/generate-import-lib
-tomcli set crates/jiter-python/Cargo.toml lists delitem \
-    features.extension-module pyo3/generate-import-lib
-
 %cargo_prep
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-29 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:16 [rpms/python-jiter] rawhide: Update to PyO3 0.29 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