Skip to content

Commit 109c413

Browse files
authored
fix #805: Upgrade pyproject config file to Poetry v2 (#819)
* fix #805: Upgrade pyproject config file to Poetry v2 * Add maintainers section with updated latest contributors * Upgrade to the latest poetry version * update Integ test workflow to use Poetry v2.1.1 * Update pyproject.toml
1 parent 6979324 commit 109c413

File tree

6 files changed

+53
-41
lines changed

6 files changed

+53
-41
lines changed

.github/workflows/integration_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Integration test
22

33
env:
4-
POETRY_VERSION: 1.8.3
4+
POETRY_VERSION: 2.1.1
55
RIPPLED_DOCKER_IMAGE: rippleci/rippled:develop
66

77
on:

.github/workflows/publish_to_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Build distribution 📦
1010
runs-on: ubuntu-latest
1111
env:
12-
POETRY_VERSION: 1.8.3
12+
POETRY_VERSION: 2.1.1
1313

1414
steps:
1515
- uses: actions/checkout@v4

.github/workflows/snippet_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
POETRY_VERSION: 1.8.3
10+
POETRY_VERSION: 2.1.1
1111

1212
jobs:
1313
snippet-test:

.github/workflows/unit_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
POETRY_VERSION: 1.8.3
10+
POETRY_VERSION: 2.1.1
1111

1212
jobs:
1313
lint-and-type-check:

poetry.lock

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

pyproject.toml

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,40 @@
1-
[tool.poetry]
1+
[project]
22
name = "xrpl-py"
33
version = "4.1.0"
44
description = "A complete Python library for interacting with the XRP ledger"
5+
license = "ISC"
56
readme = "README.md"
6-
repository = "https://github.com/XRPLF/xrpl-py"
77
authors = [
8-
"Mayukha Vadari <[email protected]>",
9-
"Greg Weisbrod <[email protected]>",
10-
"Amie Corso <[email protected]>",
11-
"Ted Kalaw <[email protected]>",
12-
"Florent Uzio <[email protected]>",
13-
"Mayur Bhandary <[email protected]>",
14-
"Nathan Nichols <[email protected]>",
15-
"Caleb Kniffen <[email protected]>",
16-
"Omar Khan <[email protected]>",
17-
"Justin Reynolds <[email protected]>",
8+
{ name = "Mayukha Vadari", email = "[email protected]" },
9+
{ name = "Greg Weisbrod", email = "[email protected]" },
10+
{ name = "Amie Corso", email = "[email protected]" },
11+
{ name = "Ted Kalaw", email = "[email protected]" },
12+
{ name = "Florent Uzio", email = "[email protected]" },
13+
{ name = "Mayur Bhandary", email = "[email protected]" },
14+
{ name = "Nathan Nichols", email = "[email protected]" },
15+
{ name = "Caleb Kniffen", email = "[email protected]" },
16+
{ name = "Omar Khan", email = "[email protected]" },
17+
{ name = "Justin Reynolds", email = "[email protected]" },
18+
]
19+
maintainers = [
20+
{ name = "Ashray Chowdhry", email = "[email protected]" },
21+
{ name = "Chenna Keshava B S", email = "[email protected]" },
22+
{ name = "Justin Reynolds", email = "[email protected]" },
23+
{ name = "Mayukha Vadari", email = "[email protected]" },
24+
{ name = "Omar Khan", email = "[email protected]" },
25+
{ name = "Phu Pham", email = "[email protected]" },
1826
]
1927
keywords = ["xrp", "xrpl", "cryptocurrency"]
20-
license = "ISC"
28+
requires-python = ">=3.8.1"
29+
dynamic = [ "dependencies" ]
30+
31+
[project.urls]
32+
repository = "https://github.com/XRPLF/xrpl-py"
2133
documentation = "https://xrpl-py.readthedocs.io"
22-
include = ["LICENSE"]
23-
packages = [{ include = "xrpl" }]
34+
"Bug Tracker" = "https://github.com/XRPLF/xrpl-py/issues"
35+
36+
[tool.poetry]
37+
packages = [{ include = "xrpl" }, { include = "LICENSE" }]
2438

2539
[tool.poetry.dependencies]
2640
python = ">=3.8.1,<4.0"
@@ -33,7 +47,7 @@ Deprecated = "^1.2.13"
3347
types-Deprecated = "^1.2.9"
3448
pycryptodome = "^3.16.0"
3549

36-
[tool.poetry.dev-dependencies]
50+
[tool.poetry.group.dev.dependencies]
3751
flake8 = "^7.1.2"
3852
black = "24.8.0"
3953
flake8-black = "^0.3.6"
@@ -52,8 +66,6 @@ aiounittest = "^1.4.3"
5266
coverage = "^7.2.7"
5367
Sphinx = "^7.1.2"
5468
poethepoet = "^0.30.0"
55-
56-
[tool.poetry.group.dev.dependencies]
5769
packaging = "^24.1"
5870

5971
[tool.isort]

0 commit comments

Comments
 (0)