Package: src:python-executing
Version: 2.1.0-0.1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build"
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
* Building wheel...
running bdist_wheel
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:111:
SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!
********************************************************************************
With Python 2.7 end-of-life, support for building universal wheels
(i.e., wheels that support both Python 2 and Python 3)
is being obviated.
Please discontinue using this option, or if you still need it,
file an issue with pypa/setuptools describing your use case.
By 2025-Aug-30, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
********************************************************************************
!!
self.finalize_options()
running build
running build_py
creating build/lib/executing
copying executing/_exceptions.py -> build/lib/executing
copying executing/executing.py -> build/lib/executing
copying executing/_position_node_finder.py -> build/lib/executing
copying executing/__init__.py -> build/lib/executing
copying executing/version.py -> build/lib/executing
running egg_info
creating executing.egg-info
writing executing.egg-info/PKG-INFO
writing dependency_links to executing.egg-info/dependency_links.txt
writing requirements to executing.egg-info/requires.txt
writing top-level names to executing.egg-info/top_level.txt
writing manifest file 'executing.egg-info/SOURCES.txt'
reading manifest file 'executing.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'executing.egg-info/SOURCES.txt'
copying executing/py.typed -> build/lib/executing
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/executing
copying build/lib/executing/_exceptions.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/executing.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/_position_node_finder.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/__init__.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/py.typed ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/version.py ->
build/bdist.linux-x86_64/wheel/./executing
running install_egg_info
Copying executing.egg-info to
build/bdist.linux-x86_64/wheel/./executing-2.1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/executing-2.1.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-ykkw4uxw/executing-2.1.0-py2.py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'executing/__init__.py'
adding 'executing/_exceptions.py'
adding 'executing/_position_node_finder.py'
adding 'executing/executing.py'
adding 'executing/py.typed'
adding 'executing/version.py'
adding 'executing-2.1.0.dist-info/LICENSE.txt'
adding 'executing-2.1.0.dist-info/METADATA'
adding 'executing-2.1.0.dist-info/WHEEL'
adding 'executing-2.1.0.dist-info/top_level.txt'
adding 'executing-2.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built executing-2.1.0-py2.py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
* Building wheel...
running bdist_wheel
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:111:
SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!
********************************************************************************
With Python 2.7 end-of-life, support for building universal wheels
(i.e., wheels that support both Python 2 and Python 3)
is being obviated.
Please discontinue using this option, or if you still need it,
file an issue with pypa/setuptools describing your use case.
By 2025-Aug-30, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
********************************************************************************
!!
self.finalize_options()
running build
running build_py
copying executing/version.py -> build/lib/executing
running egg_info
writing executing.egg-info/PKG-INFO
writing dependency_links to executing.egg-info/dependency_links.txt
writing requirements to executing.egg-info/requires.txt
writing top-level names to executing.egg-info/top_level.txt
reading manifest file 'executing.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'executing.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/executing
copying build/lib/executing/_exceptions.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/executing.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/_position_node_finder.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/__init__.py ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/py.typed ->
build/bdist.linux-x86_64/wheel/./executing
copying build/lib/executing/version.py ->
build/bdist.linux-x86_64/wheel/./executing
running install_egg_info
Copying executing.egg-info to
build/bdist.linux-x86_64/wheel/./executing-2.1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/executing-2.1.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/.tmp-v8fo_wha/executing-2.1.0-py2.py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'executing/__init__.py'
adding 'executing/_exceptions.py'
adding 'executing/_position_node_finder.py'
adding 'executing/executing.py'
adding 'executing/py.typed'
adding 'executing/version.py'
adding 'executing-2.1.0.dist-info/LICENSE.txt'
adding 'executing-2.1.0.dist-info/METADATA'
adding 'executing-2.1.0.dist-info/WHEEL'
adding 'executing-2.1.0.dist-info/top_level.txt'
adding 'executing-2.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built executing-2.1.0-py2.py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build;
python3.13 -m pytest "-k not TestStuff and not test_small_samples "
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 208 items / 178 deselected / 30 selected
tests/test_ipython.py .. [ 6%]
tests/test_main.py sssssssssssssss. [ 60%]
tests/test_pytest.py .....F...... [100%]
=================================== FAILURES ===================================
___________________________ test_exception_catching ____________________________
def test_exception_catching():
frame = inspect.currentframe()
executing.executing.TESTING = True # this is already the case in all
other tests
# Sanity check that this operation usually raises an exception.
# This actually depends on executing not working in the presence of
pytest.
with pytest.raises((NotOneValueFound, KnownIssue)):
> assert Source.executing(frame).node is None
E AssertionError: assert <ast.Call object at 0x7fe6a197d2d0> is None
E + where <ast.Call object at 0x7fe6a197d2d0> =
<executing.executing.Executing object at 0x7fe6a1967b10>.node
E + where <executing.executing.Executing object at
0x7fe6a1967b10> = executing(<frame at 0x7fe6a1d36770, file
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_pytest.py', line 131,
code test_exception_catching>)
E + where executing = Source.executing
tests/test_pytest.py:131: AssertionError
=========================== short test summary info ============================
FAILED tests/test_pytest.py::test_exception_catching - AssertionError: assert...
=========== 1 failed, 14 passed, 15 skipped, 178 deselected in 0.79s ===========
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest "-k not
TestStuff and not test_small_samples "
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
python3.12 -m pytest "-k not TestStuff and not test_small_samples "
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 208 items / 178 deselected / 30 selected
tests/test_ipython.py .. [ 6%]
tests/test_main.py sssssssssssssss. [ 60%]
tests/test_pytest.py .....F...... [100%]
=================================== FAILURES ===================================
___________________________ test_exception_catching ____________________________
def test_exception_catching():
frame = inspect.currentframe()
executing.executing.TESTING = True # this is already the case in all
other tests
# Sanity check that this operation usually raises an exception.
# This actually depends on executing not working in the presence of
pytest.
with pytest.raises((NotOneValueFound, KnownIssue)):
> assert Source.executing(frame).node is None
E AssertionError: assert <ast.Call object at 0x7f7d5f6a1c10> is None
E + where <ast.Call object at 0x7f7d5f6a1c10> =
<executing.executing.Executing object at 0x7f7d5f641190>.node
E + where <executing.executing.Executing object at
0x7f7d5f641190> = executing(<frame at 0x7f7d5f5cd7e0, file
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_pytest.py', line 131,
code test_exception_catching>)
E + where executing = Source.executing
tests/test_pytest.py:131: AssertionError
=========================== short test summary info ============================
FAILED tests/test_pytest.py::test_exception_catching - AssertionError: assert...
=========== 1 failed, 14 passed, 15 skipped, 178 deselected in 0.81s ===========
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest "-k not
TestStuff and not test_small_samples "
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202412/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.