Your message dated Sat, 28 Oct 2023 14:53:59 +0000
with message-id <[email protected]>
and subject line Bug#1054765: fixed in python-refurb 1.22.1-1
has caused the Debian Bug report #1054765,
regarding python-refurb: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p 3.11 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 [email protected]
immediately.)


-- 
1054765: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054765
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-refurb
Version: 1.21.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231027 ftbfs-trixie

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
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11 
> * Building wheel...
> Successfully built refurb-1.21.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest -k "not test_checks_are_formatted_properly"
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build
> configfile: pyproject.toml
> testpaths: test
> plugins: cov-4.1.0, anyio-3.7.0
> collected 132 items / 1 deselected / 131 selected
> 
> test/test_arg_parsing.py ............................................... [ 
> 35%]
> ......................                                                   [ 
> 52%]
> test/test_checks.py F.....................                               [ 
> 69%]
> test/test_explain.py ....                                                [ 
> 72%]
> test/test_gen.py ...                                                     [ 
> 74%]
> test/test_github_annotations.py ..                                       [ 
> 76%]
> test/test_loader.py .......                                              [ 
> 81%]
> test/test_main.py .............s........                                 [ 
> 98%]
> test/test_visitor.py ..                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________________ test_checks 
> __________________________________
> 
>     def test_checks() -> None:
> >       run_checks_in_folder(TEST_DATA_PATH)
> 
> test/test_checks.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> folder = PosixPath('test/data')
> 
>     def run_checks_in_folder(
>         folder: Path, *, version: tuple[int, int] | None = None
>     ) -> None:
>         settings = Settings(files=[str(folder)], enable_all=True)
>     
>         if version:
>             settings.python_version = version
>     
>         errors = run_refurb(settings)
>         got = "\n".join([str(error) for error in errors])
>     
>         files = sorted(folder.glob("*.txt"), key=lambda p: p.name)
>         expected = "\n".join(file.read_text()[:-1] for file in files)
>     
> >       assert got == expected
> E       assert 'test/data/bu...th `x.open()`' == 'test/data/bu...th 
> `x.open()`'
> E         Skipping 27202 identical leading characters in diff, use -v to show
> E         - r_143.py:18:5 [FURB143]: Replace `x or ()` with `x`
> E         ?           ^
> E         + r_143.py:19:5 [FURB143]: Replace `x or ()` with `x`
> E         ?           ^
> E         - test/data/err_143.py:19:5 [FURB143]: Replace `x or ()` with `x`
> E           test/data/err_143.py:20:5 [FURB143]: Replace `x or ""` with `x`...
> E         
> E         ...Full output truncated (309 lines hidden), use '-vv' to show
> 
> test/test_checks.py:288: AssertionError
> 
> ---------- coverage: platform linux, python 3.11.6-final-0 -----------
> Name    Stmts   Miss  Cover   Missing
> -------------------------------------
> TOTAL    2594      0   100%
> 
> 112 files skipped due to complete coverage.
> Coverage HTML written to dir htmlcov
> 
> Required test coverage of 100% reached. Total coverage: 100.00%
> =========================== short test summary info 
> ============================
> FAILED test/test_checks.py::test_checks - assert 'test/data/bu...th 
> `x.open()...
> ====== 1 failed, 129 passed, 1 skipped, 1 deselected in 78.12s (0:01:18) 
> =======
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest -k "not 
> test_checks_are_formatted_properly"
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/python-refurb_1.21.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&[email protected]&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: python-refurb
Source-Version: 1.22.1-1
Done: Michael Fladischer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-refurb, 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.
Michael Fladischer <[email protected]> (supplier of updated python-refurb 
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: Sat, 28 Oct 2023 13:32:56 +0000
Source: python-refurb
Architecture: source
Version: 1.22.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Michael Fladischer <[email protected]>
Closes: 1054765
Changes:
 python-refurb (1.22.1-1) unstable; urgency=medium
 .
   * New upstream version 1.22.1 (Closes: #1054765).
Checksums-Sha1:
 ea0cc220bf6a44f2e3c3daf37bfe5262765038ec 1934 python-refurb_1.22.1-1.dsc
 978c207668b5e312a71ddbdd6589d9180bdddd60 124359 
python-refurb_1.22.1.orig.tar.gz
 4a31678fce9689308742a420ec35062085304252 4624 
python-refurb_1.22.1-1.debian.tar.xz
 362ad5c54b4abf7c109b5852823794b4027ced49 7945 
python-refurb_1.22.1-1_arm64.buildinfo
Checksums-Sha256:
 648bd0ea4847f0027542c88b41d2bd5c82b8128f80bd04c1f694843a35e52119 1934 
python-refurb_1.22.1-1.dsc
 7e2832eac4c599e82d42516e600ff8b4620d427b6ca0cd39db3484e0dbfdf8f2 124359 
python-refurb_1.22.1.orig.tar.gz
 ce0f8cbc04f7aa98e735dd28c42480159d44d1e7f5152c5b2649dd7ad95c59a1 4624 
python-refurb_1.22.1-1.debian.tar.xz
 40d4e9820564ffd47b0ef22da4e03e87a1976c447e5dcc34678a9e1b32dff193 7945 
python-refurb_1.22.1-1_arm64.buildinfo
Files:
 35d6cbf22acf3b0fef706b0e6c606fad 1934 python optional 
python-refurb_1.22.1-1.dsc
 f5640ca86ffbdefbe1953cdbe51af1af 124359 python optional 
python-refurb_1.22.1.orig.tar.gz
 01bf1fd493e502953d20f2ec08793785 4624 python optional 
python-refurb_1.22.1-1.debian.tar.xz
 f614363d297e22ebc2fc0103345506c0 7945 python optional 
python-refurb_1.22.1-1_arm64.buildinfo

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

iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmU9D4IACgkQ/9PIi5l9
0WqbiQf9Eg3r9hNTIa/nrXGaQau5d81NWy3UP/udWdJlrmiIevtwu14rpe1dc2T7
3+KOPfpGP0GbDrNoKJ0HUTksRxaN74UC7kSXnBNQvdprGb6VUZVdsYico6GsQ5f8
Vxzx+enoxX6JcK5QxUGu6ExgrgXE+PU7RJvwzOC850ayW9oOPgMmxE/7oSWthM3B
A05x0+NIeapfDjFxwhEAPH4pU2W39o/YApv0H7+MroFxzNH6J/0WqeoFLQoaj6f5
KCNQsYdPKlTZfApIv/mqzDKvf1JvA0BfhWg/7oSWHywN8nR+knD9LcM49uCJ7wpd
dgScRXg3U8qEHuAIk6jbDKqicAS7HQ==
=Q4Bk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to