diff --git a/pyo3-fix-metadata.diff b/pyo3-fix-metadata.diff index 263dbcd..5bc2da5 100644 --- a/pyo3-fix-metadata.diff +++ b/pyo3-fix-metadata.diff @@ -1,6 +1,6 @@ --- pyo3-0.15.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pyo3-0.15.1/Cargo.toml 2021-11-22T11:18:19.902732+00:00 -@@ -29,51 +29,12 @@ ++++ pyo3-0.15.1/Cargo.toml 2022-03-12T20:34:18.419081+00:00 +@@ -29,41 +29,6 @@ no-default-features = true rustdoc-args = ["--cfg", "docsrs"] @@ -42,17 +42,21 @@ [dependencies.anyhow] version = "1.0" optional = true - +@@ -71,20 +36,16 @@ [dependencies.cfg-if] version = "1.0" -- + -[dependencies.eyre] -version = ">= 0.4, < 0.7" -optional = true - +- [dependencies.hashbrown] version = ">= 0.9, < 0.12" -@@ -84,7 +45,7 @@ + optional = true + + [dependencies.indexmap] +-version = ">= 1.6, < 1.8" ++version = "1.6" optional = true [dependencies.indoc] diff --git a/rust-pyo3.spec b/rust-pyo3.spec index 946c457..dd667ed 100644 --- a/rust-pyo3.spec +++ b/rust-pyo3.spec @@ -17,6 +17,7 @@ Source: %{crates_source} # * bump dependencies (MSRV 1.41 is not relevant for Fedora): # - bump indoc from 0.3.6 to 1.0.3 # - bump paste from 0.1.18 to 1.0 +# * relax exact versions for optional indexmap dependency # * relax exact versions for bitflags and half dev-dependencies # * drop unused, benchmark-only criterion dev-dependency to speed up builds # * drop unused benchmark definitions from Cargo.toml