Skip to content

Commit 0e3f595

Browse files
authored
chore: Do not install poetry in install-dev make target (#500)
1 parent 6a3e0e7 commit 0e3f595

File tree

8 files changed

+25
-10
lines changed

8 files changed

+25
-10
lines changed

.github/workflows/_check_changelog_entry.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
python-version: "3.9"
2323

2424
- name: Install dependencies
25-
run: make install-dev
25+
run: |
26+
pipx install poetry
27+
make install-dev
28+
2629
2730
- name: Check changelog entry
2831
run: make check-changelog-entry

.github/workflows/_check_docs_build.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ jobs:
2727
with:
2828
python-version: 3.12
2929

30-
- name: Install Python dependencies
31-
run: make install-dev
30+
- name: Install dependencies
31+
run: |
32+
pipx install poetry
33+
make install-dev
34+
3235
3336
- name: Build generated API reference
3437
run: make build-api-reference

.github/workflows/_linting.yaml

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

2626
- name: Install dependencies
27-
run: make install-dev
27+
run: |
28+
pipx install poetry
29+
make install-dev
2830
2931
- name: Run linting
3032
run: make lint

.github/workflows/_publish_to_pypi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
run: pipx install poetry
3232

3333
- name: Install dependencies
34-
run: make install-dev
34+
run: |
35+
pipx install poetry
36+
make install-dev
3537
3638
# Updates the version number in the project's configuration.
3739
- name: Set version in pyproject.toml

.github/workflows/_type_checking.yaml

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

2626
- name: Install dependencies
27-
run: make install-dev
27+
run: |
28+
pipx install poetry
29+
make install-dev
2830
2931
- name: Run type checking
3032
run: make type-check

.github/workflows/_unit_tests.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 unit tests
3133
run: make unit-tests

.github/workflows/docs.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ jobs:
3434
with:
3535
python-version: 3.12
3636

37-
- name: Install Python dependencies
38-
run: make install-dev
37+
- name: Install dependencies
38+
run: |
39+
pipx install poetry
40+
make install-dev
3941
4042
- name: Build generated API reference
4143
run: make build-api-reference

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
poetry run playwright install

0 commit comments

Comments
 (0)