-
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
The current project's Python requirement (>=3.11,<4.0) is not compatible with numpy requires Python <3.13,>=3.9 #8616
Comments
This is a brand new project:
contents of the [tool.poetry]
name = "pycharm"
version = "0.1.0"
description = ""
authors = ["Azat <8280770+azataiot@users.noreply.github.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
matplotlib = "^3.8.1"
backtrader = "^1.9.78.123"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" |
current python version is 3.11 which is actually meets the NumPy requirement of <3.13 >=3.9. |
Poetry resolves your dependencies for the whole range of Python versions specified in the |
@Secrus It might not be a bug but it seems to be a real pain especially UX wise. It means that out of the box, if I do And even if for you the error message is crystal clear, it is not that easy to understand what the problem is. Especially that the solution is to restrict the app python dependency in case you start using python 3.14 So I would agree with @azataiot that it is an issue |
Yes, Totally agree. That python version for the project is generated by poetry, not by hand by me. and Yet it sees the conflict with Numpy's version. So by default, Poetry includes this "feature" that fails when installing packages. It should generate some 'minimum' working versions instead of that whole range of python versions. Why NumPy is choosing 3.13 ? I guess it is related to the GIL of the Python, and the project where Guido wants to 5x the python performance on 3.13 where they are making GIL optional. Which includes some breaking changes to many packages espacially those numerical ones and the ones uses c/c++ bindings. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
The text was updated successfully, but these errors were encountered: