public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-pyo3] epel10: Update to version 0.30.1; Fixes RHBZ#2544176
Date: Wed, 04 Nov 2026 22:02:02 GMT	[thread overview]
Message-ID: <179382972203.1.2011903984804569819.rpms-rust-pyo3-38c3412da931@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-pyo3
Branch : epel10
Commit : 38c3412da93161e8bd834a1529506da909a6ef7a
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-11-04T15:31:08+01:00
Stats  : +17/-38 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-pyo3/c/38c3412da93161e8bd834a1529506da909a6ef7a?branch=epel10

Log:
Update to version 0.30.1; Fixes RHBZ#2544176

---
diff --git a/.gitignore b/.gitignore
index ebbcf0e..9be85a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
 /pyo3-0.29.1.crate
 /pyo3-0.29.2.crate
 /pyo3-0.29.3.crate
+/pyo3-0.30.1.crate

diff --git a/0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch b/0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch
index e1f4973..9cb324c 100644
--- a/0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch
+++ b/0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch
@@ -1,4 +1,4 @@
-From 31baa20d3cdd1cabcbb42011369a36c7d99645b6 Mon Sep 17 00:00:00 2001
+From 767ae68a12d428249a9c00aa80cb656ddd664b50 Mon Sep 17 00:00:00 2001
 From: Fabio Valentini <decathorpe@gmail.com>
 Date: Sat, 18 Apr 2026 15:04:32 +0200
 Subject: [PATCH] Make unsafe subinterpreter support available via cfg flag
@@ -8,18 +8,18 @@ Subject: [PATCH] Make unsafe subinterpreter support available via cfg flag
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/impl_/pymodule.rs b/src/impl_/pymodule.rs
-index 66749e2..dac4e5b 100644
+index 7f8d4f9..db4972a 100644
 --- a/src/impl_/pymodule.rs
 +++ b/src/impl_/pymodule.rs
-@@ -117,7 +117,7 @@ impl ModuleDef {
+@@ -131,7 +131,7 @@ impl ModuleDef {
          //
          // TODO: it should be possible to use the Py_mod_multiple_interpreters slot on sufficiently
          // new Python versions to remove the need for this custom logic
 -        #[cfg(not(any(PyPy, GraalPy)))]
 +        #[cfg(not(any(PyPy, GraalPy, pyo3_unsafe_allow_subinterpreters)))]
          {
-             // PyInterpreterState_Get is only available on 3.9 and later, but is missing
-             // from python3.dll for Windows stable API on 3.9
+             // PyInterpreterState_Get is missing from python3.dll for Windows
+             // stable API on 3.9
 -- 
-2.53.0
+2.56.0
 

diff --git a/pyo3-fix-metadata-auto.diff b/pyo3-fix-metadata-auto.diff
index 9a9fa98..0903593 100644
--- a/pyo3-fix-metadata-auto.diff
+++ b/pyo3-fix-metadata-auto.diff
@@ -1,6 +1,6 @@
---- pyo3-0.29.3/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ pyo3-0.29.3/Cargo.toml	2026-10-15T10:15:09.137674+00:00
-@@ -548,9 +548,6 @@
+--- pyo3-0.30.1/Cargo.toml	2006-07-24T01:21:28+00:00
++++ pyo3-0.30.1/Cargo.toml	2026-11-04T14:15:41.634456+00:00
+@@ -544,9 +544,6 @@
  [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.ctrlc]
  version = "3.5.2"
  
@@ -10,7 +10,7 @@
  [lints.clippy]
  checked_conversions = "warn"
  dbg_macro = "warn"
-@@ -591,3 +588,4 @@
+@@ -587,3 +584,4 @@
  [lints.rustdoc]
  bare_urls = "warn"
  broken_intra_doc_links = "warn"

diff --git a/pyo3-fix-metadata.diff b/pyo3-fix-metadata.diff
index 812fe21..07151e2 100644
--- a/pyo3-fix-metadata.diff
+++ b/pyo3-fix-metadata.diff
@@ -1,6 +1,6 @@
---- pyo3-0.29.3/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ pyo3-0.29.3/Cargo.toml	2026-10-15T10:15:09.140009+00:00
-@@ -147,7 +147,6 @@
+--- pyo3-0.30.1/Cargo.toml	2006-07-24T01:21:28+00:00
++++ pyo3-0.30.1/Cargo.toml	2026-11-04T14:15:41.636200+00:00
+@@ -143,7 +143,6 @@
      "time",
      "uuid",
  ]
@@ -8,7 +8,7 @@
  macros = ["pyo3-macros"]
  multiple-pymethods = [
      "inventory",
-@@ -534,9 +533,6 @@
+@@ -530,9 +529,6 @@
  
  [dev-dependencies.tempfile]
  version = "3.12.0"

diff --git a/rust-pyo3.spec b/rust-pyo3.spec
index 56823b5..b0bbdeb 100644
--- a/rust-pyo3.spec
+++ b/rust-pyo3.spec
@@ -5,7 +5,7 @@
 %global crate pyo3
 
 Name:           rust-pyo3
-Version:        0.29.3
+Version:        0.30.1
 Release:        %autorelease
 Summary:        Bindings to Python interpreter
 
@@ -148,18 +148,6 @@ use the "abi3-py315" feature of the "%{crate}" crate.
 %files       -n %{name}+abi3-py315-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+abi3-py38-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-py38-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py38" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-py38-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %package     -n %{name}+abi3-py39-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -607,11 +595,6 @@ use the "uuid" feature of the "%{crate}" crate.
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
-# convert files with CRLF line endings
-dos2unix --keepdate src/call.rs
-dos2unix --keepdate src/impl_/deprecated.rs
-dos2unix --keepdate src/pyclass/guard.rs
-dos2unix --keepdate tests/test_class_init.rs
 # drop files that are not useful
 rm -r newsfragments/ wasm/
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index d7d89dd..83e7d0e 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -18,11 +18,6 @@ build = ["dos2unix"]
 
 [scripts]
 prep.post = [
-    "# convert files with CRLF line endings",
-    "dos2unix --keepdate src/call.rs",
-    "dos2unix --keepdate src/impl_/deprecated.rs",
-    "dos2unix --keepdate src/pyclass/guard.rs",
-    "dos2unix --keepdate tests/test_class_init.rs",
     "# drop files that are not useful",
     "rm -r newsfragments/ wasm/",
 ]

diff --git a/sources b/sources
index a77c986..e19951a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyo3-0.29.3.crate) = 809d8f84a08bc5f997f76a429edd53a8b500faa3aaa70846a174134d42f76352f3b023e2d235a9795c2fde6e52a088c5e20ac39fa97f370c50775906ae1f7f06
+SHA512 (pyo3-0.30.1.crate) = 68799fc448f68b204d4825ce4e1a0b000febf18d968740fa9f94df9507b3a2697fb1c4b642d88ad1f1fb2b214fcd1b9a3a8089eccd8b0418c08b4ae69b7bfdec

                 reply	other threads:[~2026-11-04 22:02 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=179382972203.1.2011903984804569819.rpms-rust-pyo3-38c3412da931@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --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