Skip to content

Home-page metadata is deprecated by PEP 753 #97

@nE0sIghT

Description

@nE0sIghT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions