tests/test_main.py tests fails with Python 3.14 and click 8.3.1
#3743
Unanswered
mtelka
asked this question in
Potential Issue
Replies: 1 comment
|
The Click version is probably a red herring. The traceback shows that In 0.28.1 the CLI import is wrapped in a try/except that silently falls back to a stub when any CLI dependency is missing: https://github.com/encode/httpx/blob/0.28.1/httpx/__init__.py#L14-L24 Installing Click alone is not enough, because the ``extra also requires Pygments and Rich: https://github.com/encode/httpx/blob/0.28.1/pyproject.toml#L34-L38 For a repository checkout: Or for the released package: I reproduced this in a clean venv. With After installing the ``extras: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I run tests for
httpx 0.28.1with Python 3.14.2 andclick 8.3.1installed and all tests intests/test_main.pyfails similarly to this one:When I test with Python 3.9.25 and
click 8.1.8then all tests pass.All reactions