Error on `poetry update`
See original GitHub issue-
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: Ubuntu 18.04
-
Poetry version: 0.12.2
-
Link of a Gist with the contents of your pyproject.toml file:
Issue
When running poetry update
I hit the following error:
$ poetry update
Updating dependencies
Resolving dependencies... (4.0s)
[AttributeError]
'NoneType' object has no attribute 'requires'
update [--no-dev] [--dry-run] [--lock] [--] [<packages>]...
This only happens with a git-based dependency specified in my pyproject.toml
, in the following form:
results = { git = "ssh://git@github.com/whatever/whatever.git", branch = "master" }
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Upgrade poetry 1.2.0 tox.ini error Invalide PEP440 version
I have upgrade poetry in my github ci in my tox.ini. My ci have problem. I use zuul. When I use poetry pip...
Read more >Commands | Documentation | Poetry - Python dependency ...
In order to get the latest versions of the dependencies and to update the poetry.lock file, you should use the update command. poetry...
Read more >Update Packages in Python Poetry - YippeeCode
This error happens when you try to update a package that is a dependency in development without passing the --dev flag. If you...
Read more >poetry - PyPI
Poetry : Python packaging and dependency management made easy. Stable Version Pre-release Version Python Versions Download Stats Discord.
Read more >400 Client Error when trying to install prodigy using poetry
The error occurs due to poetry passing my HTTP Basic auth credentials to the AWS S3 pre-signed URL. AWS throws the error saying...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
when will be the next release?
@danielknell It should work however PyPI is in the middle of a maintenance which leads to 404 errors on some JSON API requests.
However, I will make a fix to make the error message clearer than an
AttributeError
.