Skip to content

Commit

Permalink
simplify dependency installation in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-keller committed Aug 23, 2024
1 parent c2304c0 commit fc73720
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Lock and sync dependencies
env:
AIOHTTP_VERSION: ${{ matrix.aiohttp-version }}
- name: Install dependencies
run: |
python -V -V
python -m pip install -U pip codecov pip-tools
time pip-compile requirements-dev.in
time pip-sync requirements-dev.txt
python -m pip install --upgrade pip
echo "aiohttp${{ matrix.aiohttp-version }}" > constraints.txt
python -m pip install -r requirements-dev.in -c contraints.txt
- name: Run pre-commit hooks
if: matrix.python-version == '3.11'
run: |
Expand Down
2 changes: 0 additions & 2 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@ dill~=0.3.3
# this is needed for test_version
tomli; python_version < "3.11"

aiohttp${AIOHTTP_VERSION}

-e .[awscli,boto3]

0 comments on commit fc73720

Please # to comment.