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-rpds-py] rawhide: Update to PyO3 0.29
Date: Mon, 29 Jun 2026 21:00:48 GMT [thread overview]
Message-ID: <178276684848.1.10758285320221024950.rpms-python-rpds-py-e8b70f56903e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-rpds-py
Branch : rawhide
Commit : e8b70f56903e7a4f2380d2cae215a6895bdd2b7b
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-29T14:24:36+01:00
Stats : +20/-13 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-rpds-py/c/e8b70f56903e7a4f2380d2cae215a6895bdd2b7b?branch=rawhide
Log:
Update to PyO3 0.29
---
diff --git a/do_not_require_win_only_pyo3_extension.patch b/do_not_require_win_only_pyo3_extension.patch
deleted file mode 100644
index e5b6abd..0000000
--- a/do_not_require_win_only_pyo3_extension.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -U 3 -dHrN a/Cargo.toml b/Cargo.toml
---- a/Cargo.toml 2006-07-24 03:21:28.000000000 +0200
-+++ b/Cargo.toml 2026-02-08 10:59:46.269158012 +0100
-@@ -13,6 +13,4 @@
-
- [dependencies.pyo3]
- version = "0.28.3"
--# To build extension for PyPy on Windows, "generate-import-lib" is needed:
--# https://github.com/PyO3/maturin-action/issues/267#issuecomment-2106844429
--features = ["extension-module", "generate-import-lib"]
-+features = ["extension-module"]
diff --git a/python-rpds-py.spec b/python-rpds-py.spec
index 9297c08..3fe006d 100644
--- a/python-rpds-py.spec
+++ b/python-rpds-py.spec
@@ -10,8 +10,14 @@ License: MIT AND Apache-2.0 AND (MIT OR Apache-2.0) AND MPL-2.0
URL: https://github.com/crate-py/rpds
Source: %{pypi_source %{modname}}
-# The 'generate-import-lib' extension is only useful on MS Win
-Patch: do_not_require_win_only_pyo3_extension.patch
+# Update to PyO3 0.29, fixing RUSTSEC-2026-0176 and RUSTSEC-2026-0177.
+# https://github.com/crate-py/rpds/commit/3b6dbc0bfc9f2b2cfa7e75d29eb23c3630372e20
+# Released upstream in 2026.6.1, but this release is not yet on PyPI:
+# https://github.com/crate-py/rpds/issues/279.
+#
+# Also drop the generate-import-lib feature, which was Windows-only, and is now
+# deprecated: https://github.com/crate-py/rpds/pull/280.
+Patch: use_pyo3_0.29.patch
BuildRequires: cargo-rpm-macros
BuildRequires: dos2unix
diff --git a/use_pyo3_0.29.patch b/use_pyo3_0.29.patch
new file mode 100644
index 0000000..a1dc134
--- /dev/null
+++ b/use_pyo3_0.29.patch
@@ -0,0 +1,12 @@
+--- a/Cargo.toml 2006-07-24 02:21:28.000000000 +0100
++++ b/Cargo.toml 2026-06-29 14:21:29.753234569 +0100
+@@ -12,7 +12,5 @@
+ archery = "1.2.2"
+
+ [dependencies.pyo3]
+-version = "0.28.3"
+-# To build extension for PyPy on Windows, "generate-import-lib" is needed:
+-# https://github.com/PyO3/maturin-action/issues/267#issuecomment-2106844429
+-features = ["extension-module", "generate-import-lib"]
++version = "0.29.0"
++features = ["extension-module"]
reply other threads:[~2026-06-29 21:00 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=178276684848.1.10758285320221024950.rpms-python-rpds-py-e8b70f56903e@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