Skip to content

Commit 79e58ce

Browse files
authored
chore: Do not install poetry in install-dev make target (#265)
1 parent 1816772 commit 79e58ce

File tree

7 files changed

+19
-8
lines changed

7 files changed

+19
-8
lines changed

.github/workflows/check_version_availability.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
python-version: "3.9"
2424

2525
- name: Install dependencies
26-
run: make install-dev
26+
run: |
27+
pipx install poetry
28+
make install-dev
2729
2830
- name: Check version availability
2931
run: make check-version-availability

.github/workflows/docs.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ jobs:
5050
with:
5151
python-version: 3.9
5252

53-
- name: Install Python dependencies
54-
run: make install-dev
53+
- name: Install dependencies
54+
run: |
55+
pipx install poetry
56+
make install-dev
5557
5658
- name: Build generated API reference
5759
run: make build-api-reference

.github/workflows/integration_tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
python-version: ${{ matrix.python-version }}
3636

3737
- name: Install dependencies
38-
run: make install-dev
38+
run: |
39+
pipx install poetry
40+
make install-dev
3941
4042
- name: Run integration tests
4143
run: make INTEGRATION_TESTS_CONCURRENCY=8 integration-tests

.github/workflows/lint_and_type_checks.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
python-version: ${{ matrix.python-version }}
2626

2727
- name: Install dependencies
28-
run: make install-dev
28+
run: |
29+
pipx install poetry
30+
make install-dev
2931
3032
- name: Run lint
3133
run: make lint

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
python-version: 3.9
7070

7171
- name: Install dependencies
72-
run: make install-dev
72+
run: |
73+
pipx install poetry
74+
make install-dev
7375
7476
- # Determine if this is a prerelease or latest release
7577
name: Determine release type

.github/workflows/unit_tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727

2828
- name: Install dependencies
29-
run: make install-dev
29+
run: |
30+
pipx install poetry
31+
make install-dev
3032
3133
- name: Run unit tests
3234
run: make unit-tests

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ clean:
99
rm -rf .mypy_cache .pytest_cache .ruff_cache build dist htmlcov .coverage
1010

1111
install-dev:
12-
python3 -m pip install --upgrade pip poetry
1312
poetry install --all-extras
1413
poetry run pre-commit install
1514

0 commit comments

Comments
 (0)