anancarv / python-artifactory

Typed interactions with the Jfrog Artifactory REST API
MIT License
55 stars 50 forks source link

Dependency issue with `typing_extensions` #119

Closed geoffrey-g-delhomme closed 1 year ago

geoffrey-g-delhomme commented 1 year ago

Describe the bug Wrong dependency management with typing_extensions

The conflict is caused by:
    pyartifactory 1.10.1 depends on typing_extensions<4.0.0 and >=3.7.4; python_version >= "3.6" and python_version < "4.0"
    pyartifactory 1.10.1 depends on typing_extensions<5 and >=4; python_version >= "3.7" and python_version < "4.0"

To Reproduce Steps to reproduce the behavior: With Python 3.10:

pip install --upgrade typing_extensions
pip install --upgrade pyartifatory

Expected behavior To be compatible with latest versions of typing_extensions.

Screenshots N/A

Environment:

Additional context Need to fix pyproject.toml:

typing_extensions = [
    { version = "^3.7.4", python = "^3.6" },
    { version = "^4", python = "^3.7" },
]

Observed while installing other packages depending on the latest typing_extensions module.

anancarv commented 1 year ago

Fixed on version v1.10.2 #120