public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pyo3_0.20] epel9: compat package for obsolete version
@ 2026-10-14 21:39 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-14 21:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-pyo3_0.20
Branch : epel9
Commit : 57f8be14aeb37115b591f5706aef24dc86b4aff9
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2025-01-30T23:02:57+01:00
Stats : +3/-672 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/rust-pyo3_0.20/c/57f8be14aeb37115b591f5706aef24dc86b4aff9?branch=epel9
Log:
compat package for obsolete version
https://fedoraproject.org/wiki/Changes/Retire_PyO3_v0.19,_v0.20,_and_v0.21
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 228a3bc..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/pyo3-0.20.3.crate
diff --git a/0001-drop-deny-warnings-from-doctests.patch b/0001-drop-deny-warnings-from-doctests.patch
deleted file mode 100644
index 0e2cbd3..0000000
--- a/0001-drop-deny-warnings-from-doctests.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 53ccce30c67ea35caff3c03391f9bf471c934844 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Fri, 12 Apr 2024 22:52:31 +0200
-Subject: [PATCH 1/3] drop deny(warnings) from doctests
-
----
- src/lib.rs | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 5748b7e..49b7357 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -7,8 +7,7 @@
- deny(
- rust_2018_idioms,
- unused_lifetimes,
-- rust_2021_prelude_collisions,
-- warnings
-+ rust_2021_prelude_collisions
- ),
- allow(
- unused_variables,
---
-2.45.2
-
diff --git a/0002-backport-support-for-Python-3.13.patch b/0002-backport-support-for-Python-3.13.patch
deleted file mode 100644
index c71b634..0000000
--- a/0002-backport-support-for-Python-3.13.patch
+++ /dev/null
@@ -1,155 +0,0 @@
-From c832e93135fd2d3dc5ada4191856d47864641d93 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Wed, 26 Jun 2024 19:58:54 +0200
-Subject: [PATCH 2/3] backport support for Python 3.13
-
----
- src/conversions/std/num.rs | 111 ++++++++++++++++++++++++++++---------
- 1 file changed, 85 insertions(+), 26 deletions(-)
-
-diff --git a/src/conversions/std/num.rs b/src/conversions/std/num.rs
-index 1a4ef82..bdf53a7 100644
---- a/src/conversions/std/num.rs
-+++ b/src/conversions/std/num.rs
-@@ -167,7 +167,7 @@ mod fast_128bit_int_conversion {
-
- // for 128bit Integers
- macro_rules! int_convert_128 {
-- ($rust_type: ty, $is_signed: expr) => {
-+ ($rust_type: ty, $is_signed: literal) => {
- impl ToPyObject for $rust_type {
- #[inline]
- fn to_object(&self, py: Python<'_>) -> PyObject {
-@@ -176,18 +176,47 @@ mod fast_128bit_int_conversion {
- }
- impl IntoPy<PyObject> for $rust_type {
- fn into_py(self, py: Python<'_>) -> PyObject {
-- // Always use little endian
-- let bytes = self.to_le_bytes();
-- unsafe {
-- PyObject::from_owned_ptr(
-- py,
-- ffi::_PyLong_FromByteArray(
-- bytes.as_ptr() as *const std::os::raw::c_uchar,
-- bytes.len(),
-- 1,
-- $is_signed,
-- ),
-- )
-+ #[cfg(not(Py_3_13))]
-+ {
-+ let bytes = self.to_le_bytes();
-+ unsafe {
-+ PyObject::from_owned_ptr(
-+ py,
-+ ffi::_PyLong_FromByteArray(
-+ bytes.as_ptr().cast(),
-+ bytes.len(),
-+ 1,
-+ $is_signed.into(),
-+ ),
-+ )
-+ }
-+ }
-+ #[cfg(Py_3_13)]
-+ {
-+ let bytes = self.to_ne_bytes();
-+ if $is_signed {
-+ unsafe {
-+ PyObject::from_owned_ptr(
-+ py,
-+ ffi::PyLong_FromNativeBytes(
-+ bytes.as_ptr().cast(),
-+ bytes.len(),
-+ ffi::Py_ASNATIVEBYTES_NATIVE_ENDIAN,
-+ ),
-+ )
-+ }
-+ } else {
-+ unsafe {
-+ PyObject::from_owned_ptr(
-+ py,
-+ ffi::PyLong_FromUnsignedNativeBytes(
-+ bytes.as_ptr().cast(),
-+ bytes.len(),
-+ ffi::Py_ASNATIVEBYTES_NATIVE_ENDIAN,
-+ ),
-+ )
-+ }
-+ }
- }
- }
-
-@@ -202,17 +231,47 @@ mod fast_128bit_int_conversion {
- let num = unsafe {
- PyObject::from_owned_ptr_or_err(ob.py(), ffi::PyNumber_Index(ob.as_ptr()))?
- };
-- let mut buffer = [0; std::mem::size_of::<$rust_type>()];
-- crate::err::error_on_minusone(ob.py(), unsafe {
-- ffi::_PyLong_AsByteArray(
-- num.as_ptr() as *mut ffi::PyLongObject,
-- buffer.as_mut_ptr(),
-- buffer.len(),
-- 1,
-- $is_signed,
-- )
-- })?;
-- Ok(<$rust_type>::from_le_bytes(buffer))
-+ let mut buffer = [0u8; std::mem::size_of::<$rust_type>()];
-+ #[cfg(not(Py_3_13))]
-+ {
-+ crate::err::error_on_minusone(ob.py(), unsafe {
-+ ffi::_PyLong_AsByteArray(
-+ num.as_ptr() as *mut ffi::PyLongObject,
-+ buffer.as_mut_ptr(),
-+ buffer.len(),
-+ 1,
-+ $is_signed.into(),
-+ )
-+ })?;
-+ Ok(<$rust_type>::from_le_bytes(buffer))
-+ }
-+ #[cfg(Py_3_13)]
-+ {
-+ let mut flags = ffi::Py_ASNATIVEBYTES_NATIVE_ENDIAN;
-+ if !$is_signed {
-+ flags |= ffi::Py_ASNATIVEBYTES_UNSIGNED_BUFFER
-+ | ffi::Py_ASNATIVEBYTES_REJECT_NEGATIVE;
-+ }
-+ let actual_size: usize = unsafe {
-+ ffi::PyLong_AsNativeBytes(
-+ num.as_ptr(),
-+ buffer.as_mut_ptr().cast(),
-+ buffer
-+ .len()
-+ .try_into()
-+ .expect("length of buffer fits in Py_ssize_t"),
-+ flags,
-+ )
-+ }
-+ .try_into()
-+ .map_err(|_| PyErr::fetch(ob.py()))?;
-+ if actual_size as usize > buffer.len() {
-+ return Err(crate::exceptions::PyOverflowError::new_err(
-+ "Python int larger than 128 bits",
-+ ));
-+ }
-+ Ok(<$rust_type>::from_ne_bytes(buffer))
-+ }
- }
-
- #[cfg(feature = "experimental-inspect")]
-@@ -223,8 +282,8 @@ mod fast_128bit_int_conversion {
- };
- }
-
-- int_convert_128!(i128, 1);
-- int_convert_128!(u128, 0);
-+ int_convert_128!(i128, true);
-+ int_convert_128!(u128, false);
- }
-
- // For ABI3 we implement the conversion manually.
---
-2.45.2
-
diff --git a/0003-Make-unsafe-subinterpreter-support-available-via-cfg.patch b/0003-Make-unsafe-subinterpreter-support-available-via-cfg.patch
deleted file mode 100644
index 2a52bbc..0000000
--- a/0003-Make-unsafe-subinterpreter-support-available-via-cfg.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 788bb9f02b6a27dce8b247c3ea1ff3fdd67c326b Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Tue, 23 Jul 2024 15:15:13 +0200
-Subject: [PATCH 3/3] Make unsafe subinterpreter support available via cfg flag
-
----
- src/impl_/pymodule.rs | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/impl_/pymodule.rs b/src/impl_/pymodule.rs
-index 7c5243f..7b15f8a 100644
---- a/src/impl_/pymodule.rs
-+++ b/src/impl_/pymodule.rs
-@@ -84,7 +84,7 @@ impl ModuleDef {
- // that static data is not reused across interpreters.
- //
- // PyPy does not have subinterpreters, so no need to check interpreter ID.
-- #[cfg(not(PyPy))]
-+ #[cfg(not(any(PyPy, 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
---
-2.45.2
-
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..a68e9aa
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,3 @@
+compat package for obsolete version
+
+https://fedoraproject.org/wiki/Changes/Retire_PyO3_v0.19,_v0.20,_and_v0.21
diff --git a/pyo3-fix-metadata.diff b/pyo3-fix-metadata.diff
deleted file mode 100644
index 711ba64..0000000
--- a/pyo3-fix-metadata.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- pyo3-0.20.3/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ pyo3-0.20.3/Cargo.toml 2024-04-12T20:48:27.290070+00:00
-@@ -159,7 +159,7 @@
- version = ">=1.0.70"
-
- [dev-dependencies.widestring]
--version = "0.5.1"
-+version = "1.0.2"
-
- [build-dependencies.pyo3-build-config]
- version = "=0.20.3"
-@@ -219,7 +219,6 @@
- "serde",
- "smallvec",
- ]
--generate-import-lib = ["pyo3-ffi/generate-import-lib"]
- macros = [
- "pyo3-macros",
- "indoc",
diff --git a/rust-pyo3_0.20.spec b/rust-pyo3_0.20.spec
deleted file mode 100644
index 9a1265f..0000000
--- a/rust-pyo3_0.20.spec
+++ /dev/null
@@ -1,445 +0,0 @@
-# Generated by rust2rpm 26
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate pyo3
-
-Name: rust-pyo3_0.20
-Version: 0.20.3
-Release: %autorelease
-Summary: Bindings to Python interpreter
-
-License: MIT OR Apache-2.0
-URL: https://crates.io/crates/pyo3
-Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * bump widestring dev-dependency from 0.5 to 1.0
-# * drop MSVC- and MinGW-only features
-Patch: pyo3-fix-metadata.diff
-# drop deny(warnings) from doctests to fix building with recent Rust
-Patch: 0001-drop-deny-warnings-from-doctests.patch
-
-# backport support for Python 3.13: https://github.com/PyO3/pyo3/pull/4184
-Patch: 0002-backport-support-for-Python-3.13.patch
-
-# * make unsafe subinterpreter support available via cfg flag:
-# https://bugzilla.redhat.com/show_bug.cgi?id=2298403
-Patch: 0003-Make-unsafe-subinterpreter-support-available-via-cfg.patch
-
-BuildRequires: cargo-rpm-macros >= 24
-
-%global _description %{expand:
-Bindings to Python interpreter.}
-
-%description %{_description}
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "%{crate}" crate.
-
-%files devel
-%license %{crate_instdir}/LICENSE-APACHE
-%license %{crate_instdir}/LICENSE-MIT
-%license %{crate_instdir}/pyo3-runtime/LICENSE-APACHE
-%license %{crate_instdir}/pyo3-runtime/LICENSE-MIT
-%doc %{crate_instdir}/Architecture.md
-%doc %{crate_instdir}/CHANGELOG.md
-%doc %{crate_instdir}/Code-of-Conduct.md
-%doc %{crate_instdir}/Contributing.md
-%doc %{crate_instdir}/README.md
-%doc %{crate_instdir}/Releasing.md
-%{crate_instdir}/
-
-%package -n %{name}+default-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+default-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "default" feature of the "%{crate}" crate.
-
-%files -n %{name}+default-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+abi3-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+abi3-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3" feature of the "%{crate}" crate.
-
-%files -n %{name}+abi3-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+abi3-py310-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+abi3-py310-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py310" feature of the "%{crate}" crate.
-
-%files -n %{name}+abi3-py310-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+abi3-py311-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+abi3-py311-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py311" feature of the "%{crate}" crate.
-
-%files -n %{name}+abi3-py311-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+abi3-py312-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+abi3-py312-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py312" feature of the "%{crate}" crate.
-
-%files -n %{name}+abi3-py312-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+abi3-py37-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+abi3-py37-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py37" feature of the "%{crate}" crate.
-
-%files -n %{name}+abi3-py37-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
-
-%description -n %{name}+abi3-py39-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py39" feature of the "%{crate}" crate.
-
-%files -n %{name}+abi3-py39-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+anyhow-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+anyhow-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "anyhow" feature of the "%{crate}" crate.
-
-%files -n %{name}+anyhow-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+auto-initialize-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+auto-initialize-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "auto-initialize" feature of the "%{crate}" crate.
-
-%files -n %{name}+auto-initialize-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+chrono-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+chrono-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "chrono" feature of the "%{crate}" crate.
-
-%files -n %{name}+chrono-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+either-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+either-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "either" feature of the "%{crate}" crate.
-
-%files -n %{name}+either-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+experimental-inspect-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+experimental-inspect-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "experimental-inspect" feature of the "%{crate}" crate.
-
-%files -n %{name}+experimental-inspect-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+extension-module-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+extension-module-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "extension-module" feature of the "%{crate}" crate.
-
-%files -n %{name}+extension-module-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+eyre-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+eyre-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "eyre" feature of the "%{crate}" crate.
-
-%files -n %{name}+eyre-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+full-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+full-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "full" feature of the "%{crate}" crate.
-
-%files -n %{name}+full-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+hashbrown-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+hashbrown-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "hashbrown" feature of the "%{crate}" crate.
-
-%files -n %{name}+hashbrown-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+indexmap-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+indexmap-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "indexmap" feature of the "%{crate}" crate.
-
-%files -n %{name}+indexmap-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+indoc-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+indoc-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "indoc" feature of the "%{crate}" crate.
-
-%files -n %{name}+indoc-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+inventory-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+inventory-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "inventory" feature of the "%{crate}" crate.
-
-%files -n %{name}+inventory-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+macros-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+macros-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "macros" feature of the "%{crate}" crate.
-
-%files -n %{name}+macros-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+multiple-pymethods-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+multiple-pymethods-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "multiple-pymethods" feature of the "%{crate}" crate.
-
-%files -n %{name}+multiple-pymethods-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+nightly-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+nightly-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "nightly" feature of the "%{crate}" crate.
-
-%files -n %{name}+nightly-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+num-bigint-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+num-bigint-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "num-bigint" feature of the "%{crate}" crate.
-
-%files -n %{name}+num-bigint-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+num-complex-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+num-complex-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "num-complex" feature of the "%{crate}" crate.
-
-%files -n %{name}+num-complex-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+pyo3-macros-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+pyo3-macros-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "pyo3-macros" feature of the "%{crate}" crate.
-
-%files -n %{name}+pyo3-macros-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+rust_decimal-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+rust_decimal-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "rust_decimal" feature of the "%{crate}" crate.
-
-%files -n %{name}+rust_decimal-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+serde-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+serde-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "serde" feature of the "%{crate}" crate.
-
-%files -n %{name}+serde-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+smallvec-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+smallvec-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "smallvec" feature of the "%{crate}" crate.
-
-%files -n %{name}+smallvec-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+unindent-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+unindent-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "unindent" feature of the "%{crate}" crate.
-
-%files -n %{name}+unindent-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-# drop files that are not useful
-rm -r emscripten/ newsfragments/
-
-%generate_buildrequires
-# unit tests require optional dependencies
-%cargo_generate_buildrequires -a
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-# * unit tests require an UTF-8 locale
-# * unit tests require the "auto-initialize" feature
-# * skip one test that segfaults with Python 3.13 (removed in pyo3 0.21):
-# https://github.com/PyO3/pyo3/pull/3769
-export LANG=C.utf8
-%cargo_test -f auto-initialize -- -- --skip test_default_interpreter
-%endif
-
-%changelog
-%autochangelog
diff --git a/sources b/sources
deleted file mode 100644
index 20cbf67..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (pyo3-0.20.3.crate) = 77cce558fa60bbd8d9981ff5e62fdfa9bac94bd650b287fbf14ac93ef1c326c8ae7fda82d744e3582df03cab8adf490e0f2752fabd9ae3de044e7d80984e0350
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-14 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 21:39 [rpms/rust-pyo3_0.20] epel9: compat package for obsolete version Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox