ref(project-metadata): migrate to PEP 621 - #701
Open
hasansezertasan wants to merge 7 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #701 +/- ##
=======================================
Coverage 79.07% 79.07%
=======================================
Files 21 21
Lines 1754 1754
Branches 243 243
=======================================
Hits 1387 1387
Misses 286 286
Partials 81 81
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
…ct.toml for PEP 621 compliance
…adata # Conflicts: # setup.cfg
hasansezertasan
marked this pull request as ready for review
July 27, 2026 15:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #698
Description
Migrate the project's packaging and metadata configuration to PEP 621, declaring it in
pyproject.tomlinstead ofsetup.py/setup.cfg.Changes
[project]table topyproject.toml(name, description, readme, license, authors/maintainers, keywords, classifiers,requires-python, dependencies, optional-dependencies, scripts and URLs), plus[build-system]and[tool.setuptools_scm]configuration.setup.py— no longer needed with a declarative build backend.[metadata],[options]and[options.extras_require]sections fromsetup.cfg; only the[flake8]configuration remains.MANIFEST.in— packaging data is now handled declaratively.requirements.test.txtfor the test dependency set..vscode/settings.json(trailing commas / newline).Notes
master(Python 3.14 classifier, dropped 3.8/3.9, refreshedPillow/qrcode/python-barcodepins) are carried over into the newpyproject.toml.