Skip to content

Commit

Permalink
Install pip<24.1 for minimum requirements test
Browse files Browse the repository at this point in the history
  • Loading branch information
greschd committed Jun 25, 2024
1 parent ec5461f commit 2907edd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ allowlist_externals =
poetry
setenv =
PYTHONUNBUFFERED = yes
; uninstalling ansys-dpf-core explicitly is needed because downgrading to 0.8.0
; Uninstalling ansys-dpf-core explicitly is needed because downgrading to 0.8.0
; directly fails, see https://github.com/ansys/pydpf-core/issues/1306
; Also, 'ansys-dpf-core' 0.8.0 needs a pip version lower than 24.1, since its
; dependency on 'ansys-dpf-gate>=0.3.*' is marked as invalid and rejected by pip
; versions 24.1 and above.
commands =
poetry install -E test
poetry run python -m pip uninstall -y ansys-dpf-core
poetry run python -m pip install 'pip<24.1'
poetry run python -m pip install -r .ci/minimum_requirements.txt
poetry run pytest --reruns 1 --license-server={env:LICENSE_SERVER:} {env:PYTEST_MARKERS:} {posargs:-vv}

Expand Down

0 comments on commit 2907edd

Please sign in to comment.