From a2788b052d0c970d584db94ed59e2e8b02d72f76 Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Wed, 24 Mar 2021 22:29:00 +0000 Subject: [PATCH] hashbrown: support 0.9 or 0.11 --- .github/workflows/ci.yml | 4 ++++ CHANGELOG.md | 1 + Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34429f33..13515181 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.1 + - 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 fb86dd68..3e7cd9c6 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 8af66410..fc3b811b 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]