Skip to content

Update package metadata to include well-known labels #2078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 14, 2025

Conversation

andoriyaprashant
Copy link
Member

@andoriyaprashant andoriyaprashant commented Feb 13, 2025

Description

This PR updates the pyproject.toml file to include well-known project URLs as per Python Packaging Specifications.

Changes:

  • Replaced urls.Download and urls.Homepage with a structured [project.urls] section.
  • Added well-known labels: Source, Issues, Documentation, Changelog, and Funding.
  • Ensures correct metadata display on PyPI.

Fixes #2071

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

@tim-schilling
Copy link
Member

@andoriyaprashant did you intend to close this?

@andoriyaprashant
Copy link
Member Author

@tim-schilling Sir, I made these changes
image

but after pre-commit.ci's commit, they were reverted, and the changes are not correct. That's why I closed the PR

@matthiask
Copy link
Member

The changes still look correct to me? It doesn't matter if it's Homepage under project.urls or urls.Homepage under project -- the resulting key is still project.urls.Homepage. Or not?

@matthiask
Copy link
Member

Nice! Could you add a short note to docs/changes.rst also?

@andoriyaprashant
Copy link
Member Author

Nice! Could you add a short note to docs/changes.rst also?

Done 👍

Co-authored-by: Tim Schilling <[email protected]>
Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

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

Excellent, thank you for addressing these, I'm looking forward to our improved pypi page!

@tim-schilling tim-schilling merged commit 19bb9aa into django-commons:main Feb 14, 2025
1 check passed
dr-rompecabezas pushed a commit to dr-rompecabezas/django-debug-toolbar that referenced this pull request Mar 5, 2025
…2078)

* Update package metadata to include well-known labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update package meta data for well-known labels
3 participants