-
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
Adding PySide2 fails to resolve version #1930
Comments
Switching to PyQt5 works around the issue. |
You propose is very bad solution in this case because PySide2 and PyQt5 has different licenses. |
I ran into the same issue. |
Hello, when The solution is to restrict the python version your project is compatible, e.g. If there exist an package that is compatible for a specific python version, one could also add those constraints to the fin swimmer |
Wouldn't be it useful to improve the error message? Apparently multiple users are or were confused by it. I think the natural interpretation of the syntax "Python = ^3.8" would be "My code requires features from 3.8, so use any Python version at least 3.8 that works with all packages". It seems intuitive that Poetry would handle the compatibility and find that Python 3.9 is not an option. |
In my view, that is a really bad design, because it's counter intuitive. For every person on the planet who had to deal with regular expressions (mostly developers) ^3.8 means: starts with 3.8 which clearly does not include 3.9 while your definition does. For others as reference here is the documentation for the caret sign. |
Is there a good reason to not refer to this feature in the error message? |
Weirdly this isn't working at the moment -- `poetry install` seems to refuse to recognize that `dbt-core` 1.2.0 exists. I'm having issues in another project upgrading dbt, so possibly there's some issue with the release metadata? It does not seem to be due to python-poetry/poetry#1930 (comment) in this case.
* Upgrade dbt to 1.2.0 Weirdly this isn't working at the moment -- `poetry install` seems to refuse to recognize that `dbt-core` 1.2.0 exists. I'm having issues in another project upgrading dbt, so possibly there's some issue with the release metadata? It does not seem to be due to python-poetry/poetry#1930 (comment) in this case.
* Upgrade dbt to 1.2.0 Weirdly this isn't working at the moment -- `poetry install` seems to refuse to recognize that `dbt-core` 1.2.0 exists. I'm having issues in another project upgrading dbt, so possibly there's some issue with the release metadata? It does not seem to be due to python-poetry/poetry#1930 (comment) in this case.
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. |
If an exception occurs when executing a command, I executed it again in debug mode (-vvv
option).Issue
Adding PySide2 as a dependency seems to trigger a resolver bug. See below.
python = "^3.8"
seems to clash with PySide2's limiter< 3.9
. The package can be installed without problems in a 3.8.1 venv (pyside2 5.14.0 only works on Python 3.8.1+ on Windows).The text was updated successfully, but these errors were encountered: