question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
teucercommented, Oct 25, 2018

when will be the next release?

1reaction
sdispatercommented, Nov 10, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found