Skip to content

pypi: Fix confusion between falsy and UPSTREAM_HOMEPAGE#1545

Merged
AMDmi3 merged 1 commit intorepology:masterfrom
TobiX:fix-homepage-pypi
Nov 5, 2025
Merged

pypi: Fix confusion between falsy and UPSTREAM_HOMEPAGE#1545
AMDmi3 merged 1 commit intorepology:masterfrom
TobiX:fix-homepage-pypi

Conversation

@TobiX
Copy link
Copy Markdown
Contributor

@TobiX TobiX commented Nov 4, 2025

This dropped all URLs of type "UPSTREAM_HOMEPAGE" before.

This fixes homepage links for projects which got rid of the legacy URL fields and only use modern metadata (see https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#urls).

@TobiX TobiX changed the title pypi: Fix confusion between falsey and UPSTREAM_HOMEPAGE pypi: Fix confusion between falsy and UPSTREAM_HOMEPAGE Nov 4, 2025
Comment thread repology/parsers/parsers/pypi.py Outdated
This dropped all URLs of type "UPSTREAM_HOMEPAGE" before.
@AMDmi3 AMDmi3 merged commit cea94ff into repology:master Nov 5, 2025
1 check passed
@AMDmi3
Copy link
Copy Markdown
Member

AMDmi3 commented Nov 5, 2025

Nice catch, thank you!

@TobiX TobiX deleted the fix-homepage-pypi branch November 8, 2025 23:56
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