chore: CI minversions python version fix attempt

This commit is contained in:
Éloi Rivard 2023-08-13 14:00:00 +02:00
parent c1f3d9983a
commit d91250effa
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
2 changed files with 2 additions and 1 deletions

View file

@ -56,7 +56,7 @@ jobs:
- name: App armor configuration for slapd
run: sudo aa-complain /usr/sbin/slapd
- name: Force minimum dependency versions
run: sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml
run: sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml && sed -i -E 's/python = "==/python = "^/' pyproject.toml
- run: poetry --version
- run: poetry install
- run: poetry run pytest

View file

@ -55,6 +55,7 @@ minversions:
stage: test
script:
- sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml
- sed -i -E 's/python = "==/python = "^/' pyproject.toml
- poetry install
- poetry run pytest