Skip to content

Commit ec08bff

Browse files
danieldkDaniël de Kok
authored andcommitted
Fetch pyo3-pack with git
pyo3-pack from crates.io does not include Cargo.lock. As a result, the ground is changing underneath us. Install pyo3-pack from git instead to pin the versions to those in Cargo.lock.
1 parent 7a04721 commit ec08bff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ install:
88
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
99
- rustc -V
1010
- cargo -V
11-
- cargo install pyo3-pack --vers 0.6.1
11+
- cargo install --git https://github.com/PyO3/pyo3-pack.git --tag v0.6.1 pyo3-pack
1212

1313
build_script:
1414
- pyo3-pack build --release

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ install:
3636
source venv/bin/activate
3737
pip install cffi virtualenv pytest numpy
3838
fi
39-
- cargo install pyo3-pack --vers 0.6.1
39+
- cargo install --git https://github.com/PyO3/pyo3-pack.git --tag v0.6.1 pyo3-pack
4040
- rustup default nightly-2019-02-07
4141
- rustup component add rustfmt
4242

0 commit comments

Comments
 (0)