public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-jiter] f43: Update to PyO3 0.29
Date: Mon, 29 Jun 2026 12:20:09 GMT [thread overview]
Message-ID: <178273560974.1.5816667026331686658.rpms-python-jiter-c748d4be4d87@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-jiter
Branch : f43
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=f43
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
reply other threads:[~2026-06-29 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178273560974.1.5816667026331686658.rpms-python-jiter-c748d4be4d87@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox