Your message dated Thu, 15 Jan 2026 18:48:49 +0000
with message-id <[email protected]>
and subject line Bug#1125656: fixed in python-av 16.1.0+ds-2
has caused the Debian Bug report #1125656,
regarding python-av: FTBFS: E               urllib.error.URLError: <urlopen 
error [Errno 111] Connection refused>
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1125656: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125656
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-av
Version: 16.1.0+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202601/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-av, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_autoreconf_clean
   dh_clean
 debian/rules binary
dh binary
   dh_testdir
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
I: pybuild plugin_pyproject:139: Building wheel for python3.14 with "build" 
module
I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  

[... snipped ...]

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
av/datasets.py:108: in fate
    return cached_download(
av/datasets.py:75: in cached_download
    response = urlopen(url)
               ^^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:189: in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:489: in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:506: in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
/usr/lib/python3.13/urllib/request.py:466: in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:1348: in http_open
    return self.do_open(http.client.HTTPConnection, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib.request.HTTPHandler object at 0x7f6cfbb5ecf0>
http_class = <class 'http.client.HTTPConnection'>
req = <urllib.request.Request object at 0x7f6cfaf48510>, http_conn_args = {}
host = '127.0.0.1:9', h = <http.client.HTTPConnection object at 0x7f6cfaf48770>
headers = {'Connection': 'close', 'Host': 'fate.ffmpeg.org', 'User-Agent': 
'Python-urllib/3.13'}

    def do_open(self, http_class, req, **http_conn_args):
        """Return an HTTPResponse object for the request, using http_class.
    
        http_class must implement the HTTPConnection API from http.client.
        """
        host = req.host
        if not host:
            raise URLError('no host given')
    
        # will parse host:port
        h = http_class(host, timeout=req.timeout, **http_conn_args)
        h.set_debuglevel(self._debuglevel)
    
        headers = dict(req.unredirected_hdrs)
        headers.update({k: v for k, v in req.headers.items()
                        if k not in headers})
    
        # TODO(jhylton): Should this be redesigned to handle
        # persistent connections?
    
        # We want to make an HTTP/1.1 request, but the addinfourl
        # class isn't prepared to deal with a persistent connection.
        # It will try to read all remaining data from the socket,
        # which will block while the server waits for the next request.
        # So make sure the connection gets closed after the (only)
        # request.
        headers["Connection"] = "close"
        headers = {name.title(): val for name, val in headers.items()}
    
        if req._tunnel_host:
            tunnel_headers = {}
            proxy_auth_hdr = "Proxy-Authorization"
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
    
        try:
            try:
                h.request(req.get_method(), req.selector, req.data, headers,
                          encode_chunked=req.has_header('Transfer-encoding'))
            except OSError as err: # timeout error
>               raise URLError(err)
E               urllib.error.URLError: <urlopen error [Errno 111] Connection 
refused>

/usr/lib/python3.13/urllib/request.py:1322: URLError
____________________ TestSubtitle.test_subtitle_header_read ____________________

self = <urllib.request.HTTPHandler object at 0x7f6cfbb5ecf0>
http_class = <class 'http.client.HTTPConnection'>
req = <urllib.request.Request object at 0x7f6cfaf4a3f0>, http_conn_args = {}
host = '127.0.0.1:9', h = <http.client.HTTPConnection object at 0x7f6cfaf4a520>
headers = {'Connection': 'close', 'Host': 'fate.ffmpeg.org', 'User-Agent': 
'Python-urllib/3.13'}

    def do_open(self, http_class, req, **http_conn_args):
        """Return an HTTPResponse object for the request, using http_class.
    
        http_class must implement the HTTPConnection API from http.client.
        """
        host = req.host
        if not host:
            raise URLError('no host given')
    
        # will parse host:port
        h = http_class(host, timeout=req.timeout, **http_conn_args)
        h.set_debuglevel(self._debuglevel)
    
        headers = dict(req.unredirected_hdrs)
        headers.update({k: v for k, v in req.headers.items()
                        if k not in headers})
    
        # TODO(jhylton): Should this be redesigned to handle
        # persistent connections?
    
        # We want to make an HTTP/1.1 request, but the addinfourl
        # class isn't prepared to deal with a persistent connection.
        # It will try to read all remaining data from the socket,
        # which will block while the server waits for the next request.
        # So make sure the connection gets closed after the (only)
        # request.
        headers["Connection"] = "close"
        headers = {name.title(): val for name, val in headers.items()}
    
        if req._tunnel_host:
            tunnel_headers = {}
            proxy_auth_hdr = "Proxy-Authorization"
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
    
        try:
            try:
>               h.request(req.get_method(), req.selector, req.data, headers,
                          encode_chunked=req.has_header('Transfer-encoding'))

/usr/lib/python3.13/urllib/request.py:1319: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.13/http/client.py:1358: in request
    self._send_request(method, url, body, headers, encode_chunked)
/usr/lib/python3.13/http/client.py:1404: in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
/usr/lib/python3.13/http/client.py:1353: in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
/usr/lib/python3.13/http/client.py:1113: in _send_output
    self.send(msg)
/usr/lib/python3.13/http/client.py:1057: in send
    self.connect()
/usr/lib/python3.13/http/client.py:1023: in connect
    self.sock = self._create_connection(
/usr/lib/python3.13/socket.py:864: in create_connection
    raise exceptions[0]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

address = ('127.0.0.1', 9), timeout = <object object at 0x7f6d0e1293c0>
source_address = None

    def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
                          source_address=None, *, all_errors=False):
        """Connect to *address* and return the socket object.
    
        Convenience function.  Connect to *address* (a 2-tuple ``(host,
        port)``) and return the socket object.  Passing the optional
        *timeout* parameter will set the timeout on the socket instance
        before attempting to connect.  If no *timeout* is supplied, the
        global default timeout setting returned by :func:`getdefaulttimeout`
        is used.  If *source_address* is set it must be a tuple of (host, port)
        for the socket to bind as a source address before making the connection.
        A host of '' or port 0 tells the OS to use the default. When a 
connection
        cannot be created, raises the last error if *all_errors* is False,
        and an ExceptionGroup of all errors if *all_errors* is True.
        """
    
        host, port = address
        exceptions = []
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
            af, socktype, proto, canonname, sa = res
            sock = None
            try:
                sock = socket(af, socktype, proto)
                if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
                    sock.settimeout(timeout)
                if source_address:
                    sock.bind(source_address)
>               sock.connect(sa)
E               ConnectionRefusedError: [Errno 111] Connection refused

/usr/lib/python3.13/socket.py:849: ConnectionRefusedError

During handling of the above exception, another exception occurred:

self = <tests.test_subtitles.TestSubtitle object at 0x7f6cfbb9ca70>

    def test_subtitle_header_read(self) -> None:
        """Test reading subtitle_header from a decoded subtitle stream."""
>       path = fate_suite("sub/MovText_capability_tester.mp4")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_subtitles.py:82: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
av/datasets.py:108: in fate
    return cached_download(
av/datasets.py:75: in cached_download
    response = urlopen(url)
               ^^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:189: in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:489: in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:506: in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
/usr/lib/python3.13/urllib/request.py:466: in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
/usr/lib/python3.13/urllib/request.py:1348: in http_open
    return self.do_open(http.client.HTTPConnection, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib.request.HTTPHandler object at 0x7f6cfbb5ecf0>
http_class = <class 'http.client.HTTPConnection'>
req = <urllib.request.Request object at 0x7f6cfaf4a3f0>, http_conn_args = {}
host = '127.0.0.1:9', h = <http.client.HTTPConnection object at 0x7f6cfaf4a520>
headers = {'Connection': 'close', 'Host': 'fate.ffmpeg.org', 'User-Agent': 
'Python-urllib/3.13'}

    def do_open(self, http_class, req, **http_conn_args):
        """Return an HTTPResponse object for the request, using http_class.
    
        http_class must implement the HTTPConnection API from http.client.
        """
        host = req.host
        if not host:
            raise URLError('no host given')
    
        # will parse host:port
        h = http_class(host, timeout=req.timeout, **http_conn_args)
        h.set_debuglevel(self._debuglevel)
    
        headers = dict(req.unredirected_hdrs)
        headers.update({k: v for k, v in req.headers.items()
                        if k not in headers})
    
        # TODO(jhylton): Should this be redesigned to handle
        # persistent connections?
    
        # We want to make an HTTP/1.1 request, but the addinfourl
        # class isn't prepared to deal with a persistent connection.
        # It will try to read all remaining data from the socket,
        # which will block while the server waits for the next request.
        # So make sure the connection gets closed after the (only)
        # request.
        headers["Connection"] = "close"
        headers = {name.title(): val for name, val in headers.items()}
    
        if req._tunnel_host:
            tunnel_headers = {}
            proxy_auth_hdr = "Proxy-Authorization"
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
    
        try:
            try:
                h.request(req.get_method(), req.selector, req.data, headers,
                          encode_chunked=req.has_header('Transfer-encoding'))
            except OSError as err: # timeout error
>               raise URLError(err)
E               urllib.error.URLError: <urlopen error [Errno 111] Connection 
refused>

/usr/lib/python3.13/urllib/request.py:1322: URLError
=========================== short test summary info ============================
FAILED tests/test_decode.py::TestDecode::test_decoded_video_enc_params - 
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
FAILED tests/test_decode.py::TestDecode::test_decoded_video_enc_params_no_flag 
- urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
FAILED tests/test_packet.py::TestPacketSideData::test_buffer_protocol - 
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
FAILED tests/test_packet.py::TestPacketSideData::test_skip_samples_remux - 
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
FAILED tests/test_subtitles.py::TestSubtitle::test_subtitle_header_read - 
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
=========== 5 failed, 210 passed, 7 skipped, 92 deselected in 4.19s ============
E: pybuild pybuild:483: test: plugin pyproject failed with:  
[too-long-redacted] ign and not test_encoding_h264'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:96: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-av
Source-Version: 16.1.0+ds-2
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-av, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated python-av package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 15 Jan 2026 19:25:51 +0100
Source: python-av
Architecture: source
Version: 16.1.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1125656
Changes:
 python-av (16.1.0+ds-2) unstable; urgency=medium
 .
   * skip more network-requiring tests;
     closes: bug#1125656, thanks to Santiago Vila
   * update copyright info: update coverage
Checksums-Sha1:
 94229e7c91e7c195f156a238cd118a8c9834751f 2228 python-av_16.1.0+ds-2.dsc
 8eeec870ceed2dd682e4d0c1fc7c318fe26057a6 8404 
python-av_16.1.0+ds-2.debian.tar.xz
 ba3ff75802d1e69d34dc4b50971418ab0338eb93 12627 
python-av_16.1.0+ds-2_amd64.buildinfo
Checksums-Sha256:
 0b186f1b7c4d41ed4cb02f60ba5daeb7ac4153e17634240296632e35f1a45164 2228 
python-av_16.1.0+ds-2.dsc
 8d2b7ee7af25f1c469b922c6b618582e99a8a009a19c71237aef92c10452cc47 8404 
python-av_16.1.0+ds-2.debian.tar.xz
 4beefd86a1f8b5be7afc0532430a0d37fce8c162ba3e8c9c2ffc1b096e21000f 12627 
python-av_16.1.0+ds-2_amd64.buildinfo
Files:
 0469b05fb33dd20ffffbd8ef6b6ae6bc 2228 python optional python-av_16.1.0+ds-2.dsc
 09236065810b95daaa6119cd3d2bfb52 8404 python optional 
python-av_16.1.0+ds-2.debian.tar.xz
 bcd5e5e0dfc0e6ff7cd3ced3dffe1e18 12627 python optional 
python-av_16.1.0+ds-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmlpMdsMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhRHAQAIjlXzpqNn2AJueXw44M4pQ6rETli0MS9pyzH1G2
lzwz/ikIxpOpya8DtZrC4hOWK3PcKLXrk4Xb7z4Ef62fPA8fj9zSlGPQ2IDHrCio
ZtE0kIckm5Vpj7oPXf84atpZkdcs5vgzXnlxqaqSBTf1ueyYdRmaXnKOXzKx5kG5
vhm0eLdu/StFOs05t1VSQEr1EF13JKuzFB/Ut2ujuJhUcEBb3nVpH2KkXU8UHrKt
TW9IlcHsVB5lxju0jeM92uOTtAONiasLTUisLZ9ky1yaB44Cn+5Ovq7U1NlDnMgg
FG5As6MxZclsMr7MW1eUsitIbFyVvcA4H04TICAyUG/H5pqTJ6gzvxXXCCCxSBNz
uKwuDZF+A7A0CaP9LLt4zG2T3nRSfphmgWKpe9k/nUK+0UUvRIPpgjl/so90nW9r
p/XanIea0vxb60zyiKgekoaVm/EjjUOBHImcnDUmlBnLBSI80NUpBI211UE8Xn46
sF1oTLR++wFof2HqBBMC78N2AvXobldZar9qamAXRbldsDtoiDtIttEUVeaifzBg
Gmn39cNsspl6NLa8M2hlpV/C4u0JRv5+CmKEqVa5kmGnDizUZb9d7ozyZMpYCyUi
5G1D6qlA+H17GSkVb4TTRgGFzvKg6kSnegQi7iVUjPVpiJYbVXm+6LYpKfTObnsA
LkT/
=bIAW
-----END PGP SIGNATURE-----

Attachment: pgpV111cgA6y9.pgp
Description: PGP signature


--- End Message ---

Reply via email to