diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 581012d1..fa2973ea 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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: | diff --git a/requirements-dev.in b/requirements-dev.in index 6817775c..e7657bfa 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -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]