Skip to content

Chore: Move static metadata to pyrpoejct.toml - #505

Open
dpgraham4401 wants to merge 13 commits into
celery:mainfrom
dpgraham4401:incremental_migrate_to_pyproject
Open

Chore: Move static metadata to pyrpoejct.toml#505
dpgraham4401 wants to merge 13 commits into
celery:mainfrom
dpgraham4401:incremental_migrate_to_pyproject

Conversation

@dpgraham4401

@dpgraham4401 dpgraham4401 commented Apr 4, 2026

Copy link
Copy Markdown

Changes

This PR is a part of an incremental migration from setup.py to pyproject.toml, currently this PR adds all static metadata fields to but keeps the project dependencies as dynamic fields in pyproject.toml and use the current set up with setup.py and the existing requirements text files.

  • Move static project metadata fields from setup.py/__init__.py to pyproject.toml
  • migrate from unmaintained bumpmyversion to fork bump-my-version
  • update the Makefile
    • make test runs pytest directly
    • make build is a PHONY target and uses the PYPA's build package to pull date from both setup.py and pyproject.toml

@dpgraham4401
dpgraham4401 marked this pull request as ready for review April 5, 2026 03:00
Comment thread .bumpversion.cfg
@@ -1,17 +0,0 @@
[bumpversion]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong. please revert this. also it would be best to abandon this pr. there are many open bug reports, you can work on those.

@dpgraham4401 dpgraham4401 Apr 5, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also it would be best to abandon this pr.

Got it. I'll abandon this PR since, based on this, I don't expect this PR will get merged.

this is wrong. please revert this.

I've reverted it. But bumpversion hasn't been maintained for so long that it's successor project bump2version is also no longer maintained. This PR would have moved the project to the grandchild successor project bump-my-version which can be configured in toml format and doesn't need this file.

@dpgraham4401 dpgraham4401 reopened this Apr 5, 2026
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