Your message dated Sat, 20 Jun 2020 15:19:32 +0000
with message-id <e1jmfhi-0003kn...@fasolo.debian.org>
and subject line Bug#959954: fixed in pyte 0.8.0-2
has caused the Debian Bug report #959954,
regarding pyte: accesses internet during build?
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 ow...@bugs.debian.org
immediately.)


-- 
959954: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959954
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pyte
Version: 0.8.0-1
Severity: serious

Hello, in Ubuntu the network is more strictly disabled, and the package FTBFS

I'm not sure if this is a change in sphinx or the new release

dh_auto_build
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/graphics.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/control.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/charsets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/escape.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/modes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/streams.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
copying pyte/screens.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/pyte
python3 -m sphinx -b html -d docs/build/doctrees docs docs/build/html
Running Sphinx v2.4.3

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3.8/urllib/request.py", line 1326, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.8/http/client.py", line 1240, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1286, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1235, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1006, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 946, in send
    self.connect()
  File "/usr/lib/python3.8/http/client.py", line 1402, in connect
    super().connect()
  File "/usr/lib/python3.8/http/client.py", line 917, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.8/socket.py", line 787, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/config.py", line 348, in 
eval_config_file
    execfile_(filename, namespace)
  File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 81, in 
execfile_
    exec(code, _globals)
  File "/<<PKGBUILDDIR>>/docs/conf.py", line 106, in <module>
    tag = resolve_tag()
  File "/<<PKGBUILDDIR>>/docs/conf.py", line 99, in resolve_tag
    urlopen(linkcode_base_url + release)
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 1369, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/usr/lib/python3.8/urllib/request.py", line 1329, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>

make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 20200507-1159

looking at the diff of the new version, my guess is to blame the new 
resolve_tag function
+linkcode_base_url = "https://github.com/selectel/pyte/tree/";
+
+def resolve_tag():
+    from urllib.request import urlopen
+    from urllib.error import HTTPError
+    try:
+        urlopen(linkcode_base_url + release)
+    except HTTPError:
+        return "master"
+    else:
+        return release
+
+
+tag = resolve_tag()



G.

--- End Message ---
--- Begin Message ---
Source: pyte
Source-Version: 0.8.0-2
Done: Andrej Shadura <andre...@debian.org>

We believe that the bug you reported is fixed in the latest version of
pyte, 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 959...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <andre...@debian.org> (supplier of updated pyte 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 20 Jun 2020 16:53:48 +0200
Source: pyte
Architecture: source
Version: 0.8.0-2
Distribution: unstable
Urgency: medium
Maintainer: Andrej Shadura <andre...@debian.org>
Changed-By: Andrej Shadura <andre...@debian.org>
Closes: 959954
Changes:
 pyte (0.8.0-2) unstable; urgency=medium
 .
   [ Adrian Bunk ]
   * Revert upstream change that requires internet access during
     the build. (Closes: #959954)
Checksums-Sha1:
 71596048c5e177050bb9e7ab7fc1f78031708baf 1755 pyte_0.8.0-2.dsc
 28890d234f57e2e9a7876b19938f085eacca9d7d 3960 pyte_0.8.0-2.debian.tar.xz
Checksums-Sha256:
 9944a45d7b3c29b9157fbe6d7b4e6225917f3a408edeefb6b81ab50b2981607f 1755 
pyte_0.8.0-2.dsc
 fb81926d457dd6668858008cadbf29fd53526ee506b49207445ef53c1fd27fb2 3960 
pyte_0.8.0-2.debian.tar.xz
Files:
 1ef44887ff7580af027e520e84fce9a9 1755 python optional pyte_0.8.0-2.dsc
 8cd0e5acacd417645c6c63ea45e25afc 3960 python optional 
pyte_0.8.0-2.debian.tar.xz

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

iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAl7uJ/cACgkQXkCM2RzY
OdKeBQf+MuJ8xWScJTHBbPlUuK0gkriHuw9iBC5et69m52EJ+DBbcfQM3ffXNCoo
vVwbIcp9msS0yP1wjOROLnQk70zoygOUuSES+XeB6/vJZXv+YDfrgCJiYHt0udfK
agsa8LSgDX5mn4tsFpdBDhi4CzpZMinzNGV7o9lxlqj/Ok+QtmZQRkdBMbRgiJFs
0iRz3wYU+n7a/xLedHt8j/nxn33sejaEht6MwowkrP0z5PrSS8dgnjYrq2AsQiqc
gaTZV4rKZwxTT3fbfEl9RsBVybxN+jZrWpCMLWI9tNpnDofBoefe4uDiC1APdSgM
pOOGzSln+J5GTYYDEkxzuVqT2VQG/g==
=jZVV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to