Your message dated Fri, 30 Dec 2022 14:41:31 +0000
with message-id <e1pbgzf-00avgd...@fasolo.debian.org>
and subject line Bug#1020085: fixed in python-astor 0.8.1-4
has caused the Debian Bug report #1020085,
regarding python-astor: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p 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.)


-- 
1020085: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020085
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-astor
Version: 0.8.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --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.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/codegen.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/code_gen.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/tree_walk.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/file_util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/node_util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/source_repr.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/string_repr.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/op_util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> copying astor/rtrip.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
> running egg_info
> writing astor.egg-info/PKG-INFO
> writing dependency_links to astor.egg-info/dependency_links.txt
> writing top-level names to astor.egg-info/top_level.txt
> reading manifest file 'astor.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'CHANGES'
> adding license file 'LICENSE'
> adding license file 'AUTHORS'
> writing manifest file 'astor.egg-info/SOURCES.txt'
> copying astor/VERSION -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build/astor
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build; 
> python3.10 -m pytest -k 'not test_convert_stdlib'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 55 items / 1 deselected / 54 selected
> 
> tests/test_code_gen.py .............s.............F..................    [ 
> 85%]
> tests/test_misc.py .......s                                              
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ________________________ CodegenTestCase.test_huge_int 
> _________________________
> 
> self = <tests.test_code_gen.CodegenTestCase testMethod=test_huge_int>
> 
>     def test_huge_int(self):
>         for n in (10**10000,
>                   
> 0xdfa21cd2a530ccc8c870aa60d9feb3b35deeab81c3215a96557abbd683d21f4600f38e475d87100da9a4404220eeb3bb5584e5a2b5b48ffda58530ea19104a32577d7459d91e76aa711b241050f4cc6d5327ccee254f371bcad3be56d46eb5919b73f20dbdb1177b700f00891c5bf4ed128bb90ed541b778288285bcfa28432ab5cbcb8321b6e24760e998e0daa519f093a631e44276d7dd252ce0c08c75e2ab28a7349ead779f97d0f20a6d413bf3623cd216dc35375f6366690bcc41e3b2d5465840ec7ee0dc7e3f1c101d674a0c7dbccbc3942788b111396add2f8153b46a0e4b50d66e57ee92958f1c860dd97cc0e40e32febff915343ed53573142bdf4b):
> >           self.assertEqual(astornum(n), n)
> 
> tests/test_code_gen.py:290: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_code_gen.py:31: in astornum
>     return astorexpr(ast.Num(n=x))
> tests/test_code_gen.py:28: in astorexpr
>     return eval(astor.to_source(ast.Expression(body=x)))
> astor/code_gen.py:63: in to_source
>     generator.visit(node)
> astor/node_util.py:143: in visit
>     return visitor(node)
> astor/code_gen.py:883: in visit_Expression
>     self.visit(node.body)
> astor/node_util.py:143: in visit
>     return visitor(node)
> astor/code_gen.py:556: in visit_Constant
>     self._handle_numeric_constant(value)
> astor/code_gen.py:677: in _handle_numeric_constant
>     real = part(x.real if isinstance(x, complex) else x, imaginary=False)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> p = <[ValueError('Exceeds the limit (4300) for integer string conversion') 
> raised in repr()] int object at 0x556a03b67200>
> imaginary = False
> 
>     def part(p, imaginary):
>         # Represent infinity as 1e1000 and NaN as 1e1000-1e1000.
>         s = 'j' if imaginary else ''
>         try:
>             if math.isinf(p):
>                 if p < 0:
>                     return '-1e1000' + s
>                 return '1e1000' + s
>             if math.isnan(p):
>                 return '(1e1000%s-1e1000%s)' % (s, s)
>         except OverflowError:
>             # math.isinf will raise this when given an integer
>             # that's too large to convert to a float.
>             pass
> >       return repr(p) + s
> E       ValueError: Exceeds the limit (4300) for integer string conversion
> 
> astor/code_gen.py:675: ValueError
> =========================== short test summary info 
> ============================
> FAILED tests/test_code_gen.py::CodegenTestCase::test_huge_int - ValueError: 
> E...
> ============ 1 failed, 51 passed, 2 skipped, 1 deselected in 0.22s 
> =============
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_astor/build; python3.10 -m pytest -k 
> 'not test_convert_stdlib'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/python-astor_0.8.1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&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 marking 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: python-astor
Source-Version: 0.8.1-4
Done: Jochen Sprickerhof <jspri...@debian.org>

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

Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspri...@debian.org> (supplier of updated python-astor 
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: Fri, 30 Dec 2022 14:59:33 +0100
Source: python-astor
Architecture: source
Version: 0.8.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Jochen Sprickerhof <jspri...@debian.org>
Closes: 1020085
Changes:
 python-astor (0.8.1-4) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to fix failing test (Closes: #1020085)
   * Use dh-sequence-python3
   * Drop old build dependencies
   * Enable autopkgtest-pkg-pybuild
   * Add R³
   * Bump policy version (no changes)
Checksums-Sha1:
 98eec9def60f0f3cad7a5ab7d59ebf53b8c36ee6 2115 python-astor_0.8.1-4.dsc
 9f67fa73e512bc05c17197d06900fbf18f4599a1 4408 
python-astor_0.8.1-4.debian.tar.xz
 ef29d421ab941d9695092af5a30fc8e0d6bd535a 7289 
python-astor_0.8.1-4_source.buildinfo
Checksums-Sha256:
 a9b9b70141bb063d9b650b9e834fd54e6ff78dfd3c621414a9c88dfd05bba6b1 2115 
python-astor_0.8.1-4.dsc
 7b9539a5204135eda4f8c6b015ae562aa3c60cb2b4c1d1691598ecc9dd5697d6 4408 
python-astor_0.8.1-4.debian.tar.xz
 a63bd2408cf1208ffc6c3ff52596f52b2e326df1493bec4f7db97e7966e0b8de 7289 
python-astor_0.8.1-4_source.buildinfo
Files:
 a21cee243b622333586c4fcdf0ff9328 2115 python optional python-astor_0.8.1-4.dsc
 5bf19d17bb7145f772468d63ad89d49f 4408 python optional 
python-astor_0.8.1-4.debian.tar.xz
 73898d6718467f7c083b84444edee6b8 7289 python optional 
python-astor_0.8.1-4_source.buildinfo

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

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmOu7zwACgkQW//cwljm
lDOeOw//UOJT6S5bv9RYdESql2wsDb/t3whL2hVV79XTWBdT3qFBH+a2YcM9rL5C
zO4HDSVNblKk4/wmrK9UOD2pjx7EEfUych5hr8yWS5K9qf458L9eAr99BWMDjl8p
EtH9H+b82jETmphN2QTMbK9i2vd8tz96reQZuKgr6TJR6K2r1m/7ZfzEtbSNBnT6
l5sYLvrfH/fAv4TT1Ue3nPYjrEAFY1OfS6w+LT3pMPChY7F0dC+84hgGpjLtByq9
gzwPFbWHTdeYBG7y0iPsBR69QXzDhSk3i4SA4hn3TXWY/e7dt6O0oOsEnHWBxhb7
CxuzYU3vknIgRSIeee6vukYcMGJR6kXOwQZBCjSES7FKJe7uvWWZGAY+5HmnbNZP
OPr/aJIY1UbFG286EOUsLtCIqVTlXRvee+rU4TN8EFXrnmSQnjmQuzramW/1WJ4M
s7GMmGU29hlhadYTwxDv35LM7rC0yOfYd73F99YAJhh8sOAtB9Lh6vQYdn7qXmFh
tIorgN+TEIoK3qlqL4pXubwQ3rLx+l67c2Hch97yjiq9d2rI+jX+srJP8h4GIYV+
Nr+15Aig6IzqmUd0qlil0T9VGcrsTxe3FstgocwHmvZTuqcWL8KmmpuFKZ4qV7rG
LztgEWtNdXCAlcPG/sDjBIod+XjL3fd6lLEWJXS+VgzR57aSATU=
=DUzd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to