Bug#1143435: universal-pathlib: FTBFS: E httpcore.ConnectError: [Errno 111] Connection refused

Sebastiaan Couwenberg <[email protected]> Sun, 2 Aug 2026 11:21:59 +0200
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <cf014434-06fc-4859-ad11-7eb3e6dfe316__49686.5755457961$1785662598$gmane$org@xs4all.nl>
On 8/2/26 12:39 AM, Santiago Vila wrote:
> FAILED ../../../upath/tests/implementations/test_hf.py::test_hfpath - httpx.ConnectError: [Errno 111] Connection refused
> FAILED ../../../upath/tests/implementations/test_hf.py::TestUPathHf::test_iterdir_parent_iteration - ValueError: Repository id must be 'namespace/name', got '__username__'. Single-segment ids (e.g. 'gpt2') are no longer supported.

Looks like the HuggingFace filesystem class became loadable, previously the ImportError would have skipped both tests.

The former can be marked as requiring network, the latter seems to require compatibility changes.

Kind Regards,

Bas