-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poetry removes numpy for some versions of python and pandas #5102
Comments
I can't reproduce the issue completely, so I can only guess what's going on. I suppose you are using
When changing the python constraint to
Unfortunately, poetry does not complain about the virtualenv using When changing the python constraint to |
Two questions:
|
Depending on the python constraint in your
At least, it's an unsupported workflow. If you start from scratch without an already existing environment with I think poetry should at least raise an error instead of using the existing enviroment and doing weird things like uninstalling numpy. The current behavior can be considered a bug. |
-vvv
option).Issue
pyproject.toml:
If I run
poetry update
with thepyproject.toml
shown above, the correct dependencies are installed. If I change the Python version topython = "~3.9"
and runpoetry update
again,poetry
shows:This seems wrong, since
pandas
won't run withoutnumpy
. What's going on here?The text was updated successfully, but these errors were encountered: