Skip to content

Conversation

aSeriousDeveloper
Copy link
Contributor

Currently, installing via pip shows the following error every time on startup:

image

Going from this snippet of code, it appears to be due to the "Home-Page" value missing from the PyPi metadata.

if tmp_result:
result = ProjectInformation(
version=tmp_result["tool"]["poetry"]["version"], repository_url=tmp_result["tool"]["poetry"]["repository"]
)
else:
try:
meta_info = importlib.metadata.metadata(name_package())
result = ProjectInformation(version=meta_info["Version"], repository_url=meta_info["Home-page"])
except:
result = ProjectInformation(version="0.0.0", repository_url="https://anerroroccur.ed/sorry/for/that")

This PR attempts to include it by adding the home_page value to the mkdocs file. I'll mention, I've not had too much experienc ein Python, but from rooting around in the project this should include the Homepage value within the package metadata.

After manually adding the Home Page value to the METADATA of the installed pip script, the update check no longer displays every startup, and manually checking for updates seems to work.

Metadata-Version: 2.3
Name: tidal-dl-ng
Version: 0.24.6
Summary: TIDAL Medial Downloader Next Generation!
Home-Page: https://github.com/exislow/tidal-dl-ng
// extra stuff

When checking for upates:

image

@exislow exislow merged commit c3949da into exislow:master Feb 28, 2025
@exislow
Copy link
Owner

exislow commented Feb 28, 2025

Thank you for your effort.

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