Poetry can't install httpx
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: MacOS X 11.6.1
- Poetry version: ~1.1.6~ [1.1.13 actually]
- Here’s my
pyproject.toml
after much simplification:
[tool.poetry]
name = "poetry-bug"
version = "0.1.0"
description = ""
authors = ["Stefane Fermigier <sf@abilian.com>"]
[tool.poetry.dependencies]
python = "^3.10"
httpx = "0.22.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Issue
Poetry hangs trying to compute the resolution.
Here’s what happens with poetry install -vvv
:
$ poetry install -vvv
Using virtualenv: /Users/fermigier/.virtualenvs/tmp
Updating dependencies
Resolving dependencies...
1: fact: poetry-bug is 0.1.0
1: derived: poetry-bug
1: fact: poetry-bug depends on httpx (0.22.0)
1: selecting poetry-bug (0.1.0)
1: derived: httpx (==0.22.0)
1: fact: httpx (0.22.0) depends on certifi (*)
1: fact: httpx (0.22.0) depends on charset-normalizer (*)
1: fact: httpx (0.22.0) depends on sniffio (*)
1: fact: httpx (0.22.0) depends on rfc3986 (>=1.3,<2)
1: fact: httpx (0.22.0) depends on httpcore (>=0.14.5,<0.15.0)
1: selecting httpx (0.22.0)
1: derived: httpcore (>=0.14.5,<0.15.0)
1: derived: rfc3986[idna2008] (>=1.3,<2)
1: derived: sniffio
1: derived: charset-normalizer
1: derived: certifi
[hangs]
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
poetry dependencies python3.4 with httpx - Stack Overflow
I'm to use pyproject. toml with poetry (1.1. 5, latest). I want my package supports python>=3.4, and, if it's python>=3.6 then depends on...
Read more >Introduction | Documentation | Poetry - Python dependency ...
This ensures that dependencies will not be accidentally upgraded or uninstalled, and allows Poetry to manage its own environment. Install Poetry. The installer ......
Read more >HTTPX
HTTPX is a fully featured HTTP client for Python 3, which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2....
Read more >Configure a Poetry environment | PyCharm Documentation
To use Poetry in PyCharm, you need to install it on your machine and create a specific Python environment. Install Poetry. Open Terminal...
Read more >How To Install Poetry to Manage Python Dependencies on ...
curl -sSL https://install.python-poetry.org | python3 - … [secondary_label Output] Poetry (1.2.1) is installed now. Great!
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 Free
Top 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
Thanks for the reproduction attempts @bbuscarino and @abn. I will close the issue then, to ease the task of the maintainers.
@sfermigier I faced the same issue, what helped me: clear the cache
poetry cache clear pypi --all