We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
-vvv
OS version and name: OS X Mojave. Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64
Poetry version: Poetry 0.12.17
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/MadWombat/a9cf58d94bc0a683c2138dad04a3e8a4
Installing a dependency for Django LTS works fine with pip, but fails with poetry
with pip:
~/project/> pip3 install 'Django<1.12' Collecting Django<1.12 Downloading https://files.pythonhosted.org/packages/70/22/237da71dc112f2bba335c18380bc403fba430c44cc4da088824e77652738/Django-1.11.22-py2.py3-none-any.whl (6.9MB) |████████████████████████████████| 7.0MB 3.9MB/s Collecting pytz (from Django<1.12) Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl Installing collected packages: pytz, Django Successfully installed Django-1.11.22 pytz-2019.1
with poetry:
~/project> poetry add 'Django<1.12' [PackageNotFound] Package [Django<1.12] not found. add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...
The text was updated successfully, but these errors were encountered:
At the moment, you have to do it like so:
poetry add "django:<1.12"
The notation you are using will be supported in the 1.0.0 verson (see #1221)
1.0.0
Sorry, something went wrong.
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.
No branches or pull requests
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: OS X Mojave. Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64
Poetry version: Poetry 0.12.17
Link of a Gist with the contents of your pyproject.toml file:
https://gist.github.com/MadWombat/a9cf58d94bc0a683c2138dad04a3e8a4
Installing a dependency for Django LTS works fine with pip, but fails with poetry
with pip:
with poetry:
The text was updated successfully, but these errors were encountered: