diff --git a/test-crates/pyo3-mixed-py-subdir/Cargo.lock b/test-crates/pyo3-mixed-py-subdir/Cargo.lock index ee6f69a34..dcec5063b 100644 --- a/test-crates/pyo3-mixed-py-subdir/Cargo.lock +++ b/test-crates/pyo3-mixed-py-subdir/Cargo.lock @@ -92,8 +92,7 @@ dependencies = [ [[package]] name = "pyo3" version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201b6887e5576bf2f945fe65172c1fcbf3fcf285b23e4d71eb171d9736e38d32" +source = "git+https://github.com/messense/pyo3.git?branch=fix-pymodule-filename-on-pypy#736e97556d0f022b20b7e7a70e141f4e6a8a3960" dependencies = [ "cfg-if", "indoc", @@ -109,8 +108,7 @@ dependencies = [ [[package]] name = "pyo3-build-config" version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0708c9ed01692635cbf056e286008e5a2927ab1a5e48cdd3aeb1ba5a6fef47" +source = "git+https://github.com/messense/pyo3.git?branch=fix-pymodule-filename-on-pypy#736e97556d0f022b20b7e7a70e141f4e6a8a3960" dependencies = [ "once_cell", "target-lexicon", @@ -119,8 +117,7 @@ dependencies = [ [[package]] name = "pyo3-ffi" version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90352dea4f486932b72ddf776264d293f85b79a1d214de1d023927b41461132d" +source = "git+https://github.com/messense/pyo3.git?branch=fix-pymodule-filename-on-pypy#736e97556d0f022b20b7e7a70e141f4e6a8a3960" dependencies = [ "libc", "pyo3-build-config", @@ -129,8 +126,7 @@ dependencies = [ [[package]] name = "pyo3-macros" version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb24b804a2d9e88bfcc480a5a6dd76f006c1e3edaf064e8250423336e2cd79d" +source = "git+https://github.com/messense/pyo3.git?branch=fix-pymodule-filename-on-pypy#736e97556d0f022b20b7e7a70e141f4e6a8a3960" dependencies = [ "proc-macro2", "pyo3-macros-backend", @@ -141,8 +137,7 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f22bb49f6a7348c253d7ac67a6875f2dc65f36c2ae64a82c381d528972bea6d6" +source = "git+https://github.com/messense/pyo3.git?branch=fix-pymodule-filename-on-pypy#736e97556d0f022b20b7e7a70e141f4e6a8a3960" dependencies = [ "proc-macro2", "quote", diff --git a/test-crates/pyo3-mixed-py-subdir/Cargo.toml b/test-crates/pyo3-mixed-py-subdir/Cargo.toml index 239d1d233..cd526b936 100644 --- a/test-crates/pyo3-mixed-py-subdir/Cargo.toml +++ b/test-crates/pyo3-mixed-py-subdir/Cargo.toml @@ -16,3 +16,7 @@ crate-type = ["cdylib"] [package.metadata.maturin] python-source = "python" name = "pyo3_mixed_py_subdir._pyo3_mixed" + +[patch.crates-io] +pyo3-ffi = { git = "https://github.com/messense/pyo3.git", branch = "fix-pymodule-filename-on-pypy" } +pyo3 = { git = "https://github.com/messense/pyo3.git", branch = "fix-pymodule-filename-on-pypy" }