#1077460 python-refurb: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 returned exit code 13

#1077460#5
Date:
2024-07-29 05:55:08 UTC
From:
To:
Hi,

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


Relevant part (hopefully):
The full build log is available from:
http://qa-logs.debian.net/2024/07/28/python-refurb_1.27.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lucas@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.

#1077460#12
Date:
2026-09-29 13:18:27 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1077460 python3.15
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we ran into this FTBFS:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856807/

The errors are also visible in the reproducible builds infrastructure:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-refurb.html

And they are more than in the original report:

=========================== short test summary info
============================
FAILED test/test_checks.py::test_checks - AssertionError: assert
'test/data/b...
FAILED test/test_checks.py::test_fatal_mypy_error_is_bubbled_up - assert
['re...
FAILED test/test_checks.py::test_mypy_error_is_bubbled_up - assert
['refurb: ...
FAILED
test/test_checks.py::test_checks_with_python_version_dependant_error_msgs
FAILED test/test_visitor.py::test_mypy_consistence - AssertionError:
assert {...
=========== 5 failed, 130 passed, 1 skipped, 1 deselected in 31.59s
============

Please consider investigating the root cause to get this package back in
a healthy state.

#1077460#17
Date:
2026-10-14 05:46:22 UTC
From:
To:
I have reported bugs upstream for three of these test failures:

* [Bug]: refurb.visitor.mapping.METHOD_NODE_MAPPINGS does not match nodes from current MyPy
  <URL: https://github.com/dosisod/refurb/issues/392>

* [Bug]: test suite fails, expecting a bug 'test/data/bug_type_reassignment.txt' that no longer exists in MyPy
  <URL: https://github.com/dosisod/refurb/issues/393>

* [Bug]: test suite fails on expecting outdated MyPy error text
  <URL: https://github.com/dosisod/refurb/issues/394>