Skip to content

Add requires-python metadata to avoid broken installs #20

@matthewfeickert

Description

@matthewfeickert

Release v0.7 notes that

Python versions prior to 3.10 are not supported anymore.

and mentions this in the README

Python 3.10+ is supported.

However, setup.py is missing requires-python metadata, which means that pip or uv with CPython older than Python 3.10 will still try to install v0.7+ and may fail if they do not have the required build tools on the install machine.

For setuptools the requires-python metadata is expressed through the arg python_requires to setup. So please add

python_requires='>=3.10'

to setup.py and please yank v0.7 from PyPI and do not release v0.7.1 to PyPI.

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