Repository navigation
fix(pypi): find the repository in the README when project_urls has none - #1
Merged
Merged
Conversation
Selenium lists only www.selenium.dev in its metadata; its GitHub repository appears only in the package description. A repository named after the package is taken from there when no project link points at GitHub. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 19, 2026
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
When a PyPI package lists no GitHub link in its metadata, the repository is now taken from the package description (README), provided the repository is named after the package.
Why
seleniumlists onlyhttps://www.selenium.devinproject_urlsandhome_page. Its repository,github.com/SeleniumHQ/Selenium, appears only in the README. The package page therefore showed the website instead of the repository, and release notes were never looked up on GitHub.Changes
PyPIService: readsinfo.descriptionand, when no project link points at GitHub, takes the first GitHub link in it whose repository name matches the package name.-,_and.are equivalent).mozilla/geckodriver, which must not be picked.Notes for reviewers
Cached packages pick up the repository URL on their next metadata refresh. No migration.
Checklist
developand is about one thingfeat(scope): ...,fix(scope): ...)src/frontend/src/app/core/models