diff --git a/.github/workflows/check_async_docstrings.yaml b/.github/workflows/check_async_docstrings.yaml index b35d18d6..81a5af47 100644 --- a/.github/workflows/check_async_docstrings.yaml +++ b/.github/workflows/check_async_docstrings.yaml @@ -18,7 +18,9 @@ jobs: python-version: 3.8 - name: Install dependencies - run: make install-dev + run: | + pipx install poetry + make install-dev - name: Check async docstrings run: make check-async-docstrings diff --git a/.github/workflows/check_version_availability.yaml b/.github/workflows/check_version_availability.yaml index 96eec425..5d7d0ac5 100644 --- a/.github/workflows/check_version_availability.yaml +++ b/.github/workflows/check_version_availability.yaml @@ -19,7 +19,9 @@ jobs: python-version: "3.8" - name: Install dependencies - run: make install-dev + run: | + pipx install poetry + make install-dev - name: Check version availability run: make check-version-availability diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a11e2299..d64e0f35 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -50,8 +50,10 @@ jobs: with: python-version: 3.8 - - name: Install Python dependencies - run: make install-dev + - name: Install dependencies + run: | + pipx install poetry + make install-dev - name: Build generated API reference run: make build-api-reference diff --git a/.github/workflows/integration_tests.yaml b/.github/workflows/integration_tests.yaml index eb899f47..de71a105 100644 --- a/.github/workflows/integration_tests.yaml +++ b/.github/workflows/integration_tests.yaml @@ -29,7 +29,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: make install-dev + run: | + pipx install poetry + make install-dev - name: Run integration tests run: make INTEGRATION_TESTS_CONCURRENCY=8 integration-tests diff --git a/.github/workflows/lint_and_type_checks.yaml b/.github/workflows/lint_and_type_checks.yaml index ca410ae4..5e7ad416 100644 --- a/.github/workflows/lint_and_type_checks.yaml +++ b/.github/workflows/lint_and_type_checks.yaml @@ -21,7 +21,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: make install-dev + run: | + pipx install poetry + make install-dev - name: Run lint run: make lint diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 373f239f..995ffb3b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -74,7 +74,9 @@ jobs: python-version: 3.8 - name: Install dependencies - run: make install-dev + run: | + pipx install poetry + make install-dev - # Determine if this is a prerelease or latest release name: Determine release type diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 8bce48d9..00582607 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -22,7 +22,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: make install-dev + run: | + pipx install poetry + make install-dev - name: Run unit tests run: make unit-tests diff --git a/Makefile b/Makefile index 16b351e5..a1172f6a 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,6 @@ clean: rm -rf .mypy_cache .pytest_cache .ruff_cache build dist htmlcov .coverage install-dev: - python3 -m pip install --upgrade pip poetry poetry install --all-extras poetry run pre-commit install