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-setuptools-rust] rawhide: Update examples to use PyO3 0.29
Date: Mon, 29 Jun 2026 12:50:54 GMT [thread overview]
Message-ID: <178273745446.1.12346596473188282456.rpms-python-setuptools-rust-9a0f3caf5f74@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-setuptools-rust
Branch : rawhide
Commit : 9a0f3caf5f74395387c4366854cb2f5a23c8c1cf
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-21T08:39:01+01:00
Stats : +66/-60 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-setuptools-rust/c/9a0f3caf5f74395387c4366854cb2f5a23c8c1cf?branch=rawhide
Log:
Update examples to use PyO3 0.29
---
diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec
index 099e003..687b1d8 100644
--- a/python-setuptools-rust.spec
+++ b/python-setuptools-rust.spec
@@ -15,9 +15,15 @@ License: MIT
URL: https://github.com/PyO3/setuptools-rust
Source: %{pypi_source setuptools_rust}
-# Temporarily allow building examples with PyO3 0.27, until we have 0.28:
-# https://bugzilla.redhat.com/show_bug.cgi?id=2435852
-Patch: setuptools_rust-1.12.1-allow-PyO3-0.27.patch
+# Update examples to use PyO3 0.29. Some already have upstream dependabot PR’s:
+#
+# build(deps): bump pyo3 from 0.28.3 to 0.29.0 in /examples/namespace_package
+# https://github.com/PyO3/setuptools-rust/pull/596
+# build(deps): bump pyo3 from 0.28.3 to 0.29.0 in /examples/hello-world
+# https://github.com/PyO3/setuptools-rust/pull/597
+#
+# We presume that the others will get dependabot PR’s shortly.
+Patch: setuptools_rust-1.12.1-PyO3-0.29.patch
BuildArch: noarch
diff --git a/setuptools_rust-1.12.1-PyO3-0.29.patch b/setuptools_rust-1.12.1-PyO3-0.29.patch
new file mode 100644
index 0000000..f5afa00
--- /dev/null
+++ b/setuptools_rust-1.12.1-PyO3-0.29.patch
@@ -0,0 +1,57 @@
+diff -Naur setuptools_rust-1.12.1-original/examples/hello-world/Cargo.toml setuptools_rust-1.12.1/examples/hello-world/Cargo.toml
+--- setuptools_rust-1.12.1-original/examples/hello-world/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
++++ setuptools_rust-1.12.1/examples/hello-world/Cargo.toml 2026-06-20 21:32:24.092064894 +0100
+@@ -6,7 +6,7 @@
+ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+ [dependencies]
+-pyo3 = "0.28"
++pyo3 = "0.29"
+
+ [profile.release-lto]
+ inherits = "release"
+diff -Naur setuptools_rust-1.12.1-original/examples/hello-world-setuppy/Cargo.toml setuptools_rust-1.12.1/examples/hello-world-setuppy/Cargo.toml
+--- setuptools_rust-1.12.1-original/examples/hello-world-setuppy/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
++++ setuptools_rust-1.12.1/examples/hello-world-setuppy/Cargo.toml 2026-06-20 21:32:29.768158955 +0100
+@@ -4,7 +4,7 @@
+ edition = "2021"
+
+ [dependencies]
+-pyo3 = "0.28"
++pyo3 = "0.29"
+
+ [lib]
+ # See https://github.com/PyO3/pyo3 for details
+diff -Naur setuptools_rust-1.12.1-original/examples/html-py-ever/Cargo.toml setuptools_rust-1.12.1/examples/html-py-ever/Cargo.toml
+--- setuptools_rust-1.12.1-original/examples/html-py-ever/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
++++ setuptools_rust-1.12.1/examples/html-py-ever/Cargo.toml 2026-06-20 21:32:31.584189049 +0100
+@@ -6,7 +6,7 @@
+
+ [dependencies]
+ scraper = "0.25"
+-pyo3 = "0.28"
++pyo3 = "0.29"
+
+ [lib]
+ name = "html_py_ever"
+diff -Naur setuptools_rust-1.12.1-original/examples/namespace_package/Cargo.toml setuptools_rust-1.12.1/examples/namespace_package/Cargo.toml
+--- setuptools_rust-1.12.1-original/examples/namespace_package/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
++++ setuptools_rust-1.12.1/examples/namespace_package/Cargo.toml 2026-06-20 21:32:33.724224512 +0100
+@@ -18,4 +18,4 @@
+ # path = "src/lib.rs"
+
+ [dependencies]
+-pyo3 = "0.28"
++pyo3 = "0.29"
+diff -Naur setuptools_rust-1.12.1-original/examples/rust_with_cffi/Cargo.toml setuptools_rust-1.12.1/examples/rust_with_cffi/Cargo.toml
+--- setuptools_rust-1.12.1-original/examples/rust_with_cffi/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
++++ setuptools_rust-1.12.1/examples/rust_with_cffi/Cargo.toml 2026-06-20 21:32:35.630256099 +0100
+@@ -5,7 +5,7 @@
+ edition = "2021"
+
+ [dependencies]
+-pyo3 = "0.28"
++pyo3 = "0.29"
+
+ [lib]
+ name = "rust_with_cffi"
diff --git a/setuptools_rust-1.12.1-allow-PyO3-0.27.patch b/setuptools_rust-1.12.1-allow-PyO3-0.27.patch
deleted file mode 100644
index 499db8d..0000000
--- a/setuptools_rust-1.12.1-allow-PyO3-0.27.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -Naur setuptools_rust-1.12.1-original/examples/hello-world/Cargo.toml setuptools_rust-1.12.1/examples/hello-world/Cargo.toml
---- setuptools_rust-1.12.1-original/examples/hello-world/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
-+++ setuptools_rust-1.12.1/examples/hello-world/Cargo.toml 2026-03-26 10:33:29.680270154 +0000
-@@ -6,7 +6,7 @@
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
- [dependencies]
--pyo3 = "0.28"
-+pyo3 = ">=0.27, <0.29"
-
- [profile.release-lto]
- inherits = "release"
-diff -Naur setuptools_rust-1.12.1-original/examples/hello-world-setuppy/Cargo.toml setuptools_rust-1.12.1/examples/hello-world-setuppy/Cargo.toml
---- setuptools_rust-1.12.1-original/examples/hello-world-setuppy/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
-+++ setuptools_rust-1.12.1/examples/hello-world-setuppy/Cargo.toml 2026-03-26 10:33:29.680603019 +0000
-@@ -4,7 +4,7 @@
- edition = "2021"
-
- [dependencies]
--pyo3 = "0.28"
-+pyo3 = ">=0.27, <0.29"
-
- [lib]
- # See https://github.com/PyO3/pyo3 for details
-diff -Naur setuptools_rust-1.12.1-original/examples/html-py-ever/Cargo.toml setuptools_rust-1.12.1/examples/html-py-ever/Cargo.toml
---- setuptools_rust-1.12.1-original/examples/html-py-ever/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
-+++ setuptools_rust-1.12.1/examples/html-py-ever/Cargo.toml 2026-03-26 10:33:29.680721311 +0000
-@@ -6,7 +6,7 @@
-
- [dependencies]
- scraper = "0.25"
--pyo3 = "0.28"
-+pyo3 = ">=0.27, <0.29"
-
- [lib]
- name = "html_py_ever"
-diff -Naur setuptools_rust-1.12.1-original/examples/namespace_package/Cargo.toml setuptools_rust-1.12.1/examples/namespace_package/Cargo.toml
---- setuptools_rust-1.12.1-original/examples/namespace_package/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
-+++ setuptools_rust-1.12.1/examples/namespace_package/Cargo.toml 2026-03-26 10:33:29.680863503 +0000
-@@ -18,4 +18,4 @@
- # path = "src/lib.rs"
-
- [dependencies]
--pyo3 = "0.28"
-+pyo3 = ">=0.27, <0.29"
-diff -Naur setuptools_rust-1.12.1-original/examples/rust_with_cffi/Cargo.toml setuptools_rust-1.12.1/examples/rust_with_cffi/Cargo.toml
---- setuptools_rust-1.12.1-original/examples/rust_with_cffi/Cargo.toml 2026-03-26 08:01:49.000000000 +0000
-+++ setuptools_rust-1.12.1/examples/rust_with_cffi/Cargo.toml 2026-03-26 10:33:29.680994914 +0000
-@@ -5,7 +5,7 @@
- edition = "2021"
-
- [dependencies]
--pyo3 = "0.28"
-+pyo3 = ">=0.27, <0.29"
-
- [lib]
- name = "rust_with_cffi"
reply other threads:[~2026-06-29 12:50 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=178273745446.1.12346596473188282456.rpms-python-setuptools-rust-9a0f3caf5f74@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