From 70ac32a6924ca6f529206a9a101be4534d80784b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Sat, 21 Jan 2023 12:30:24 +0100 Subject: [PATCH] force usage of poetry>1.3.0 in CI --- .github/workflows/tests.yaml | 6 +++--- .gitlab-ci.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2d2fd4fc..4b5a75d0 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -35,7 +35,7 @@ jobs: with: path: ~/.cache/pip key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }} - - run: pip install tox poetry coveralls pyyaml tomli + - run: pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli - run: tox -e py style: runs-on: ubuntu-latest @@ -56,7 +56,7 @@ jobs: with: path: ~/.cache/pre-commit key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }} - - run: pip install tox poetry coveralls pyyaml tomli + - run: pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli - run: tox -e style doc: runs-on: ubuntu-latest @@ -73,5 +73,5 @@ jobs: with: path: ~/.cache/pip key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }} - - run: pip install tox poetry coveralls pyyaml tomli + - run: pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli - run: tox -e doc diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3fc4e80..f6c7fdb9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ before_script: - env DEBIAN_FRONTEND=noninteractive apt install --yes slapd python3-dev libldap2-dev libsasl2-dev libssl-dev ldap-utils - curl -O https://bootstrap.pypa.io/get-pip.py - python get-pip.py - - pip install tox poetry coveralls pyyaml tomli + - pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli style: image: python:3.11