Skip to content

Commit 680dc66

Browse files
committed
Use -U in the pip install for py-geth if missing geth binary:
- This will force pip to install the latest version of py-geth, even if another version is already installed. If the test fixture has just been updated, this is a requirement.
1 parent f49203b commit 680dc66

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ geth_steps: &geth_steps
7777
sudo apt-get install -y build-essential
7878
pygeth_version=$(python web3/scripts/parse_pygeth_version.py)
7979
echo "installing py-geth$pygeth_version"
80-
pip install --user "py-geth$pygeth_version"
80+
pip install -U --user "py-geth$pygeth_version"
8181
python -m geth.install v<< pipeline.parameters.geth_version >>
8282
fi
8383
sudo ln -s /home/circleci/.py-geth/geth-v<< pipeline.parameters.geth_version >>/bin/geth /usr/local/bin/geth

newsfragments/3637.internal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use ``-U`` to install latest `py-geth` version for CI geth steps. This is usually a requirement if we're missing the binary for the newly-generated fixture geth version.

0 commit comments

Comments
 (0)