Skip to content

Commit 26dd4a2

Browse files
committed
Upgrade Poetry to 2.0.1
1 parent 79c7e9d commit 26dd4a2

File tree

6 files changed

+113
-18
lines changed

6 files changed

+113
-18
lines changed

.github/workflows/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ['3.8', '3.9', '3.10', '3.11']
11+
python-version: ['3.9', '3.10', '3.11']
1212

1313
steps:
1414
- uses: actions/checkout@v2
@@ -38,8 +38,8 @@ jobs:
3838
run: make test
3939

4040
- name: Upload coverage
41-
uses: codecov/codecov-action@v4
42-
if: steps.fork-check.outputs.is-fork == 'false'
43-
with:
44-
token: ${{ secrets.CODECOV_TOKEN }}
45-
fail_ci_if_error: true
41+
uses: codecov/codecov-action@v4
42+
if: steps.fork-check.outputs.is-fork == 'false'
43+
with:
44+
token: ${{ secrets.CODECOV_TOKEN }}
45+
fail_ci_if_error: true

.tool-versions

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python 3.11.9
2-
poetry 1.8.3
1+
python 3.11.11
2+
poetry 2.0.1

.verchew.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version = 3
1111
[Poetry]
1212

1313
cli = poetry
14-
version = 1
14+
version = 2
1515

1616
[Graphviz]
1717

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $(DEPENDENCIES): poetry.lock
4040

4141
ifndef CI
4242
poetry.lock: pyproject.toml
43-
poetry lock --no-update
43+
poetry lock
4444
@ touch $@
4545
endif
4646

@@ -134,9 +134,9 @@ $(MKDOCS_INDEX): docs/requirements.txt mkdocs.yml docs/*.md
134134
poetry run mkdocs build --clean --strict
135135

136136
docs/requirements.txt: poetry.lock
137-
@ poetry export --with dev --without-hashes | grep mkdocs > $@
138-
@ poetry export --with dev --without-hashes | grep pygments >> $@
139-
@ poetry export --with dev --without-hashes | grep jinja2 >> $@
137+
@ poetry export --all-groups --without-hashes | grep mkdocs > $@
138+
@ poetry export --all-groups --without-hashes | grep pygments >> $@
139+
@ poetry export --all-groups --without-hashes | grep jinja2 >> $@
140140

141141
.PHONY: uml
142142
uml: install docs/*.png

0 commit comments

Comments
 (0)