Your message dated Fri, 24 Oct 2025 15:52:48 +0100
with message-id <[email protected]>
and subject line Re: Bug#1117768: python-py: FTBFS: FAILED
testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile_and_getsource_through_same_function
has caused the Debian Bug report #1117768,
regarding python-py: FTBFS: FAILED
testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile_and_getsource_through_same_function
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.)
--
1117768: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117768
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-py
Version: 1.11.0-5
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202510/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-py, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX
license expression:
License :: OSI Approved :: MIT License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build' (and everything
under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX
license expression:
License :: OSI Approved :: MIT License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX
license expression:
License :: OSI Approved :: MIT License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/_xmlgen.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/_builtin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/__metainfo.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/_error.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/_std.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_process
copying py/_process/cmdexec.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_process
copying py/_process/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_process
copying py/_process/forkedfunc.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_process
copying py/_process/killproc.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_process
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages
copying py/_vendored_packages/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_log
copying py/_log/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_log
copying py/_log/warning.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_log
copying py/_log/log.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_log
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_io
copying py/_io/capture.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_io
copying py/_io/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_io
copying py/_io/saferepr.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_io
copying py/_io/terminalwriter.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_io
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
copying py/_code/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
copying py/_code/_assertionold.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
copying py/_code/source.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
copying py/_code/code.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
copying py/_code/assertion.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
copying py/_code/_assertionnew.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
copying py/_code/_py2traceback.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_code
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_path
copying py/_path/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_path
copying py/_path/common.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_path
copying py/_path/svnurl.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_path
copying py/_path/cacheutil.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_path
copying py/_path/svnwc.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_path
copying py/_path/local.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_path
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg
copying py/_vendored_packages/apipkg/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg
copying py/_vendored_packages/apipkg/version.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig
copying py/_vendored_packages/iniconfig/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig
running egg_info
writing py.egg-info/PKG-INFO
writing dependency_links to py.egg-info/dependency_links.txt
writing top-level names to py.egg-info/top_level.txt
reading manifest file 'py.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in
distribution
adding license file 'LICENSE'
writing manifest file 'py.egg-info/SOURCES.txt'
copying py/__init__.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/error.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/iniconfig.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/io.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/path.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
copying py/xml.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
copying py/_vendored_packages/apipkg-2.0.0.dist-info/INSTALLER ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
copying py/_vendored_packages/apipkg-2.0.0.dist-info/LICENSE ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
copying py/_vendored_packages/apipkg-2.0.0.dist-info/METADATA ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
copying py/_vendored_packages/apipkg-2.0.0.dist-info/RECORD ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
copying py/_vendored_packages/apipkg-2.0.0.dist-info/REQUESTED ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
copying py/_vendored_packages/apipkg-2.0.0.dist-info/WHEEL ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
copying py/_vendored_packages/apipkg-2.0.0.dist-info/top_level.txt ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/apipkg-2.0.0.dist-info
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig-1.1.1.dist-info/INSTALLER ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig-1.1.1.dist-info/LICENSE ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig-1.1.1.dist-info/METADATA ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig-1.1.1.dist-info/RECORD ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig-1.1.1.dist-info/REQUESTED ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig-1.1.1.dist-info/WHEEL ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig-1.1.1.dist-info/top_level.txt ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig-1.1.1.dist-info
copying py/_vendored_packages/iniconfig/__init__.pyi ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig
copying py/_vendored_packages/iniconfig/py.typed ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_py/build/py/_vendored_packages/iniconfig
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="{interpreter} -m pytest testing
--ignore={dir}/testing/log/test_warning.py
--ignore={dir}/testing/code/test_excinfo.py" \
LC_ALL=C.UTF-8 \
dh_auto_test
I: pybuild base:311: python3.13 -m pytest testing
--ignore=/<<PKGBUILDDIR>>/testing/log/test_warning.py
--ignore=/<<PKGBUILDDIR>>/testing/code/test_excinfo.py
============================= test session starts ==============================
platform linux -- Python 3.13.8, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: tox.ini
plugins: typeguard-4.4.4
collected 783 items
testing/code/test_assertion.py ............x..ss.....x. [ 3%]
testing/code/test_code.py .............. [ 4%]
testing/code/test_source.py ..................F......................... [ 10%]
.................... [ 13%]
testing/io_/test_capture.py .........s........s.............s........... [ 18%]
..s...........s....s...........s......... [ 23%]
testing/io_/test_saferepr.py ........ [ 24%]
testing/io_/test_terminalwriter.py ..................................... [ 29%]
............ [ 31%]
testing/io_/test_terminalwriter_linewidth.py ....s.. [ 32%]
testing/log/test_log.py ................. [ 34%]
testing/path/test_cacheutil.py ............. [ 35%]
testing/path/test_local.py ............................................. [ 41%]
....................ss..............s..s................x......s........ [ 50%]
.............................sssssss............................x... [ 59%]
testing/path/test_svnauth.py ........................sssssssssss [ 63%]
testing/path/test_svnurl.py ............................................ [ 69%]
..................ss....x............... [ 74%]
testing/path/test_svnwc.py ............................................. [ 80%]
.....................ss..........x................................. [ 89%]
testing/process/test_cmdexec.py ..... [ 89%]
testing/process/test_forkedfunc.py .............. [ 91%]
testing/process/test_killproc.py . [ 91%]
testing/root/test_builtin.py ................... [ 93%]
testing/root/test_error.py ........ [ 95%]
testing/root/test_py_imports.py ................. [ 97%]
testing/root/test_std.py ... [ 97%]
testing/root/test_xmlgen.py ................... [100%]
=================================== FAILURES ===================================
_
TestSourceParsingAndCompiling.test_compile_and_getsource_through_same_function _
self = <test_source.TestSourceParsingAndCompiling object at 0x7fc82bca2c40>
def test_compile_and_getsource_through_same_function(self):
def gensource(source):
return py.code.compile(source)
co1 = gensource("""
def f():
raise KeyError()
""")
co2 = gensource("""
def f():
raise ValueError()
""")
source1 = inspect.getsource(co1)
> assert 'KeyError' in source1
E AssertionError: assert 'KeyError' in '\ndef f():\n'
testing/code/test_source.py:173: AssertionError
=============================== warnings summary ===============================
../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1474
/usr/lib/python3/dist-packages/_pytest/config/__init__.py:1474:
PytestConfigWarning: Unknown config option: rsyncdirs
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
testing/code/test_source.py:8
/<<PKGBUILDDIR>>/testing/code/test_source.py:8: PytestUnknownMarkWarning:
Unknown pytest.mark.nothing - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
astonly = py.test.mark.nothing
testing/path/test_local.py:25
/<<PKGBUILDDIR>>/testing/path/test_local.py:25: PytestDeprecationWarning:
@pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
@pytest.yield_fixture(scope="session")
testing/path/test_local.py::TestExecution::test_sysfind_no_permisson_ignored
/<<PKGBUILDDIR>>/testing/path/test_local.py:428: PytestWarning: Value of
environment variable PATH type should be str, but got
local('/tmp/pytest-of-sbuild/pytest-0/test_sysfind_no_permisson_igno0/noperm')
(type: LocalPath); converted to str implicitly
monkeypatch.setenv("PATH", noperm, prepend=":")
testing/path/test_svnauth.py::TestSvnURLAuth::test_listdir
testing/path/test_svnwc.py::TestWCSvnCommandPath::test_blame
/<<PKGBUILDDIR>>/py/_path/svnurl.py:355: DeprecationWarning: Parsing dates
involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.
See https://github.com/python/cpython/issues/70647.
day = time.strptime(tparts.pop(0), '%d')[2]
testing/root/test_py_imports.py::test_dir[std]
/<<PKGBUILDDIR>>/testing/root/test_py_imports.py:8: PyStdIsDeprecatedWarning:
py.std is deprecated, please import __map__ directly
if hasattr(obj, '__map__'): # isinstance(obj, Module):
testing/root/test_std.py::test_import_error_converts_to_attributeerror
/<<PKGBUILDDIR>>/testing/root/test_std.py:10: PyStdIsDeprecatedWarning:
py.std is deprecated, please import xyzalskdj directly
py.std.xyzalskdj
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SKIPPED [1] testing/code/test_assertion.py:166: could not import
'py._code._assertionold': No module named 'compiler'
SKIPPED [1] testing/code/test_assertion.py:192: could not import
'py._code._assertionold': No module named 'compiler'
SKIPPED [3] testing/io_/test_capture.py:119: could not run 'lsof'
SKIPPED [4] testing/io_/test_capture.py:241: text output different for bytes on
python3
SKIPPED [1] testing/io_/test_terminalwriter_linewidth.py:36: Bytes are not
accepted https://github.com/pytest-dev/pytest/issues/4861
SKIPPED [3] testing/path/common.py:448: sys.version_info < (3,6)
SKIPPED [3] testing/path/common.py:453: sys.version_info < (3,6)
SKIPPED [1] testing/path/test_local.py:167: case insensitive only on windows
SKIPPED [1] testing/path/test_local.py:190: only with Python 3 before 3.5
SKIPPED [1] testing/path/test_local.py:415: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_local.py:744: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_local.py:748: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_local.py:761: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_local.py:767: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_local.py:772: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_local.py:780: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_local.py:787: condition: not (sys.platform ==
'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] testing/path/test_svnauth.py:296: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:302: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:308: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:316: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:326: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:344: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:362: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:382: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:406: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:422: use --runslowtests to run these
tests
SKIPPED [1] testing/path/test_svnauth.py:442: use --runslowtests to run these
tests
XFAIL testing/code/test_assertion.py::test_assert_with_brokenrepr_arg -
[NOTRUN] broken on modern pytest
XFAIL testing/code/test_assertion.py::test_assert_raise_subclass - [NOTRUN]
broken on modern pytest
XFAIL testing/path/test_local.py::TestLocalPath::test_long_filenames - [NOTRUN]
unreliable est for long filenames
XFAIL testing/path/test_local.py::TestUnicodePy2Py3::test_read_write - changing
read/write might break existing usages
XFAIL testing/path/test_svnurl.py::TestSvnURLCommandPath::test_load
XFAIL testing/path/test_svnwc.py::TestWCSvnCommandPath::test_status_update -
svn-1.7 has buggy 'status --xml' output
FAILED
testing/code/test_source.py::TestSourceParsingAndCompiling::test_compile_and_getsource_through_same_function
====== 1 failed, 739 passed, 37 skipped, 6 xfailed, 8 warnings in 33.09s =======
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1:
python3.13 -m pytest testing
--ignore=/<<PKGBUILDDIR>>/testing/log/test_warning.py
--ignore=/<<PKGBUILDDIR>>/testing/code/test_excinfo.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13
returned exit code 13
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
On Fri, Oct 10, 2025 at 04:27:50PM +0000, Santiago Vila wrote:
Package: src:python-py
Version: 1.11.0-5
Severity: serious
Tags: ftbfs forky sid
[...]
=================================== FAILURES ===================================
_
TestSourceParsingAndCompiling.test_compile_and_getsource_through_same_function _
self = <test_source.TestSourceParsingAndCompiling object at 0x7fc82bca2c40>
def test_compile_and_getsource_through_same_function(self):
def gensource(source):
return py.code.compile(source)
co1 = gensource("""
def f():
raise KeyError()
""")
co2 = gensource("""
def f():
raise ValueError()
""")
source1 = inspect.getsource(co1)
assert 'KeyError' in source1
E AssertionError: assert 'KeyError' in '\ndef f():\n'
testing/code/test_source.py:173: AssertionError
This was fixed by python3.13 3.13.9-1. Indeed, it was the only upstream
change in 3.13.9:
https://github.com/python/cpython/issues/139783
A reverse debbisect confirmed this. At this point I'll just close this
bug rather than messing around getting the metadata exactly right, since
it's already fixed in testing.
Thanks,
--
Colin Watson (he/him) [[email protected]]
--- End Message ---