Skip to content

Python 2.7 Build Still Broken - Incompatible Requirements #5199

@AndTheDaysGoBy

Description

@AndTheDaysGoBy

E.g. looking at https://travis-ci.com/psf/requests/jobs/237028717 or some of the more recent builds, we notice that there are issues in installing dependencies during the Python 2.7 build. In particular, the issue arises due to attempting the install more-itertools==7.2.0.
Looking at https://pypi.org/simple/more-itertools/ we find that it does exist and that the hashes do match those in the Pipfile.lock

"more-itertools": {

However, inspect element on https://pypi.org/simple/more-itertools/ reveals that every version > 5.0 requires a Python version of the 3.X series (>= 3.4 in particular).

The solution is to either lower the used version of more-itertools to 5.0.0 or to drop Python 2.7 support.

Update:
We can see that this was the commit that resulted in this issue (load the second diff and CTRL+ f more-iter). So it seems it was originally kept at 5.0.0. Presumably reverting that is the desired approach?
6c32245#diff-46bb8405eeb4d8a11deb635f562f7c48L500

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