Merge pull request #2239 from zh-jq/patch-v0.16.2
allow to compile with parking_lot 0.12
This commit is contained in:
commit
4339214ded
|
@ -175,8 +175,13 @@ jobs:
|
|||
- if: matrix.msrv == 'MSRV'
|
||||
name: Prepare minimal package versions (MSRV only)
|
||||
run: |
|
||||
set -x
|
||||
cargo update -p indexmap --precise 1.6.2
|
||||
cargo update -p hashbrown:0.12.0 --precise 0.9.1
|
||||
PROJECTS=("." "examples/decorator" "examples/maturin-starter" "examples/setuptools-rust-starter" "examples/word-count")
|
||||
for PROJ in ${PROJECTS[@]}; do
|
||||
cargo update --manifest-path "$PROJ/Cargo.toml" -p parking_lot --precise 0.11.0
|
||||
done
|
||||
|
||||
- name: Build docs
|
||||
run: cargo doc --no-deps --no-default-features --features "full ${{ matrix.extra_features }}"
|
||||
|
|
|
@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
- Added `as_bytes` on `Py<PyBytes>`. [#2235](https://github.com/PyO3/pyo3/pull/2235)
|
||||
|
||||
### Packaging
|
||||
|
||||
- Extend `parking_lot` dependency supported versions to include 0.12. [#2239](https://github.com/PyO3/pyo3/pull/2239)
|
||||
|
||||
## [0.16.2] - 2022-03-15
|
||||
|
||||
### Packaging
|
||||
|
|
|
@ -16,7 +16,7 @@ edition = "2018"
|
|||
[dependencies]
|
||||
cfg-if = "1.0"
|
||||
libc = "0.2.62"
|
||||
parking_lot = "0.11.0"
|
||||
parking_lot = ">= 0.11, < 0.13"
|
||||
|
||||
# ffi bindings to the python interpreter, split into a seperate crate so they can be used independently
|
||||
pyo3-ffi = { path = "pyo3-ffi", version = "=0.16.2" }
|
||||
|
|
Loading…
Reference in New Issue