Skip to content

Commit

Permalink
DevOps: Remove --use-feature flag in pip install of CI (aiidateam…
Browse files Browse the repository at this point in the history
…#5703)

The `tests` job of the CI workflow used the `--use-feature=2020-resolver`
flag in the `pip install` call to force using a specific package
dependency resolver. We adopted this way back when `pip` introduced this
new dependency resolver to be early-adopters to detect problems as soon
as possible. In latest versions of `pip` this option is no longer
available since the resolver is now the default, so we simply remove the
flag.
  • Loading branch information
sphuber authored Oct 18, 2022
1 parent 093abf4 commit 59aaa5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ jobs:
- name: Install aiida-core
run: |
pip install --use-feature=2020-resolver -r requirements/requirements-py-${{ matrix.python-version }}.txt
pip install --use-feature=2020-resolver --no-deps -e .
pip install -r requirements/requirements-py-${{ matrix.python-version }}.txt
pip install --no-deps -e .
pip freeze
- name: Setup environment
Expand Down

0 comments on commit 59aaa5c

Please sign in to comment.