Your message dated Sat, 07 Jan 2023 09:34:32 +0000
with message-id <e1pe5ay-000hwj...@fasolo.debian.org>
and subject line Bug#1026643: fixed in astunparse 1.6.3-2
has caused the Debian Bug report #1026643,
regarding astunparse: FTBFS: dh_auto_test: error: pybuild --test --test-pytest
-i python{version} -p "3.11 3.10" returned exit code 13
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.)
--
1026643: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026643
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: astunparse
Version: 1.6.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config
> running config
> I: pybuild base:240: python3.10 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astunparse/build/astunparse
> copying lib/astunparse/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astunparse/build/astunparse
> copying lib/astunparse/unparser.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astunparse/build/astunparse
> copying lib/astunparse/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astunparse/build/astunparse
> copying lib/astunparse/printer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astunparse/build/astunparse
> running egg_info
> creating lib/astunparse.egg-info
> writing lib/astunparse.egg-info/PKG-INFO
> writing dependency_links to lib/astunparse.egg-info/dependency_links.txt
> writing requirements to lib/astunparse.egg-info/requires.txt
> writing top-level names to lib/astunparse.egg-info/top_level.txt
> writing manifest file 'lib/astunparse.egg-info/SOURCES.txt'
> reading manifest file 'lib/astunparse.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'lib/astunparse.egg-info/SOURCES.txt'
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astunparse/build/astunparse
> copying lib/astunparse/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astunparse/build/astunparse
> copying lib/astunparse/unparser.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astunparse/build/astunparse
> copying lib/astunparse/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astunparse/build/astunparse
> copying lib/astunparse/printer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astunparse/build/astunparse
> running egg_info
> writing lib/astunparse.egg-info/PKG-INFO
> writing dependency_links to lib/astunparse.egg-info/dependency_links.txt
> writing requirements to lib/astunparse.egg-info/requires.txt
> writing top-level names to lib/astunparse.egg-info/top_level.txt
> reading manifest file 'lib/astunparse.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'lib/astunparse.egg-info/SOURCES.txt'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astunparse/build; python3.11 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 94 items
>
> tests/test_dump.py ........................s.s.s......s........... [
> 50%]
> tests/test_unparse.py .................F......s.s.s......s...........
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ UnparseTestCase.test_files
> __________________________
>
> self = <tests.test_unparse.UnparseTestCase testMethod=test_files>
>
> def test_files(self):
> names = []
> for test_dir in self.test_directories:
> for n in os.listdir(test_dir):
> if n.endswith('.py') and not n.startswith('bad'):
> names.append(os.path.join(test_dir, n))
>
> for filename in names:
> print('Testing %s' % filename)
> source = read_pyfile(filename)
> > self.check_roundtrip(source)
>
> tests/common.py:192:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_unparse.py:18: in check_roundtrip
> code2 = astunparse.unparse(ast1)
> astunparse/__init__.py:13: in unparse
> Unparser(tree, file=v)
> astunparse/unparser.py:38: in __init__
> self.dispatch(tree)
> astunparse/unparser.py:66: in dispatch
> meth(tree)
> astunparse/unparser.py:78: in _Module
> self.dispatch(stmt)
> astunparse/unparser.py:66: in dispatch
> meth(tree)
> astunparse/unparser.py:347: in _FunctionDef
> self.__FunctionDef_helper(t, "def")
> astunparse/unparser.py:365: in __FunctionDef_helper
> self.dispatch(t.body)
> astunparse/unparser.py:63: in dispatch
> self.dispatch(t)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <astunparse.unparser.Unparser object at 0x7f5def4f5090>
> tree = <ast.Match object at 0x7f5def4cdb40>
>
> def dispatch(self, tree):
> "Dispatcher function, dispatching tree type T to method _T."
> if isinstance(tree, list):
> for t in tree:
> self.dispatch(t)
> return
> > meth = getattr(self, "_"+tree.__class__.__name__)
> E AttributeError: 'Unparser' object has no attribute '_Match'
>
> astunparse/unparser.py:65: AttributeError
> ----------------------------- Captured stdout call
> -----------------------------
> Testing /usr/lib/python3.11/abc.py
> Testing /usr/lib/python3.11/dis.py
> Testing /usr/lib/python3.11/codeop.py
> Testing /usr/lib/python3.11/cgitb.py
> Testing /usr/lib/python3.11/_strptime.py
> Testing /usr/lib/python3.11/bisect.py
> Testing /usr/lib/python3.11/antigravity.py
> Testing /usr/lib/python3.11/genericpath.py
> Testing /usr/lib/python3.11/netrc.py
> Testing /usr/lib/python3.11/mailcap.py
> Testing /usr/lib/python3.11/ipaddress.py
> Testing /usr/lib/python3.11/_aix_support.py
> Testing /usr/lib/python3.11/configparser.py
> Testing /usr/lib/python3.11/_osx_support.py
> Testing /usr/lib/python3.11/pathlib.py
> Testing /usr/lib/python3.11/telnetlib.py
> Testing /usr/lib/python3.11/pprint.py
> Testing /usr/lib/python3.11/tracemalloc.py
> Testing /usr/lib/python3.11/tempfile.py
> Testing /usr/lib/python3.11/ast.py
> Testing /usr/lib/python3.11/copy.py
> Testing /usr/lib/python3.11/glob.py
> Testing /usr/lib/python3.11/imghdr.py
> Testing /usr/lib/python3.11/copyreg.py
> Testing /usr/lib/python3.11/csv.py
> Testing /usr/lib/python3.11/queue.py
> Testing /usr/lib/python3.11/stringprep.py
> Testing /usr/lib/python3.11/wave.py
> Testing /usr/lib/python3.11/sndhdr.py
> Testing /usr/lib/python3.11/zipimport.py
> Testing /usr/lib/python3.11/_pydecimal.py
> Testing /usr/lib/python3.11/fnmatch.py
> Testing /usr/lib/python3.11/opcode.py
> Testing /usr/lib/python3.11/_compat_pickle.py
> Testing /usr/lib/python3.11/_compression.py
> Testing /usr/lib/python3.11/contextlib.py
> Testing /usr/lib/python3.11/optparse.py
> Testing /usr/lib/python3.11/_markupbase.py
> Testing /usr/lib/python3.11/uuid.py
> Testing /usr/lib/python3.11/rlcompleter.py
> Testing /usr/lib/python3.11/runpy.py
> Testing /usr/lib/python3.11/_py_abc.py
> Testing /usr/lib/python3.11/uu.py
> Testing /usr/lib/python3.11/getopt.py
> Testing /usr/lib/python3.11/typing.py
> Testing /usr/lib/python3.11/sunau.py
> Testing /usr/lib/python3.11/trace.py
> Testing /usr/lib/python3.11/compileall.py
> Testing /usr/lib/python3.11/imaplib.py
> Testing /usr/lib/python3.11/aifc.py
> Testing /usr/lib/python3.11/_weakrefset.py
> Testing /usr/lib/python3.11/_collections_abc.py
> Testing /usr/lib/python3.11/functools.py
> Testing /usr/lib/python3.11/sysconfig.py
> Testing /usr/lib/python3.11/ssl.py
> Testing /usr/lib/python3.11/subprocess.py
> Testing /usr/lib/python3.11/ftplib.py
> Testing /usr/lib/python3.11/colorsys.py
> Testing /usr/lib/python3.11/tokenize.py
> Testing /usr/lib/python3.11/argparse.py
> Testing /usr/lib/python3.11/sitecustomize.py
> Testing /usr/lib/python3.11/bz2.py
> Testing /usr/lib/python3.11/sched.py
> Testing /usr/lib/python3.11/xdrlib.py
> Testing /usr/lib/python3.11/getpass.py
> Testing /usr/lib/python3.11/py_compile.py
> Testing /usr/lib/python3.11/site.py
> Testing /usr/lib/python3.11/textwrap.py
> Testing /usr/lib/python3.11/doctest.py
> Testing /usr/lib/python3.11/nturl2path.py
> Testing /usr/lib/python3.11/shelve.py
> Testing /usr/lib/python3.11/socketserver.py
> Testing /usr/lib/python3.11/mailbox.py
> Testing /usr/lib/python3.11/tty.py
> Testing /usr/lib/python3.11/enum.py
> Testing /usr/lib/python3.11/filecmp.py
> Testing /usr/lib/python3.11/os.py
> Testing /usr/lib/python3.11/__hello__.py
> Testing /usr/lib/python3.11/lzma.py
> Testing /usr/lib/python3.11/struct.py
> Testing /usr/lib/python3.11/weakref.py
> Testing /usr/lib/python3.11/pickle.py
> Testing /usr/lib/python3.11/stat.py
> Testing /usr/lib/python3.11/secrets.py
> Testing /usr/lib/python3.11/threading.py
> Testing /usr/lib/python3.11/modulefinder.py
> Testing /usr/lib/python3.11/hashlib.py
> Testing /usr/lib/python3.11/string.py
> Testing /usr/lib/python3.11/imp.py
> Testing /usr/lib/python3.11/timeit.py
> Testing /usr/lib/python3.11/warnings.py
> Testing /usr/lib/python3.11/nntplib.py
> Testing /usr/lib/python3.11/sre_constants.py
> Testing /usr/lib/python3.11/io.py
> Testing /usr/lib/python3.11/codecs.py
> Testing /usr/lib/python3.11/turtle.py
> Testing /usr/lib/python3.11/zipfile.py
> Testing /usr/lib/python3.11/shutil.py
> Testing /usr/lib/python3.11/smtplib.py
> Testing /usr/lib/python3.11/profile.py
> Testing /usr/lib/python3.11/pyclbr.py
> Testing /usr/lib/python3.11/cmd.py
> Testing /usr/lib/python3.11/pty.py
> Testing /usr/lib/python3.11/cProfile.py
> Testing /usr/lib/python3.11/datetime.py
> Testing /usr/lib/python3.11/reprlib.py
> Testing /usr/lib/python3.11/gettext.py
> Testing /usr/lib/python3.11/_bootsubprocess.py
> Testing /usr/lib/python3.11/locale.py
> Testing /usr/lib/python3.11/posixpath.py
> Testing /usr/lib/python3.11/fractions.py
> Testing /usr/lib/python3.11/_pyio.py
> Testing /usr/lib/python3.11/poplib.py
> Testing /usr/lib/python3.11/gzip.py
> Testing /usr/lib/python3.11/quopri.py
> Testing /usr/lib/python3.11/difflib.py
> Testing /usr/lib/python3.11/pdb.py
> Testing /usr/lib/python3.11/numbers.py
> Testing /usr/lib/python3.11/linecache.py
> Testing /usr/lib/python3.11/keyword.py
> Testing /usr/lib/python3.11/platform.py
> Testing /usr/lib/python3.11/base64.py
> Testing /usr/lib/python3.11/zipapp.py
> Testing /usr/lib/python3.11/this.py
> Testing /usr/lib/python3.11/sre_compile.py
> Testing /usr/lib/python3.11/asyncore.py
> Testing /usr/lib/python3.11/smtpd.py
> Testing /usr/lib/python3.11/traceback.py
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.11_astunparse/build/tests/test_unparse.py::UnparseTestCase::test_files
> internal:134: DeprecationWarning: invalid escape sequence '\Z'
>
> .pybuild/cpython3_3.11_astunparse/build/tests/test_unparse.py::UnparseTestCase::test_files
> internal:59: DeprecationWarning: invalid escape sequence '\P'
>
> .pybuild/cpython3_3.11_astunparse/build/tests/test_unparse.py::UnparseTestCase::test_files
> internal:166: DeprecationWarning: invalid escape sequence '\P'
>
> .pybuild/cpython3_3.11_astunparse/build/tests/test_unparse.py::UnparseTestCase::test_files
> internal:166: DeprecationWarning: invalid escape sequence '\s'
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_unparse.py::UnparseTestCase::test_files - AttributeError:
> '...
> ============= 1 failed, 85 passed, 8 skipped, 4 warnings in 7.16s
> ==============
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_astunparse/build; python3.11 -m
> pytest tests
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astunparse/build; python3.10 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 94 items
>
> tests/test_dump.py ........................s.s.s......s........... [
> 50%]
> tests/test_unparse.py ........................s.s.s......s...........
> [100%]
>
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.10_astunparse/build/tests/test_unparse.py::UnparseTestCase::test_files
> internal:138: DeprecationWarning: invalid escape sequence '\Z'
>
> .pybuild/cpython3_3.10_astunparse/build/tests/test_unparse.py::UnparseTestCase::test_files
> internal:166: DeprecationWarning: invalid escape sequence '\P'
>
> .pybuild/cpython3_3.10_astunparse/build/tests/test_unparse.py::UnparseTestCase::test_files
> internal:166: DeprecationWarning: invalid escape sequence '\s'
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ================== 86 passed, 8 skipped, 3 warnings in 9.75s
> ===================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11
> 3.10" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/astunparse_1.6.3-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: astunparse
Source-Version: 1.6.3-2
Done: Carsten Schoenert <c.schoen...@t-online.de>
We believe that the bug you reported is fixed in the latest version of
astunparse, 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 1026...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Carsten Schoenert <c.schoen...@t-online.de> (supplier of updated astunparse
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: SHA512
Format: 1.8
Date: Sat, 07 Jan 2023 09:55:37 +0100
Source: astunparse
Architecture: source
Version: 1.6.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Carsten Schoenert <c.schoen...@t-online.de>
Closes: 1026643
Changes:
astunparse (1.6.3-2) unstable; urgency=medium
.
* Team upload
* d/control: Bump Standards-Version to 4.6.2
* d/control: Update B-D, adding BuildProfileSpecs
* d/rules: Drop --with option after using dh-sequence*
* d/control: Running wrap-and-sort -ast
* Rebuild patch queue from patch-queue branch
Added patch:
tests-Skip-test_files-on-Python-3.11.patch
(Closes: #1026643)
Checksums-Sha1:
b7a18d439eb8390ec2aa03a35c9c805720eccd43 2155 astunparse_1.6.3-2.dsc
f7af07d886ec956219d8362b929557839cc00010 5692 astunparse_1.6.3-2.debian.tar.xz
4907bac4ad26bc8fe8dd68992010a991439ca9d9 7219
astunparse_1.6.3-2_amd64.buildinfo
Checksums-Sha256:
550a5942e51e6660b493082c1e1ae05bd5bae84996c6fe21067648e9f9820ad8 2155
astunparse_1.6.3-2.dsc
b1e626d5f66877880539ae4aea4c8edcd1d4cf334ab7ad1547322e4388f9978b 5692
astunparse_1.6.3-2.debian.tar.xz
67b7475e0e00847f83d4b8f5c9720ba8044a7bf154ce2502eb7c9643ab805ae8 7219
astunparse_1.6.3-2_amd64.buildinfo
Files:
24817bae6d6e13f74c043b9569d5bedd 2155 python optional astunparse_1.6.3-2.dsc
2dd22a8ce9dddad65e5c381d598212cb 5692 python optional
astunparse_1.6.3-2.debian.tar.xz
98127d910789cf79fa850e5610443eb5 7219 python optional
astunparse_1.6.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmO5NaoACgkQgwFgFCUd
HbBaCw/9GprQG3FJshn42+FbJLSgrTP3Px1X3rrjvAay5VIYjjYKlQXnhRndqg08
kqddpdbWHqdo6OlmP3TaHuPyJNICKvbVTZ9iAeU3SjciuZbfypokITkdLZrGLOem
MWv2fljcOC4eoFg9X0T0yq0SKnV/AX2Zg3kslFsfob5xyxEtWtnYcw9VWl5pnQBG
UVRPLzQ/e1aHJcAoYUuvUhB7Wz8yWT2bGmFeZdAIKoBaycy89pSuQD6sbRPSDVec
EbgXnIBjvu1Q1uGyg95zp5dPdeTkpRDrxU+2XXmJg9EOCggq2uZWpe02ia/snN+E
Zbg/gRhpb9xK3CHMu4wQIggL2eI/o56RIL+fUwkJ8Wdzc/NrCQtQHUk+jubxcJSl
trqCUEzERwN1hdPiX9roeac1sXydKQauG8jgWlu9S7ifLdt+K07ZXXUGYfiRPAk9
xj44XyLTRQYY5W+EaUwR0UGIPpzgmZ4aKPy9uWrsazfsmm1B7QqG8k6bjHCfoL1R
5x6Zpjaof2/XALygCxLOhSZtLoVPivkmW3bGoTi9meEMJx5Z0sJlXdaupMyzwX/e
WRbybmQqxChSy6hz1fhAABhehZuAHwrO+twKCLVbgjz3ciHm9B+/GzoM/iATT8zX
uILjs/2JEA06WjAIKGYBbZybRL1Gc9qBf37xfTEJJtIGOD92+5s=
=eCgl
-----END PGP SIGNATURE-----
--- End Message ---