8000 `Home-page` metadata is deprecated by PEP 753 · Issue #97 · mosquito/aiofile · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Home-page metadata is deprecated by PEP 753 #97

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.

8000

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

Open
nE0sIghT opened this issue Apr 19, 2025 · 1 comment · May be fixed by #98
Open

Home-page metadata is deprecated by PEP 753 #97

nE0sIghT opened this issue Apr 19, 2025 · 1 comment · May be fixed by #98

Comments

@nE0sIghT
Copy link
Contributor

Hello!

While running apt-mirror2 tests (which is used aiofile as dependency) I getting warning:

../../../../../usr/lib/python3/dist-packages/aiofile/version.py:11
  /usr/lib/python3/dist-packages/aiofile/version.py:11: DeprecationWarning: Implicit None on return values is deprecated and will raise KeyErrors.
    project_home = package_metadata["Home-page"]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

It looks like Home-page metadata was deprecated by PEP 753 [1] and there is also discussion about it in the pypa repository [2].

I think it either should be removed from the version.py or replaced by the Project-URL (which we can filter by Homepage).

[1] https://peps.python.org/pep-0753/
[2] pypa/packaging-problems#606

@mosquito
Copy link
Owner

Feel free to fix it.

nE0sIghT added a commit to nE0sIghT/aiofile that referenced this issue Apr 19, 2025
nE0sIghT added a commit to nE0sIghT/aiofile that referenced this issue Apr 19, 2025
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 a pull request may close this issue.

2 participants
0