Update to version 0.22.6; Fixes RHBZ#2318984

epel10
Fabio Valentini 2 months ago
parent f2adaa00a4
commit 04291657d2
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -24,3 +24,4 @@
/pyo3-0.22.2.crate /pyo3-0.22.2.crate
/pyo3-0.22.3.crate /pyo3-0.22.3.crate
/pyo3-0.22.4.crate /pyo3-0.22.4.crate
/pyo3-0.22.6.crate

@ -1,5 +1,5 @@
--- pyo3-0.22.4/Cargo.toml 1970-01-01T00:00:01+00:00 --- pyo3-0.22.6/Cargo.toml 1970-01-01T00:00:01+00:00
+++ pyo3-0.22.4/Cargo.toml 2024-10-15T10:14:21.583551+00:00 +++ pyo3-0.22.6/Cargo.toml 2024-11-09T20:58:49.612339+00:00
@@ -423,7 +423,6 @@ @@ -423,7 +423,6 @@
"serde", "serde",
"smallvec", "smallvec",

@ -5,7 +5,7 @@
%global crate pyo3 %global crate pyo3
Name: rust-pyo3 Name: rust-pyo3
Version: 0.22.4 Version: 0.22.6
Release: %autorelease Release: %autorelease
Summary: Bindings to Python interpreter Summary: Bindings to Python interpreter
@ -15,10 +15,9 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * drop MSVC- and MinGW-only features # * drop MSVC- and MinGW-only features
Patch: pyo3-fix-metadata.diff Patch: pyo3-fix-metadata.diff
# * make unsafe subinterpreter support available via cfg flag: # * make unsafe subinterpreter support available via cfg flag:
# https://bugzilla.redhat.com/show_bug.cgi?id=2298403 # https://bugzilla.redhat.com/show_bug.cgi?id=2298403
Patch: 0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch Patch2: 0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24

@ -2,6 +2,15 @@
cargo-toml-patch-comments = [ cargo-toml-patch-comments = [
"drop MSVC- and MinGW-only features", "drop MSVC- and MinGW-only features",
] ]
doc-files.exclude = [".towncrier.template.md"]
[[package.extra-patches]]
number = 2
file = "0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch"
comments = ["""\
make unsafe subinterpreter support available via cfg flag:
https://bugzilla.redhat.com/show_bug.cgi?id=2298403""",
]
[scripts] [scripts]
prep.post = [ prep.post = [

@ -1 +1 @@
SHA512 (pyo3-0.22.4.crate) = 58dc4ccde8f534f1b70019d4e3d4d0834b7698acdbbcba0d5c470c9ccbe257f251df9664b918a34784b2fb76ede2758ec8c168bb2603750f3b53ed9de2d195b7 SHA512 (pyo3-0.22.6.crate) = d746007eae22f5b7bbf173759c61cbd2aa893898d88b8be5680a0237deec4d113246edf5f62fbbec3579ad4bd7307499b94b887ec306112ffe3df5190fe70e44

Loading…
Cancel
Save