diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34429f3383a..5a74d819cb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,6 +90,10 @@ jobs: run: | echo "::set-output name=all_additive_features::macros num-bigint num-complex hashbrown serde multiple-pymethods" + - if: matrix.msrv == 'MSRV' + name: Prepare minimal package versions (MSRV only) + run: cargo update -p hashbrown --precise 0.9.10 + - name: Build docs run: cargo doc --no-default-features --features "${{ steps.settings.outputs.all_additive_features }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index fb86dd68d85..3e7cd9c683f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Packaging - Update `num-bigint` optional dependency to 0.4. [#1481](https://github.com/PyO3/pyo3/pull/1481) - Update `num-complex` optional dependency to 0.4. [#1482](https://github.com/PyO3/pyo3/pull/1482) +- Extend `hashbrown` optional dependency supported versions to include 0.11. [#1496](https://github.com/PyO3/pyo3/pull/1496) ### Added - Add conversions between `OsStr`/`OsString`/`Path`/`PathBuf` and Python strings. [#1379](https://github.com/PyO3/pyo3/pull/1379) diff --git a/Cargo.toml b/Cargo.toml index 8af66410d3f..fc3b811bf83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ num-complex = { version = "0.4", optional = true } paste = { version = "0.1.18", optional = true } pyo3-macros = { path = "pyo3-macros", version = "=0.13.2", optional = true } unindent = { version = "0.1.4", optional = true } -hashbrown = { version = "0.11", optional = true } +hashbrown = { version = ">= 0.9, < 0.12", optional = true } serde = {version = "1.0", optional = true} [dev-dependencies]