Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947623 - dev-python/uvicorn-0.34.0 not installable with USE=test: Hard-blocking dependencies
Summary: dev-python/uvicorn-0.34.0 not installable with USE=test: Hard-blocking depend...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-06 19:03 UTC by Dustin Polke
Modified: 2025-01-06 19:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2025-01-06 19:03:35 UTC
dev-python/uvicorn-0.34.0 with USE=test depends on

>=dev-python/httptools-0.6.3[${PYTHON_USEDEP}]
>=dev-python/httpx-0.28[${PYTHON_USEDEP}]

while dev-python/httpx-0.28.1 hard-blocks

!!dev-python/httptools[${PYTHON_USEDEP}] with USE=test.

When no restriction on tests is manually set, dev-python/uvicorn-0.34.0 cannot be installed. Maybe you agree that this is not optimal and some more friendly solution can be achieved.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-01-06 19:23:43 UTC
I know, and I hate it.  Basically the problem is:

1. httptools mess things up and httpx tests fail because of that [1].

2. uvicorn's test require httptools.  It used to be optional, but upstream regularly breaks that and I've stopped caring to keep sending patches.

Apparently [1] has a patch suggested, but upstream is kinda special and expects us to file a discussion first and wait weeks for a reply.

[1] https://github.com/encode/httpx/discussions/3429