public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pyo3] rawhide: Update to version 0.29.0; Fixes RHBZ#2488087
@ 2026-06-19 16:23 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-19 16:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-pyo3
Branch : rawhide
Commit : 3282f5c8e5dd6b9d1f284f1efe93ad5f696a8fdd
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-06-19T15:36:21+02:00
Stats  : +52/-15 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-pyo3/c/3282f5c8e5dd6b9d1f284f1efe93ad5f696a8fdd?branch=rawhide

Log:
Update to version 0.29.0; Fixes RHBZ#2488087

---
diff --git a/.gitignore b/.gitignore
index ed11a91..14daa13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,4 @@
 /pyo3-0.27.1.crate
 /pyo3-0.27.2.crate
 /pyo3-0.28.3.crate
+/pyo3-0.29.0.crate

diff --git a/pyo3-fix-metadata-auto.diff b/pyo3-fix-metadata-auto.diff
index 4a0c421..7e95e7a 100644
--- a/pyo3-fix-metadata-auto.diff
+++ b/pyo3-fix-metadata-auto.diff
@@ -1,8 +1,8 @@
---- pyo3-0.28.3/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ pyo3-0.28.3/Cargo.toml	2026-04-18T13:00:36.494606+00:00
-@@ -529,9 +529,6 @@
- version = "=0.28.3"
- features = ["resolve-config"]
+--- pyo3-0.29.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ pyo3-0.29.0/Cargo.toml	2026-06-19T13:09:09.128592+00:00
+@@ -572,9 +572,6 @@
+ [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.ctrlc]
+ version = "3.5.2"
  
 -[target.'cfg(not(target_has_atomic = "64"))'.dependencies.portable-atomic]
 -version = "1.0"
@@ -10,7 +10,7 @@
  [lints.clippy]
  checked_conversions = "warn"
  dbg_macro = "warn"
-@@ -562,3 +559,4 @@
+@@ -613,3 +610,4 @@
  [lints.rustdoc]
  bare_urls = "warn"
  broken_intra_doc_links = "warn"

diff --git a/pyo3-fix-metadata.diff b/pyo3-fix-metadata.diff
index 0f766d7..ee3713d 100644
--- a/pyo3-fix-metadata.diff
+++ b/pyo3-fix-metadata.diff
@@ -1,6 +1,6 @@
---- pyo3-0.28.3/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ pyo3-0.28.3/Cargo.toml	2026-04-18T13:00:36.495879+00:00
-@@ -152,7 +152,6 @@
+--- pyo3-0.29.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ pyo3-0.29.0/Cargo.toml	2026-06-19T13:09:09.129941+00:00
+@@ -147,7 +147,6 @@
      "time",
      "uuid",
  ]
@@ -8,3 +8,13 @@
  macros = ["pyo3-macros"]
  multiple-pymethods = [
      "inventory",
+@@ -558,9 +557,6 @@
+ 
+ [dev-dependencies.tempfile]
+ version = "3.12.0"
+-
+-[dev-dependencies.ui_test]
+-version = "0.30.4"
+ 
+ [dev-dependencies.uuid]
+ version = "1.10.0"

diff --git a/rust-pyo3.spec b/rust-pyo3.spec
index 59d2567..1523486 100644
--- a/rust-pyo3.spec
+++ b/rust-pyo3.spec
@@ -5,7 +5,7 @@
 %global crate pyo3
 
 Name:           rust-pyo3
-Version:        0.28.3
+Version:        0.29.0
 Release:        %autorelease
 Summary:        Bindings to Python interpreter
 
@@ -16,6 +16,7 @@ Source:         %{crates_source}
 Patch:          pyo3-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * drop MSVC- and MinGW-only features
+# * drop ui_test dev-dependency (UI tests are not included in published crates)
 Patch:          pyo3-fix-metadata.diff
 # * make unsafe subinterpreter support available via cfg flag:
 #   https://bugzilla.redhat.com/show_bug.cgi?id=2298403
@@ -135,16 +136,16 @@ use the "abi3-py314" feature of the "%{crate}" crate.
 %files       -n %{name}+abi3-py314-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+abi3-py37-devel
+%package     -n %{name}+abi3-py315-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+abi3-py37-devel %{_description}
+%description -n %{name}+abi3-py315-devel %{_description}
 
 This package contains library source intended for building other packages which
-use the "abi3-py37" feature of the "%{crate}" crate.
+use the "abi3-py315" feature of the "%{crate}" crate.
 
-%files       -n %{name}+abi3-py37-devel
+%files       -n %{name}+abi3-py315-devel
 %ghost %{crate_instdir}/Cargo.toml
 
 %package     -n %{name}+abi3-py38-devel
@@ -171,6 +172,30 @@ use the "abi3-py39" feature of the "%{crate}" crate.
 %files       -n %{name}+abi3-py39-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+abi3t-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+abi3t-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "abi3t" feature of the "%{crate}" crate.
+
+%files       -n %{name}+abi3t-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+abi3t-py315-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+abi3t-py315-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "abi3t-py315" feature of the "%{crate}" crate.
+
+%files       -n %{name}+abi3t-py315-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+anyhow-devel
 Summary:        %{summary}
 BuildArch:      noarch

diff --git a/rust2rpm.toml b/rust2rpm.toml
index da131c8..59d063a 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,7 @@
 [package]
 cargo-toml-patch-comments = [
     "drop MSVC- and MinGW-only features",
+    "drop ui_test dev-dependency (UI tests are not included in published crates)",
 ]
 doc-files.exclude = [".towncrier.template.md"]
 

diff --git a/sources b/sources
index cac6b05..ffa5a5e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyo3-0.28.3.crate) = f955957eec4b95cc9337d331bba3bba52b4754b301cf86cd974601e64eb20c2424023b19be89a224661fe2e185de646cd3d0d00705b6b5cbd139856c9443a247
+SHA512 (pyo3-0.29.0.crate) = e6822400de53ebcef4a14c899dc065abae621a126483873139f5eb850877c94f4bccee3a183d4e2a69eadcd3c3b82b0a6f3e1053d926b103be572329607f2f67

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 16:23 [rpms/rust-pyo3] rawhide: Update to version 0.29.0; Fixes RHBZ#2488087 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox