8000 Add `python_requires` to setup.py · Issue #1073 · scikit-optimize/scikit-optimize · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Add python_requires to setup.py #1073

@matthewfeickert

Description

@matthewfeickert

At the moment, neither setup.py or setup.cfg contain a python_reuires lower bound, which from

scikit-optimize/setup.py

Lines 30 to 32 in 747b43f

'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8']

seems like it should be

python_requires = >=3.6

This is important as if later release use incompatible syntax changes pip won't know to NOT try to install those versions for older Python versions unless there is a python_requires that it can find to figure out if the Python version running it is compatible. So python_requires keeps older Python versions from getting broken releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0