Skip to content

Commit

Permalink
pypi: don't use it just as a fallback for new versions
Browse files Browse the repository at this point in the history
In case Arch and pypi both had the package we would prefer Arch.
While that helps in case Arch tries to keep older versions to keep
everything compatible, there are cases where things are outdated
in Arch and updates happend despite being in conflict,
so in reality we need to check ourselves anyway.
  • Loading branch information
lazka committed Dec 26, 2024
1 parent 2b9af94 commit b6a05b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/fetch/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ async def update_pypi_versions(pkgextra: PkgExtra) -> None:
pypi_versions[pypi_name] = ExtInfo(
pypi_name, info["version"], oldest_timestamp, info["project_url"], {})

state.set_ext_infos(ExtId("pypi", "PyPI", True), pypi_versions)
state.set_ext_infos(ExtId("pypi", "PyPI", False), pypi_versions)

0 comments on commit b6a05b9

Please sign in to comment.