Skip to content

build: migrate project metadata to PEP 621 [project] - #6

Merged
stringertheory merged 1 commit into
mainfrom
pep621-migration
Aug 21, 2026
Merged

build: migrate project metadata to PEP 621 [project]#6
stringertheory merged 1 commit into
mainfrom
pep621-migration

Conversation

@stringertheory

Copy link
Copy Markdown
Owner

Migrates pyproject.toml from Poetry's legacy [tool.poetry] metadata to the standard PEP 621 [project] table, clearing the poetry deprecation warnings printed on every command.

  • name / version / description / authors / readme / requires-python and the runtime dependencies move to [project] (URLs to [project.urls]).
  • [tool.poetry] keeps only packages and the dev/docs dependency groups.
  • Build backend bumped to poetry-core>=2.0 (required for PEP 621).

Verified locally: poetry checkAll set! (no warnings), make check, make test (60), wheel-smoke, and bump-my-version dry-run all pass. Built wheel METADATA (Name, Version 0.2.0, Requires-Python >=3.10,<4.0, Requires-Dist httpx/w3lib, Project-URLs) is unchanged.

Move name / version / description / authors / readme / requires-python and
the runtime dependencies from [tool.poetry] to the standard [project] table
(URLs to [project.urls]); keep [tool.poetry] only for packages and the
dev/docs dependency groups. Bump the build backend to poetry-core>=2.0,
which is required for PEP 621 support.

Clears the `poetry` deprecation warnings on every command. Built wheel
metadata (name, version, requires-python, dependencies, project URLs) is
unchanged from 0.2.0.
@stringertheory
stringertheory merged commit 33dcf0a into main Aug 21, 2026
8 checks passed
@stringertheory
stringertheory deleted the pep621-migration branch August 21, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant