From 67d9e5a15058b47e998ad654faff00e624d81178 Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Sun, 17 Dec 2023 16:03:09 +0200 Subject: [PATCH] Use a constraints file when installing deps --- .github/workflows/python.yml | 4 ++-- requirements.txt | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index fdd9d3ec..baf7d102 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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 @@ -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: diff --git a/requirements.txt b/requirements.txt index f55c7f3e..5709be44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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