fix(poetry)

This commit is contained in:
Jacob Heider 2023-05-19 15:22:36 -04:00 committed by Jacob Heider
parent f1bd915135
commit be1ae6b3ac

View file

@ -20,15 +20,18 @@ build:
python-venv.sh {{prefix}}/bin/poetry
test:
script: |
poetry new teaxyz
cd teaxyz
poetry config virtualenvs.in-project true
poetry add requests
poetry add boto3
script:
- poetry new teaxyz
- cd teaxyz
- poetry config virtualenvs.in-project true
test -f pyproject.toml
test -f poetry.lock
# 2.30.0 uses urllib2 which conflicts with boto3, at this time.
- poetry add requests==2.29.0
- poetry add boto3
- test -f pyproject.toml
- test -f poetry.lock
env:
LC_ALL: en_US.UTF-8
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring