You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a private git repository to [tool.poetry.dependencies] like so my-pkg = {git = "[email protected]:my-org/my-pkg.git", branch='development'}, it would seem like poetry gets stuck resolving dependencies.
However I noticed that there is a very brief flash of a prompt for a password, but the "resolving dependencies timer" overwrites it.
Workarounds
If you see the prompt flashing, after that time you can just type your password (without getting any visual feedback) and poetry will continue and successfully resolve all dependencies.
See example above:`my-pkg = {git = "[email protected]:my-org/my-pkg.git", branch='development'}`
Poetry Runtime Logs
Doing `poetry -vvv install` will actually give me the password prompt as expected:
$poetry -vvv install
Loading configuration file /home/freek/.config/pypoetry/config.toml
Using virtualenv: /home/freek/.cache/pypoetry/virtualenvs/experiments-019ns1H_-py3.10
Updating dependencies
Resolving dependencies...
1: fact: experiments is 0.1.0
1: derived: experiments
Enter passphrase for key '/home/freek/.ssh/id_ed25519':
Loading configuration file /home/freek/.config/pypoetry/config.toml
Using virtualenv: /home/freek/.cache/pypoetry/virtualenvs/experiments-019ns1H_-py3.10
Updating dependencies
Resolving dependencies...
1: fact: experiments is 0.1.0
1: derived: experiments
Enter passphrase for key '/home/freek/.ssh/id_ed25519':
The text was updated successfully, but these errors were encountered:
basically duplicate - or anyway a very small variation on - #9618
Indeed, this is the same issue.
The way to reproduce it with private repo's, so I can't really post my pyproject.toml because it is filled with private repos and private information :)
Description
When adding a private git repository to
[tool.poetry.dependencies]
like somy-pkg = {git = "[email protected]:my-org/my-pkg.git", branch='development'}
, it would seem like poetry gets stuck resolving dependencies.However I noticed that there is a very brief flash of a prompt for a password, but the "resolving dependencies timer" overwrites it.
Workarounds
If you see the prompt flashing, after that time you can just type your password (without getting any visual feedback) and poetry will continue and successfully resolve all dependencies.
Poetry Installation Method
install.python-poetry.org
Operating System
Ubuntu 22.04
Poetry Version
1.8.3
Poetry Configuration
Python Sysconfig
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: