Skip to content

Commit 1858a10

Browse files
authored
Add pipx (#1095)
1 parent 7605632 commit 1858a10

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

docker/build_scripts/finalize.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ pip install -U --require-hashes -r $MY_DIR/requirements-tools.txt
4545
# Make auditwheel available in PATH
4646
ln -s $TOOLS_PATH/bin/auditwheel /usr/local/bin/auditwheel
4747

48+
# Make pipx available in PATH
49+
ln -s $TOOLS_PATH/bin/pipx /usr/local/bin/pipx
50+
4851
# Our openssl doesn't know how to find the system CA trust store
4952
# (https://github.com/pypa/manylinux/issues/53)
5053
# And it's not clear how up-to-date that is anyway
@@ -66,4 +69,3 @@ hardlink -cv /opt/_internal
6669

6770
# update system packages
6871
LC_ALL=C ${MY_DIR}/update-system-packages.sh
69-

docker/build_scripts/requirements-tools.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,29 @@ certifi==2020.12.5 \
66
auditwheel==4.0.0 \
77
--hash=sha256:96927695ddf27b4edb67291e326908d64ffe272b8a42b9504f283e7ae5ebbc14 \
88
--hash=sha256:03a079fe273f42336acdb5953ff5ce7578f93ca6a832b16c835fe337a1e2bd4a
9+
pipx==0.16.2.1 \
10+
--hash=sha256:0ac30d7c1bbcd565130caa8faa08a486aed292882b12b047b80cd8abacaaa843 \
11+
--hash=sha256:805319eab100c0c36e349b76103bbe903445229a60ebb0010d7cf7590ff5ba20
912
# this package is required for auditwheel
1013
pyelftools==0.27 \
1114
--hash=sha256:5609aa6da1123fccfae2e8431a67b4146aa7fad5b3889f808df12b110f230937 \
1215
--hash=sha256:cde854e662774c5457d688ca41615f6594187ba7067af101232df889a6b7a66b
16+
# those packages are required for pipx
17+
argcomplete==1.12.3 \
18+
--hash=sha256:291f0beca7fd49ce285d2f10e4c1c77e9460cf823eef2de54df0c0fec88b0d81 \
19+
--hash=sha256:2c7dbffd8c045ea534921e63b0be6fe65e88599990d8dc408ac8c542b72a5445
20+
click==8.0.0 \
21+
--hash=sha256:7d8c289ee437bcb0316820ccee14aefcb056e58d31830ecab8e47eda6540e136 \
22+
--hash=sha256:e90e62ced43dc8105fb9a26d62f0d9340b5c8db053a814e25d95c19873ae87db
23+
colorama==0.4.4 \
24+
--hash=sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b \
25+
--hash=sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2
26+
packaging==20.9 \
27+
--hash=sha256:5b327ac1320dc863dca72f4514ecc086f31186744b84a230374cc1fd776feae5 \
28+
--hash=sha256:67714da7f7bc052e064859c05c595155bd1ee9f69f76557e21f051443c20947a
29+
pyparsing==2.4.7 \
30+
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
31+
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
32+
userpath==1.5.0 \
33+
--hash=sha256:61f84899b7280800a8b6cc1b959a0cf250f6757e6f6c7176d7455bb693a4423a \
34+
--hash=sha256:c6a5b42e454f5e88d54af035fe3756de33a5318ad65a4191bb64e6b7cac03bcc

tests/run_tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ git --version
4646
cmake --version
4747
swig -version
4848
sqlite3 --version
49+
pipx run nox --version
4950

5051
# check libcrypt.so.1 can be loaded by some system packages,
5152
# as LD_LIBRARY_PATH might not be enough.

0 commit comments

Comments
 (0)