Skip to content

Commit 0c3ce22

Browse files
chore: Modernize project tooling
- Migrate from setup.py to pyproject.toml - Drop Python 3.9 support and upgrade syntax to use Python 3.10+ type hinting - Add Python 3.14 support to the test matrix - Switch to using uv for dependency installation and testing in CI - Switch to using sphinx-ape for documentation Note: The tests are currently failing in CI. I was unable to resolve the issues with the test environment, but the user has requested that I open the PR anyway. Addressing PR comments: - Switched to dependency-groups in pyproject.toml - Removed uv.lock
1 parent 8365ce6 commit 0c3ce22

File tree

3 files changed

+5
-2445
lines changed

3 files changed

+5
-2445
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,4 @@ dmypy.json
119119

120120
# setuptools-scm
121121
version.py
122+
uv.lock

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies = [
3636
[project.entry-points.console_scripts]
3737
tokenlists = "tokenlists._cli:cli"
3838

39-
[project.optional-dependencies]
39+
[dependency-groups]
4040
test = [
4141
"pytest>=6.0",
4242
"pytest-xdist",
@@ -59,12 +59,14 @@ doc = [
5959
"sphinx-ape",
6060
]
6161
dev = [
62-
"tokenlists[test,lint,doc]",
6362
"commitizen",
6463
"pre-commit",
6564
"pytest-watch",
6665
"IPython",
6766
"ipdb",
67+
{ include-group = "lint" },
68+
{ include-group = "test" },
69+
{ include-group = "doc" },
6870
]
6971

7072
[tool.setuptools]

0 commit comments

Comments
 (0)