anancarv/python-artifactory

Dependency error: typing-extensions>=4.1.0 and typing_extensions<4.0.0

Closed this issue · 2 comments

Describe the bug
pip-compile throws dependency errors for pyartifactory 1.8.0

To Reproduce
Steps to reproduce the behavior:

  1. Define requirements.in which contains pyartifactory==1.8.0
  2. Run pip-compile requirements.in
Could not find a version that matches typing-extensions<4.0.0,>=3.7.4,>=4.1.0 (from pyartifactory==1.8.0->-r requirements.in (line 1))
Tried: 3.6.2, 3.6.2, 3.6.2.1, 3.6.2.1, 3.6.5, 3.6.5, 3.6.6, 3.6.6, 3.7.2, 3.7.2, 3.7.4, 3.7.4, 3.7.4.1, 3.7.4.1, 3.7.4.2, 3.7.4.2, 3.7.4.3, 3.7.4.3, 3.10.0.0, 3.10.0.0, 3.10.0.1, 3.10.0.1, 3.10.0.2, 3.10.0.2, 4.0.0, 4.0.0, 4.0.1, 4.0.1, 4.1.0, 4.1.0, 4.1.1, 4.1.1, 4.2.0, 4.2.0, 4.3.0, 4.3.0
There are incompatible versions in the resolved dependencies:
  typing-extensions>=4.1.0 (from pydantic==1.10.1->pyartifactory==1.8.0->-r requirements.in (line 1))
  typing_extensions<4.0.0,>=3.7.4 (from pyartifactory==1.8.0->-r requirements.in (line 1))

Expected behavior
Dependency graph is built without errors.

Environment:

  • OS: Windows
  • pyartifactory version: 1.8.0 not yet installed, but specified in requirements.in
  • Python version: 3.8.5

Hi @fbrodrigorezino 👋🏼
Any hints on this issue?
It looks like you've updated the typing_extensions version: fbrodrigorezino@35f11c1

Specifying a fixed pydantic version solves the issue (pydantic==1.9.2).