ci: fix "regtest" task failing due to pip weirdness
pip was failing to install "electrum_aionostr>=0.0.7". This was when using "python3-pip" from ubuntu 22.04 apt. ``` Discarding https://files.pythonhosted.org/packages/91/8b/95a16d58c8d02c6f8919fd41895c65312179d66abad5d70e9800c942ac61/electrum_aionostr-0.0.7.tar.gz#sha256=e0b45d608977891c3bb4f6a4dee9a4e843fa661ceca31f81e7b992e65117070a (from https://pypi.org/simple/electrum-aionostr/) (requires-python:>=3.8): Requested unknown from https://files.pythonhosted.org/packages/91/8b/95a16d58c8d02c6f8919fd41895c65312179d66abad5d70e9800c942ac61/electrum_aionostr-0.0.7.tar.gz#sha256=e0b45d608977891c3bb4f6a4dee9a4e843fa661ceca31f81e7b992e65117070a (from Electrum==4.5.8) has inconsistent name: filename has 'electrum-aionostr', but metadata has 'unknown' ``` Updating to newer pip directly using pip seems to fix this: ``` $ python3 -m pip install --user --upgrade pip Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.0.2) Collecting pip Downloading pip-25.0-py3-none-any.whl (1.8 MB) ```
This commit is contained in:
+3
-2
@@ -107,11 +107,12 @@ task:
|
|||||||
install_script:
|
install_script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -y install curl jq bc
|
- apt-get -y install curl jq bc
|
||||||
|
- python3 -m pip install --user --upgrade pip
|
||||||
# install electrum
|
# install electrum
|
||||||
- export ELECTRUM_ECC_DONT_COMPILE=1 # we build manually to make caching it easier
|
- export ELECTRUM_ECC_DONT_COMPILE=1 # we build manually to make caching it easier
|
||||||
- pip3 install .[tests]
|
- python3 -m pip install .[tests]
|
||||||
# install e-x some commits after 1.16.0 tag
|
# install e-x some commits after 1.16.0 tag
|
||||||
- pip3 install git+https://github.com/spesmilo/electrumx.git@4e66804dc0d668cd6bd4602b547e2f5b2e227e97
|
- python3 -m pip install git+https://github.com/spesmilo/electrumx.git@4e66804dc0d668cd6bd4602b547e2f5b2e227e97
|
||||||
- "BITCOIND_VERSION=$(curl https://bitcoincore.org/en/download/ | grep -E -i --only-matching 'Latest version: [0-9\\.]+' | grep -E --only-matching '[0-9\\.]+')"
|
- "BITCOIND_VERSION=$(curl https://bitcoincore.org/en/download/ | grep -E -i --only-matching 'Latest version: [0-9\\.]+' | grep -E --only-matching '[0-9\\.]+')"
|
||||||
- BITCOIND_FILENAME=bitcoin-$BITCOIND_VERSION-x86_64-linux-gnu.tar.gz
|
- BITCOIND_FILENAME=bitcoin-$BITCOIND_VERSION-x86_64-linux-gnu.tar.gz
|
||||||
- BITCOIND_PATH=/tmp/bitcoind/$BITCOIND_FILENAME
|
- BITCOIND_PATH=/tmp/bitcoind/$BITCOIND_FILENAME
|
||||||
|
|||||||
Reference in New Issue
Block a user