Skip to content

“python_requires” should be set with “>=3.4”, as adafruit-circuitpython-busdevice 5.1.4 is not compatible with all Python versions. #81

Closed
@PyVCEchecker

Description

@PyVCEchecker

Currently, the keyword argument python_requires of setup() is not set, and thus it is assumed that this distribution is compatible with all Python versions.
However, I found it is not compatible with Python <3.4. My local Python version is 2.7, and I encounter the following error when executing “pip install adafruit-circuitpython-busdevice”

Collecting adafruit-circuitpython-busdevice
  Downloading adafruit-circuitpython-busdevice-5.1.4.tar.gz (28 kB)
ERROR: Could not find a version that satisfies the requirement Adafruit-Blinka (from adafruit-circuitpython-busdevice) (from versions: none)
ERROR: No matching distribution found for Adafruit-Blinka (from adafruit-circuitpython-busdevice)

Dependencies of this distribution are listed as follows:

"Adafruit-Blinka"

I found that Adafruit-Blinka requires Python>=3.4, which results in installation failure of adafruit-circuitpython-busdevice in Python 2.7.

Way to fix:
modify setup() in setup.py, add python_requires keyword argument:

setup(…
     python_requires=">=3.4"
     …)

Thanks for your attention.
Best regrads,
PyVCEchecker

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