Patch to fix dependencies on archery and rpds crates

This commit is contained in:
Mattia Verga 2023-08-25 09:56:53 +02:00
parent e0249739e1
commit fb35b8aed7
2 changed files with 17 additions and 0 deletions

14
bump-dependencies.patch Normal file
View File

@ -0,0 +1,14 @@
diff -U 3 -dHrN a/Cargo.toml b/Cargo.toml
--- a/Cargo.toml 1970-01-01 01:00:00.000000000 +0100
+++ b/Cargo.toml 2023-08-25 09:51:52.468068668 +0200
@@ -8,8 +8,8 @@
crate-type = ["cdylib"]
[dependencies]
-rpds = "0.13.0"
-archery = "0.5.0"
+rpds = "1.0.0"
+archery = "1.0.0"
[dependencies.pyo3]
version = "0.19.1"

View File

@ -10,6 +10,9 @@ License: MIT AND Apache-2.0 AND (MIT OR Apache-2.0) AND MPL-2.0
URL: https://github.com/crate-py/rpds
Source: %{pypi_source %{modname}}
# Bump archery and rpds dependencies to v1.0.0
Patch: bump-dependencies.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
# Also rust-rpds is not available on i686
ExcludeArch: %{ix86}