attempt to fix josepy tests by pinning poetry (#7553)

* attempt to fix josepy tests for new poetry release

* pin to older poetry
This commit is contained in:
Alex Gaynor 2022-08-31 18:14:27 -04:00 committed by GitHub
parent f9cf1cff62
commit edd1e69599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,8 +5,8 @@ case "${1}" in
git clone --depth=1 https://github.com/certbot/josepy
cd josepy
git rev-parse HEAD
curl -sSL https://install.python-poetry.org | python3 -
"${HOME}/.local/bin/poetry" export -f requirements.txt --dev --without-hashes > constraints.txt
curl -sSL https://install.python-poetry.org | python3 - --version=1.1.15
"${HOME}/.local/bin/poetry" export -f requirements.txt --dev --without-hashes -o constraints.txt
pip install -e . pytest -c constraints.txt
;;
run)