Skip to content
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

Poetry freezing #2891

Closed
AstraLuma opened this issue Sep 7, 2020 · 10 comments
Closed

Poetry freezing #2891

AstraLuma opened this issue Sep 7, 2020 · 10 comments
Labels
kind/bug Something isn't working as expected

Comments

@AstraLuma
Copy link

  • OS version and name: Debian Testing
  • Poetry version: 1.0.10

Issue

I'm seeing poetry freezing, like so:

🐚 poetry update --verbose                                                                                                
Resolving dependencies... (0.0s)Updating dependencies
Resolving dependencies... 

I strongly suspect this is pypa/pip#7883 (comment) , but I figured it would be good to file an issue in case other users are seeing the same problem.

@AstraLuma AstraLuma added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Sep 7, 2020
@AstraLuma
Copy link
Author

Oh, maybe not. Simply setting $PYTHON_KEYRING_BACKEND as suggested in the pip bug does not clear the issue.

@AstraLuma
Copy link
Author

This is happening as far back as 1.0.0.

@AstraLuma
Copy link
Author

🐚 poetry add -vvv -D pytest
Using virtualenv: /home/astraluma/.virtualenvs/clomp

@abn
Copy link
Member

abn commented Sep 7, 2020

@AstraLuma was the existing lock file generated by a poetry pre-release?

@AstraLuma
Copy link
Author

Nope. There is currently no lock file.

I've traced it to blocking on an HTTP request to pypi, but IDK from there.

@AstraLuma
Copy link
Author

it might be my network? bare requests is being very slow to make requests to pypi.org, a behavior I can't replicate in cURL or firefox.

@AstraLuma
Copy link
Author

Ok, this might not be poetry. pip is also very slow and requests with requests and urlopen both hang/take far far too long.

Now why only python is doing this is still a mystery.

@AstraLuma
Copy link
Author

Able to confirm, it doesn't actually freeze, it just takes far, far too long to process anything.

I'm going to close this, as this seems to be "idk networking" than anything poetry has done.

@abn
Copy link
Member

abn commented Sep 7, 2020

Able to confirm, it doesn't actually freeze, it just takes far, far too long to process anything.

I'm going to close this, as this seems to be "idk networking" than anything poetry has done.

IIRC, there was some issues with IPv6 and pip/pypi. Try disabling v6?

@abn abn removed the status/triage This issue needs to be triaged label Sep 25, 2020
Copy link

github-actions bot commented Mar 3, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants