From fb35b8aed7b02d1cfbd095db3da71c6638eed1d3 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Fri, 25 Aug 2023 09:56:53 +0200 Subject: [PATCH] Patch to fix dependencies on archery and rpds crates --- bump-dependencies.patch | 14 ++++++++++++++ python-rpds-py.spec | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 bump-dependencies.patch diff --git a/bump-dependencies.patch b/bump-dependencies.patch new file mode 100644 index 0000000..0bfb409 --- /dev/null +++ b/bump-dependencies.patch @@ -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" diff --git a/python-rpds-py.spec b/python-rpds-py.spec index 58b50f0..7ec1ff4 100644 --- a/python-rpds-py.spec +++ b/python-rpds-py.spec @@ -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}