mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
Strip enum34 dependency.
This commit is contained in:
parent
ef0c0e89aa
commit
50ef97bb23
1 changed files with 7 additions and 2 deletions
|
|
@ -18,8 +18,13 @@ fi
|
|||
# We strip the hashes because the venv creation script includes unhashed
|
||||
# constraints in the commands given to pip and the mix of hashed and unhashed
|
||||
# packages makes pip error out.
|
||||
python3 tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt > unhashed-requirements.txt
|
||||
CERTBOT_PIP_NO_BINARY=:all: tools/venv3.py --requirement unhashed-requirements.txt
|
||||
python3 tools/strip_hashes.py letsencrypt-auto-source/pieces/dependency-requirements.txt > requirements.txt
|
||||
# We also strip out the requirement for enum34 because it cannot be installed
|
||||
# in newer versions of Python 3, tools/strip_hashes.py removes the environment
|
||||
# marker that'd normally prevent it from being installed, and this package is
|
||||
# not needed for any OS tested here.
|
||||
sed -i '/enum34/d' requirements.txt
|
||||
CERTBOT_PIP_NO_BINARY=:all: tools/venv3.py --requirement requirements.txt
|
||||
. "$VENV_PATH/bin/activate"
|
||||
# pytest is needed to run tests on some of our packages so we install a pinned version here.
|
||||
tools/pip_install.py pytest
|
||||
|
|
|
|||
Loading…
Reference in a new issue