Allow the bundled pyo3 to build this with unsupported Python versions
[skip changelog]
This commit is contained in:
parent
d7ee4a1249
commit
30b44e027b
1 changed files with 5 additions and 0 deletions
|
|
@ -142,6 +142,11 @@ done
|
|||
export RUSTFLAGS='%{build_rustflags}'
|
||||
%cargo_license_summary
|
||||
%{cargo_license} > LICENSES.dependencies
|
||||
# Fedora's pyo3 is patched to not check Python version when building RPM packages.
|
||||
# However, this uses a bundled version without the patch.
|
||||
# Rather than patching it, we set the environment variable,
|
||||
# which allows us to test this package with development Python versions.
|
||||
export UNSAFE_PYO3_SKIP_VERSION_CHECK=1
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue