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
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Describe the bug
Using sys.version_info to modify dependencies is not a recommended way according to python-poetry/poetry#758. We should use environment markers instead. If we use sys.version_info to modify dependencies, some package managers such as Poetry will fail to get the correct dependencies.
Describe the bug
Using
sys.version_info
to modify dependencies is not a recommended way according topython-poetry/poetry#758. We should use environment markers instead. If we use
sys.version_info
to modify dependencies, some package managers such as Poetry will fail to get the correct dependencies.To Reproduce
Steps to reproduce the behavior:
poetry add nimbusml
enum (0.4.7)
, which is a dependency for Python 2enum
only support Python 2)Expected behavior
The installation succeed without installing those dependencies for Python 2.
Additional context
The Python package
Ray
also had the same issue. We can refer to their PR ray-project/ray#3764.The text was updated successfully, but these errors were encountered: