Skip to content

Commit d75d200

Browse files
committed
pyproject.toml: migrate to PEP-621 format
1 parent 3ac78dd commit d75d200

File tree

3 files changed

+36
-19
lines changed

3 files changed

+36
-19
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
- uses: actions/checkout@v3
99
- uses: actions/setup-python@v3
1010
with:
11-
python-version: "3.13.0-beta.2"
11+
python-version: "3.13.2"
1212
architecture: x64
1313
- uses: abatilo/[email protected]
1414
with:
15-
poetry-version: "1.8.3"
15+
poetry-version: "2.1.1"
1616
- run: poetry install
1717
- run: poetry run pytest
1818
- run: poetry build

poetry.lock

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,35 @@
1-
[tool.poetry]
1+
[project]
22
name = "legacy-cgi"
3+
description = "Fork of the standard library cgi and cgitb modules removed in Python 3.13"
4+
license = "PSF-2.0"
35
version = "2.6.2"
4-
description = "Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594"
6+
readme = "README.rst"
57
authors = [
6-
"Michael McLay <[email protected]>",
7-
"Steve Majewski <sdm7g@virginia.edu>",
8-
"Andreas Paepcke <[email protected].edu>",
9-
"Guido van Rossum <[email protected]>",
8+
{name = "Guido van Rossum", email = "[email protected]"},
9+
{name = "Andreas Paepcke", email = "[email protected].edu"},
10+
{name = "Steve Majewski", email = "sdm7g@virginia.edu"},
11+
{name = "Michael McLay", email = "[email protected]"},
1012
]
11-
license = "PSF-2.0"
13+
maintainers = [
14+
{name = "Jack Rosenthal", email = "[email protected]"},
15+
]
16+
requires-python = '>=3.8'
17+
dependencies = []
18+
19+
[project.urls]
20+
repository = "https://github.com/jackrosenthal/legacy-cgi"
21+
22+
[tool.poetry]
1223
packages = [
1324
{ include = "cgi.py" },
1425
{ include = "cgitb.py" },
1526
{ include = "tests", format = "sdist" },
1627
]
17-
readme = "README.rst"
18-
repository = "https://github.com/jackrosenthal/legacy-cgi"
19-
20-
[tool.poetry.dependencies]
21-
python = ">=3.8"
28+
requires-poetry = '>=2.0,<3.0'
2229

23-
[tool.poetry.dev-dependencies]
30+
[tool.poetry.group.dev.dependencies]
2431
pytest = "^7.1.1"
2532

2633
[build-system]
27-
requires = ["poetry-core>=1.0.0"]
34+
requires = ["poetry-core>=2.0.0"]
2835
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)