Skip to content

Pipenv fails to install Black 19.10b0 with pytest-black #38

Closed
@chrisgeru

Description

Pipfile:

[dev-packages]
black = "==19.10b0"
pytest = "*"
pytest-black = "*"

[pipenv]
allow_prereleases = false

works for black 19.3b0 but fails for 19.10b0 with the following error:

ERROR: ERROR: Could not find a version that matches black==19.10b0,==19.3b0
Skipped pre-versions: 18.3a0, 18.3a0, 18.3a1, 18.3a1, 18.3a2, 18.3a2, 18.3a3, 18.3a3, 18.3a4, 18.3a4, 18.4a0, 18.4a0, 18.4a1, 18.4a1, 18.4a2, 18.4a2, 18.4a3, 18.4a3, 18.4a4, 18.4a4, 18.5b0, 18.5b0, 18.5b1, 18.5b1, 18.6b0, 18.6b0, 18.6b1, 18.6b1, 18.6b2, 18.6b2, 18.6b3, 18.6b3, 18.6b4, 18.6b4, 18.9b0, 18.9b0, 19.3b0, 19.3b0, 19.10b0, 19.10b0
There are incompatible versions in the resolved dependencies.

The issue, i believe, is on this line inside setup.py:

'black==19.3b0; python_version >= "3.6"',

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