You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Version conflict due to wrong version constraint in requirements.txt.
Looking at PEP440, >=5.*, <=6.* doesn't look right. It should be >=5.0, <7.0.
To Reproduce
Steps to reproduce the behavior:
Create your own package your-package that depends on PyYAML 6.0 and pyaml-env 1.2.0
Upload the package (I'm using an internal PyPI server)
pip download your-package
Error:
ERROR: Cannot install your-package and your-package==1.0.0 because these package versions have conflicting dependencies.
The conflict is caused by:
your-package 1.0.0 depends on PyYAML<7.0 and >=6.0
your-package pyaml-env 1.2.0 depends on PyYAML<=6.* and >=5.*
your-package 2.0.0.dev540 depends on PyYAML<7.0 and >=6.0
pyaml-env 1.1.5 depends on PyYAML<=6.* and >=5.*
Expected behavior
It shouldn't happen
Additional context
Add any other context about the problem here.
Python version: 3.7+
OS: macOS 12.6.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Version conflict due to wrong version constraint in requirements.txt.
Looking at PEP440,
>=5.*, <=6.*
doesn't look right. It should be>=5.0, <7.0
.To Reproduce
Steps to reproduce the behavior:
Create your own package
your-package
that depends on PyYAML 6.0 and pyaml-env 1.2.0Upload the package (I'm using an internal PyPI server)
pip download your-package
Error:
Expected behavior
It shouldn't happen
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: