Move project metadata to pyproject.toml by mwtoews · Pull Request #2242 · gitpython-developers/GitPython
Repository navigation
Move project metadata to pyproject.toml - #2242
Merged
Byron merged 1 commit into gitpython-developers:main from mwtoews:pyproject-toml Sep 16, 2026
Merged
Move project metadata to pyproject.toml #2242 Byron merged 1 commit into gitpython-developers:main from mwtoews:pyproject-toml
Conversation
mwtoews commented Sep 16, 2026
Copy link Copy Markdown
Contributor
This PR is a near 1:1 conversion of metadata from setup.py to pyproject.toml, as supported by setuptools . There are a few differences from the legacy forms:
- Multiple authors and emails are listed
- Multiple URLs are listed
- A keyword "git" is added
295b922 to
3d601f5
Compare
September 16, 2026 10:39
Byron commented Sep 16, 2026
Copy link Copy Markdown
Member
|
Thanks a lot, I am definitely interested in mostly getting rid of |
Byron commented Sep 16, 2026
Copy link Copy Markdown
Member
|
Something to consider:
|
mwtoews commented Sep 16, 2026
Copy link Copy Markdown
Contributor
Author
|
The failing test with Python 3.7 is
This was true at the time (for that version of setuptools) but not today, so PYTHONWARNINGS is set to "default" for Python 3.7. The setup.py file might be needed until Python 3.9 is the minimum, as it needs to work-around setuptools deprecation messages described here . The workaround is to set "licence" as dynamic, even though it isn't. |
Move project metadata to pyproject.toml
b7d8f1a
mwtoews
force-pushed
the
pyproject-toml
branch
from
3d601f5 to
b7d8f1a
Compare
September 16, 2026 10:46
mwtoews commented Sep 16, 2026
Copy link Copy Markdown
Contributor
Author
Done. |
7609492
into
gitpython-developers : main
Sep 16, 2026
50 checks passed
mwtoews
deleted the
pyproject-toml
branch
September 16, 2026 17:02
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment