Skip to content

Commit cd5abee

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

File tree

7 files changed

+21
-1535
lines changed

7 files changed

+21
-1535
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -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

docs/requirements.txt

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
mkdocs==1.2.3 ; python_version >= "3.8" and python_version < "4.0"
2-
pygments==2.15.0 ; python_version >= "3.8" and python_version < "4.0"
3-
jinja2==3.0.3 ; python_version >= "3.8" and python_version < "4.0"

poetry.lock

+4-1,519
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ classifiers = [
3636

3737
python = "^3.8"
3838

39-
[tool.poetry.dev-dependencies]
39+
[poetry.group.dev.dependencies]
4040

4141
# Formatters
4242
black = "^24.3"
@@ -73,6 +73,10 @@ MacFSEvents = { version = "*", platform = "darwin" }
7373
pync = { version = "*", platform = "darwin" }
7474
ipython = "^7.16.3"
7575

76+
[tool.poetry.requires-plugins]
77+
78+
poetry-plugin-export = ">=1.8"
79+
7680
[tool.black]
7781

7882
quiet = true

0 commit comments

Comments
 (0)