Hello,

On Thu, 10 Mar 2022 07:55:19 +0100 Julien Puydt <julien.pu...@gmail.com> wrote:
Hi,

I forwarded the bug to
upstream: https://github.com/agronholm/anyio/issues/417

Here is the commit upstream would like feedback about:
https://github.com/agronholm/anyio/commit/184744ca291d426dd278f697c3637623eb9de0ed


sadly, it looks like its still having some troubles

=================================== FAILURES ===================================
__________________________ test_getaddrinfo[asyncio] ___________________________
tests/test_sockets.py:1144: in test_getaddrinfo
    correct = await getaddrinfo('faß.de', 0)
anyio/_core/_sockets.py:419: in getaddrinfo
    gai_res = await get_asynclib().getaddrinfo(encoded_host, port, 
family=family, type=type,
anyio/_backends/_asyncio.py:1570: in getaddrinfo
    result = await get_running_loop().getaddrinfo(
/usr/lib/python3.10/asyncio/base_events.py:860: in getaddrinfo
    return await self.run_in_executor(
/usr/lib/python3.10/concurrent/futures/thread.py:58: in run
    result = self.fn(*self.args, **self.kwargs)
/usr/lib/python3.10/asyncio/base_events.py:843: in _getaddrinfo_debug
    addrinfo = socket.getaddrinfo(host, port, family, type, proto, flags)
/usr/lib/python3.10/socket.py:955: in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
E   socket.gaierror: [Errno -2] Name or service not known
_______________________ test_getaddrinfo[asyncio+uvloop] _______________________
tests/test_sockets.py:1144: in test_getaddrinfo
    correct = await getaddrinfo('faß.de', 0)
anyio/_core/_sockets.py:419: in getaddrinfo
    gai_res = await get_asynclib().getaddrinfo(encoded_host, port, 
family=family, type=type,
anyio/_backends/_asyncio.py:1570: in getaddrinfo
    result = await get_running_loop().getaddrinfo(
uvloop/loop.pyx:1514: in getaddrinfo
    ???
E   socket.gaierror: [Errno -2] Name or service not known
=========================== short test summary info ============================
SKIPPED [1] tests/test_taskgroups.py:57: could not import 'trio': No module 
named 'trio'
SKIPPED [1] tests/test_fileio.py:119: Drive only makes sense on Windows
SKIPPED [1] tests/test_fileio.py:159: Only makes sense on Windows
SKIPPED [2] tests/test_fileio.py:318: os.lchmod() is not available
=========== 2 failed, 751 passed, 5 skipped, 2 deselected in 17.30s ============
E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest --verbose -W ignore 
-k "not test_is_block_device"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 --before-test 
"{interpreter} {dir}/setup.py egg_info --egg-base={dir}/.pybuild/egg" --test-pytest --test-args 
"--verbose -W ignore -k \"not test_is_block_device\"" returned exit code 13
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


full build log here

https://launchpadlibrarian.net/591544052/buildlog_ubuntu-jammy-amd64.python-anyio_3.5.0-3_BUILDING.txt.gz

G.

Can you check?

Thanks!

J.Puydt



Reply via email to