Skip to content

Commit 1592168

Browse files
committed
upgrade to new pyproject.toml format
1 parent 771788c commit 1592168

4 files changed

Lines changed: 62 additions & 27 deletions

File tree

‎.github/workflows/release_pypi.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
17+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
1818
steps:
1919
# checkout the repo
2020
- uses: actions/checkout@v6

‎.python-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8
1+
3.10

‎poetry.lock‎

Lines changed: 39 additions & 13 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 & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
1-
[tool.poetry]
1+
[project]
22
name = "simple-classproperty"
3-
version = "0.0.0"
3+
dynamic = [ "version" ]
44
description = "Provides a 'classproperty' decorator."
55
readme = "README.md"
66
license = "GPL-3.0-only"
7-
authors = ["Marc Ammon <marc.ammon@hotmail.de>"]
8-
homepage = "https://github.com/mammo0/py-simple-classproperty"
7+
authors = [
8+
{ name = "Marc Ammon", email = "marc.ammon@hotmail.de" }
9+
]
910
classifiers = [
1011
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
1112
"Operating System :: OS Independent"
1213
]
14+
requires-python = ">=3.10"
15+
16+
[project.urls]
17+
homepage = "https://github.com/mammo0/py-simple-classproperty"
18+
19+
20+
[tool.pylint.MASTER]
21+
init-hook="import astroid.bases; astroid.bases.POSSIBLE_PROPERTIES.add('classproperty')"
1322

14-
[tool.poetry.dependencies]
15-
python = ">=3.8"
23+
24+
[tool.poetry]
25+
version = "0.0.0"
1626

1727
[tool.poetry.group.dev.dependencies]
18-
pytest = ">=7.1.3,<9.0.0"
28+
pytest = ">=9.0.0"
29+
30+
[tool.poetry.requires-plugins]
31+
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
1932

2033
[tool.poetry-dynamic-versioning]
2134
enable = true
@@ -24,10 +37,6 @@ style = "semver"
2437
metadata = false
2538

2639

27-
[tool.pylint.MASTER]
28-
init-hook="import astroid.bases; astroid.bases.POSSIBLE_PROPERTIES.add('classproperty')"
29-
30-
3140
[build-system]
32-
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
41+
requires = ["poetry-core>=2.0.0,<3.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
3342
build-backend = "poetry_dynamic_versioning.backend"

0 commit comments

Comments
 (0)