Skip to content

Commit

Permalink
Update hashbrown requirement from >= 0.9, < 0.15 to >= 0.9, < 0.16 (#…
Browse files Browse the repository at this point in the history
…4604)

* Update hashbrown requirement from >= 0.9, < 0.15 to >= 0.9, < 0.16

Updates the requirements on [hashbrown](https://github.com/rust-lang/hashbrown) to permit the latest version.
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md)
- [Commits](rust-lang/hashbrown@v0.9.0...v0.15.0)

---
updated-dependencies:
- dependency-name: hashbrown
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* add CHANGELOG entry

* pin hashbrown version used on MSRV

* bump hashbrown in benchmarks, add dependabot for CI packages

* also pin indexmap for msrv job

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Hewitt <[email protected]>
  • Loading branch information
dependabot[bot] and davidhewitt authored Oct 11, 2024
1 parent d925821 commit 3788c37
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@

version: 2
updates:
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "cargo"
directory: "/pyo3-benches/"
schedule:
interval: "weekly"

- package-ecosystem: "cargo"
directory: "/pyo3-ffi-check/"
schedule:
interval: "weekly"

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ chrono = { version = "0.4.25", default-features = false, optional = true }
chrono-tz = { version = ">= 0.6, < 0.11", default-features = false, optional = true }
either = { version = "1.9", optional = true }
eyre = { version = ">= 0.4, < 0.7", optional = true }
hashbrown = { version = ">= 0.9, < 0.15", optional = true }
hashbrown = { version = ">= 0.9, < 0.16", optional = true }
indexmap = { version = ">= 1.6, < 3", optional = true }
num-bigint = { version = "0.4.2", optional = true }
num-complex = { version = ">= 0.2, < 0.5", optional = true }
Expand Down
1 change: 1 addition & 0 deletions newsfragments/4604.packaging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Extend range of supported versions of `hashbrown` optional dependency to include version 0.15
2 changes: 2 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ def set_msrv_package_versions(session: nox.Session):
"trybuild": "1.0.89",
"eyre": "0.6.8",
"allocator-api2": "0.2.10",
"indexmap": "2.5.0", # to be compatible with hashbrown 0.14
"hashbrown": "0.14.5", # https://github.com/rust-lang/hashbrown/issues/574
}

# run cargo update first to ensure that everything is at highest
Expand Down
2 changes: 1 addition & 1 deletion pyo3-benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ codspeed-criterion-compat = "2.3"
criterion = "0.5.1"
num-bigint = "0.4.3"
rust_decimal = { version = "1.0.0", default-features = false }
hashbrown = "0.14"
hashbrown = "0.15"

[[bench]]
name = "bench_any"
Expand Down

0 comments on commit 3788c37

Please sign in to comment.