Skip to content

Commit 89a5973

Browse files
committed
refactor(pyproject): migrate to PEP 621 project metadata
Switch from [tool.poetry] to [project] table for metadata and dependencies in pyproject.toml, aligning with PEP 621 standards. Updated authors, keywords, URLs, and dependency groups for dev and docs. Adjusted scripts section and removed deprecated poetry-specific fields. Updated poetry.lock content hash accordingly.
1 parent 0e33fc9 commit 89a5973

File tree

2 files changed

+56
-56
lines changed

2 files changed

+56
-56
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
1-
[tool.poetry]
1+
[project]
22
name = "cardano-node-tests"
33
version = "0.1.0"
44
description = "Functional tests for cardano-node"
5-
license = "Apache-2.0"
65
authors = [
7-
"Martin Kourim <[email protected]>",
8-
"Sara Tomaz <[email protected]>",
9-
"Artur Wieczorek <[email protected]>",
10-
"Dorin Solomon <[email protected]>",
6+
{ name = "Martin Kourim", email = "[email protected]" },
7+
{ name = "Sara Tomaz", email = "[email protected]" },
8+
{ name = "Artur Wieczorek", email = "[email protected]" },
119
]
10+
requires-python = ">=3.11,<4.0"
1211
readme = "README.md"
13-
homepage = "https://tests.cardano.intersectmbo.org/"
14-
repository = "https://github.com/IntersectMBO/cardano-node-tests"
15-
documentation = "https://tests.cardano.intersectmbo.org/"
16-
keywords = ["cardano", "cardano-node", "cardano-cli", "cardano-node-tests"]
12+
license = "Apache-2.0"
13+
keywords = [
14+
"cardano",
15+
"cardano-node",
16+
"cardano-cli",
17+
"cardano-node-tests",
18+
]
1719
classifiers = [
1820
"Development Status :: 5 - Production/Stable",
1921
"Framework :: Pytest",
2022
"Intended Audience :: Developers",
2123
"Operating System :: POSIX :: Linux",
2224
"Topic :: Software Development :: Testing",
2325
]
24-
packages = [{include = "cardano_node_tests"}]
25-
26-
[tool.poetry.dependencies]
27-
python = ">=3.11,<4.0"
28-
allure-pytest = "^2.14.3"
29-
cardano-clusterlib = "^0.9.8"
30-
cbor2 = "^5.6.5"
31-
filelock = "^3.18.0"
32-
hypothesis = "^6.135.17"
33-
psycopg2-binary = "^2.9.10"
34-
pydantic = "^2.11.7"
35-
pygithub = "^2.6.1"
36-
pytest = "^8.4.1"
37-
pytest-html = "^4.1.1"
38-
pytest-metadata = "^3.1.1"
39-
pytest-order = "^1.3.0"
40-
pytest-select = "^0.1.2"
41-
pytest-xdist = "^3.7.0"
42-
PyYAML = "^6.0.2"
43-
requests = "^2.32.4"
44-
pytest-subtests = "^0.14.2"
45-
cardonnay = "^0.2.10"
46-
47-
[tool.poetry.group.dev]
48-
optional = true
49-
50-
[tool.poetry.group.dev.dependencies]
51-
pre-commit = "^4.0.1"
52-
types-PyYAML = "^6.0.12.20250516"
53-
types-requests = "^2.32.4.20250611"
54-
mypy = "^1.16.1"
55-
ipython = "^9.3.0"
56-
pyrefly = "^0.22.0"
57-
pyright = "^1.1.404"
58-
59-
[tool.poetry.group.docs]
60-
optional = true
26+
dependencies = [
27+
"PyYAML>=6.0.2,<7",
28+
"allure-pytest>=2.14.3,<3",
29+
"cardano-clusterlib>=0.9.8,<0.10",
30+
"cardonnay>=0.2.10,<0.3",
31+
"cbor2>=5.6.5,<6",
32+
"filelock>=3.18.0,<4",
33+
"hypothesis>=6.135.17,<7",
34+
"psycopg2-binary>=2.9.10,<3",
35+
"pydantic>=2.11.7,<3",
36+
"pygithub>=2.6.1,<3",
37+
"pytest-html>=4.1.1,<5",
38+
"pytest-metadata>=3.1.1,<4",
39+
"pytest-order>=1.3.0,<2",
40+
"pytest-select>=0.1.2,<0.2",
41+
"pytest-subtests>=0.14.2,<0.15",
42+
"pytest-xdist>=3.7.0,<4",
43+
"pytest>=8.4.1,<9",
44+
"requests>=2.32.4,<3",
45+
]
6146

62-
[tool.poetry.group.docs.dependencies]
63-
Sphinx = "^8.2.3"
64-
m2r2 = "^0.3.4"
65-
sphinx-rtd-theme = "^3.0.2"
66-
sphinxemoji = "^0.3.1"
47+
[project.urls]
48+
Homepage = "https://tests.cardano.intersectmbo.org/"
49+
Repository = "https://github.com/IntersectMBO/cardano-node-tests"
50+
Documentation = "https://tests.cardano.intersectmbo.org/"
51+
"Bug Tracker" = "https://github.com/IntersectMBO/cardano-node-tests/issues"
6752

68-
[tool.poetry.scripts]
53+
[project.scripts]
6954
testnet-cleanup = "cardano_node_tests.testnet_cleanup:main"
7055
defragment-utxos = "cardano_node_tests.defragment_utxos:main"
7156
prepare-cluster-scripts = "cardano_node_tests.prepare_cluster_scripts:main"
7257
split-topology = "cardano_node_tests.split_topology:main"
7358
cardano-cli-coverage = "cardano_node_tests.cardano_cli_coverage:main"
7459

75-
[tool.poetry.urls]
76-
"Bug Tracker" = "https://github.com/IntersectMBO/cardano-node-tests/issues"
60+
[dependency-groups]
61+
dev = [
62+
"ipython>=9.3.0,<10",
63+
"mypy>=1.16.1,<2",
64+
"pre-commit>=4.0.1,<5",
65+
"pyrefly>=0.22.0,<0.23",
66+
"pyright>=1.1.404,<2",
67+
"types-PyYAML>=6.0.12.20250516,<7",
68+
"types-requests>=2.32.4.20250611,<3",
69+
]
70+
docs = [
71+
"Sphinx>=8.2.3,<9",
72+
"m2r2>=0.3.4,<0.4",
73+
"sphinx-rtd-theme>=3.0.2,<4",
74+
"sphinxemoji>=0.3.1,<0.4",
75+
]
76+
7777

7878
[build-system]
7979
requires = ["poetry-core"]

0 commit comments

Comments
 (0)