Make pyo3-ffi a build dependency of pyo3 to ensure that its build script has finished before pyo3's build script starts.

This commit is contained in:
Adam Reichold 2022-03-15 12:16:20 +01:00
parent efc18a4139
commit 0c7a13fbe1
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Packaging ### Packaging
- Warn when modules are imported on PyPy 3.7 versions older than PyPy 7.3.8, as they are known to have binary compatibility issues. [#2217](https://github.com/PyO3/pyo3/pull/2217) - Warn when modules are imported on PyPy 3.7 versions older than PyPy 7.3.8, as they are known to have binary compatibility issues. [#2217](https://github.com/PyO3/pyo3/pull/2217)
- Ensure build script of `pyo3-ffi` runs before that of `pyo3` to fix cross compilation. [#2224](https://github.com/PyO3/pyo3/pull/2224)
## [0.16.1] - 2022-03-05 ## [0.16.1] - 2022-03-05

View File

@ -51,6 +51,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.61" serde_json = "1.0.61"
[build-dependencies] [build-dependencies]
pyo3-ffi = { path = "pyo3-ffi", version = "=0.16.1" }
pyo3-build-config = { path = "pyo3-build-config", version = "0.16.1", features = ["resolve-config"] } pyo3-build-config = { path = "pyo3-build-config", version = "0.16.1", features = ["resolve-config"] }
[features] [features]