Skip to content

Conversation

TimPansino
Copy link
Contributor

@TimPansino TimPansino commented Sep 3, 2025

Overview

Updates library packaging to more modern methods.

  • Move most packaging config to pyproject.toml instead of setup.py.
  • Retain enough config in setup.py to build without setuptools if necessary.
  • Build system now requires setuptools>=61.2 and setuptools_scm>=6.4.
  • Reconfigure setuptools-scm to use more modern _version.py file instead of a version.txt file.
    • Also provides new __version__ and __version_tuple__ attributes on __init__.py.
  • Drop old setup.cfg file completely.

@TimPansino TimPansino requested a review from a team as a code owner September 3, 2025 18:56
Copy link

github-actions bot commented Sep 3, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 6 0 0 0.78s
✅ MARKDOWN markdownlint 7 0 0 0 1.24s
✅ MARKDOWN markdown-link-check 7 0 0 21.16s
✅ PYTHON ruff 929 0 0 0 0.91s
✅ PYTHON ruff-format 929 0 0 0 0.34s
✅ YAML prettier 13 0 0 0 1.33s
✅ YAML v8r 13 0 0 4.7s
✅ YAML yamllint 13 0 0 0.62s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@mergify mergify bot added the tests-failing Tests failing in CI. label Sep 3, 2025
@TimPansino TimPansino changed the title Updated Packaging Updated Packaging [DO NOT MERGE] Sep 3, 2025
@TimPansino TimPansino force-pushed the feat-updated-packaging branch 2 times, most recently from aae0ae4 to f514e3e Compare September 3, 2025 23:56
@TimPansino TimPansino force-pushed the feat-updated-packaging branch from f514e3e to 63eb096 Compare September 3, 2025 23:57
@TimPansino TimPansino force-pushed the feat-updated-packaging branch from 63eb096 to 238b8ac Compare September 3, 2025 23:59
@TimPansino TimPansino changed the title Updated Packaging [DO NOT MERGE] Updated Packaging Sep 3, 2025
@mergify mergify bot removed the tests-failing Tests failing in CI. label Sep 4, 2025
@mergify mergify bot added the tests-failing Tests failing in CI. label Sep 4, 2025
@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop-11.0.0@fea8317). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             develop-11.0.0    #1480   +/-   ##
=================================================
  Coverage                  ?   81.64%           
=================================================
  Files                     ?      204           
  Lines                     ?    23482           
  Branches                  ?     3717           
=================================================
  Hits                      ?    19173           
  Misses                    ?     3066           
  Partials                  ?     1243           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@mergify mergify bot removed the tests-failing Tests failing in CI. label Sep 4, 2025
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