Skip to content

ref(project-metadata): migrate to PEP 621 - #701

Open
hasansezertasan wants to merge 7 commits into
python-escpos:masterfrom
hasansezertasan:migrate/project-metadata
Open

ref(project-metadata): migrate to PEP 621#701
hasansezertasan wants to merge 7 commits into
python-escpos:masterfrom
hasansezertasan:migrate/project-metadata

Conversation

@hasansezertasan

@hasansezertasan hasansezertasan commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

Related to #698

Description

Migrate the project's packaging and metadata configuration to PEP 621, declaring it in pyproject.toml instead of setup.py/setup.cfg.

Changes

  • Add full PEP 621 [project] table to pyproject.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.
  • Remove setup.py — no longer needed with a declarative build backend.
  • Remove the [metadata], [options] and [options.extras_require] sections from setup.cfg; only the [flake8] configuration remains.
  • Remove MANIFEST.in — packaging data is now handled declaratively.
  • Add requirements.test.txt for the test dependency set.
  • Chore tidy .vscode/settings.json (trailing commas / newline).

Notes

  • Metadata updates from master (Python 3.14 classifier, dropped 3.8/3.9, refreshed Pillow/qrcode/python-barcode pins) are carried over into the new pyproject.toml.

@codecov

codecov Bot commented Aug 25, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.07%. Comparing base (6e8029f) to head (b05a63b).

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           
Flag Coverage Δ
unittests 79.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hasansezertasan
hasansezertasan marked this pull request as ready for review July 27, 2026 15:18
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.

2 participants