Skip to content

Commit

Permalink
Use a constraints file when installing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquegemignani committed Dec 17, 2023
1 parent 68d8c53 commit 67d9e5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
path: dist/

- name: Install built wheel
run: python -m pip install "$(ls dist/*.whl)[test]"
run: python -m pip install "$(ls dist/*.whl)[test]" -c requirements.txt
shell: bash

- name: test
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
run: venv/bin/python -m pip install --upgrade pip pytest-xdist

- name: install built wheel
run: venv/bin/python -m pip install -e ".[test]"
run: venv/bin/python -m pip install -e ".[test]" -c requirements.txt

- name: Run Tests
run:
Expand Down
13 changes: 8 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
construct==2.10.67
packaging==21.2
pyparsing==2.4.7
setuptools-scm==6.3.2
tomli==1.2.2
construct==2.10.68
coverage==7.3.3
iniconfig==2.0.0
packaging==23.2
pluggy==1.3.0
pytest==7.4.3
pytest-cov==4.1.0
zstd==1.5.5.1

0 comments on commit 67d9e5a

Please sign in to comment.