Repository navigation
chore: drop setup.cfg and configure metadata in pyproject.toml only - #1616
Open
WilliamBergamin wants to merge 1 commit into
Open
WilliamBergamin wants to merge 1 commit into
WilliamBergamin wants to merge 1 commit into
Conversation
setup.cfg only kept Home-page, Author, and Author-email intact for pip show (#999). Listing the author as separate name and email entries reproduces Author and Author-email exactly, and a Homepage project URL fills Home-page on pip 24.1 and later. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
WilliamBergamin
marked this pull request as ready for review
November 5, 2026 21:33
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1616 +/- ##
=======================================
Coverage 91.57% 91.57%
=======================================
Files 228 228
Lines 7285 7285
=======================================
Hits 6671 6671
Misses 614 614 ☔ View full report in Codecov by Harness. |
Draft
3 of 15 tasks
This branch has not been deployed
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.
Summary
This pull request removes the legacy
setup.cfgso package metadata lives only inpyproject.toml.setup.cfgwas added in Maintain metadata #999 to keepHome-page,Author, andAuthor-emailinpip showafter Configuring with pyproject.toml #996.authorsis now two entries, one name-only and one email-only. PEP 621 maps those toAuthorandAuthor-emailexactly as before. A single entry with both would renderAuthor-email: "Slack Technologies, LLC" <opensource@slack.com>with an emptyAuthor.Homepageis added to[project.urls]. Core metadata has nopyproject.tomlfield forHome-page, and pip 24.1+ fillsHome-pageinpip showfrom this URL.METADATAdiff againstmain: onlyHome-page:removed andProject-URL: Homepageadded.Home-page:.Home-pageis deprecated core metadata, and PyPI's sidebar already usesProject-URL.pip show slack-bolton pip 25.3, before and after:Testing
./scripts/build_pypi_package.shpip install dist/*.whl && pip show slack-bolt, and confirm the output above.unzip -p dist/*.whl '*.dist-info/METADATA'with a build frommain.Category
slack_bolt.Appand/or its core componentsslack_bolt.async_app.AsyncAppand/or its core componentsslack_bolt.adapter/docsRequirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
./scripts/install_all_and_run_tests.shafter making the changes.🤖 Generated with Claude Code