Package: src:python-gplearn
Version: 0.4.2-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with sphinxdoc --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
running config
I: pybuild base:311: python3.12 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn
copying gplearn/utils.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn
copying gplearn/_program.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn
copying gplearn/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn
copying gplearn/genetic.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn
copying gplearn/fitness.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn
copying gplearn/functions.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn
copying gplearn/utils.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn
copying gplearn/_program.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn
copying gplearn/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn
copying gplearn/genetic.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn
copying gplearn/fitness.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn
copying gplearn/functions.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build;
python3.13 -m pytest -k ' not test_sklearn_regressor_checks and not
test_sklearn_classifier_check and not test_parallel_custom_metric and not
test_parallel_custom_function and not test_parallel_custom_transformer and not
test_get_n_jobs'
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 54 items / 6 deselected / 48 selected
tests/test_estimator_checks.py . [ 2%]
tests/test_examples.py ..... [ 12%]
tests/test_fitness.py .... [ 20%]
tests/test_functions.py .. [ 25%]
tests/test_genetic.py ................................... [ 97%]
tests/test_utils.py . [100%]
=============================== warnings summary ===============================
.pybuild/cpython3_3.13_gplearn/build/tests/test_estimator_checks.py::test_sklearn_transformer_checks
/usr/lib/python3/dist-packages/sklearn/utils/estimator_checks.py:659:
SkipTestWarning: pandas is not installed: not testing for input of type
pandas.Series to class weight.
warnings.warn(str(exception), SkipTestWarning)
.pybuild/cpython3_3.13_gplearn/build/tests/test_estimator_checks.py::test_sklearn_transformer_checks
/usr/lib/python3/dist-packages/sklearn/utils/estimator_checks.py:659:
SkipTestWarning: Skipping check_sample_weights_invariance for
SymbolicTransformer: zero sample_weight is not equivalent to removing samples
warnings.warn(str(exception), SkipTestWarning)
.pybuild/cpython3_3.13_gplearn/build/tests/test_genetic.py: 42 warnings
/usr/lib/python3/dist-packages/joblib/externals/loky/backend/fork_exec.py:38:
DeprecationWarning: This process (pid=2784966) is multi-threaded, use of fork()
may lead to deadlocks in the child.
pid = os.fork()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========== 48 passed, 6 deselected, 44 warnings in 97.44s (0:01:37) ===========
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build;
python3.12 -m pytest -k ' not test_sklearn_regressor_checks and not
test_sklearn_classifier_check and not test_parallel_custom_metric and not
test_parallel_custom_function and not test_parallel_custom_transformer and not
test_get_n_jobs'
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 54 items / 6 deselected / 48 selected
tests/test_estimator_checks.py . [ 2%]
tests/test_examples.py ..... [ 12%]
tests/test_fitness.py .... [ 20%]
tests/test_functions.py .. [ 25%]
tests/test_genetic.py ................................... [ 97%]
tests/test_utils.py . [100%]
=============================== warnings summary ===============================
.pybuild/cpython3_3.12_gplearn/build/tests/test_estimator_checks.py::test_sklearn_transformer_checks
/usr/lib/python3/dist-packages/sklearn/utils/estimator_checks.py:659:
SkipTestWarning: pandas is not installed: not testing for input of type
pandas.Series to class weight.
warnings.warn(str(exception), SkipTestWarning)
.pybuild/cpython3_3.12_gplearn/build/tests/test_estimator_checks.py::test_sklearn_transformer_checks
/usr/lib/python3/dist-packages/sklearn/utils/estimator_checks.py:659:
SkipTestWarning: Skipping check_sample_weights_invariance for
SymbolicTransformer: zero sample_weight is not equivalent to removing samples
warnings.warn(str(exception), SkipTestWarning)
.pybuild/cpython3_3.12_gplearn/build/tests/test_genetic.py: 42 warnings
/usr/lib/python3/dist-packages/joblib/externals/loky/backend/fork_exec.py:38:
DeprecationWarning: This process (pid=2785665) is multi-threaded, use of fork()
may lead to deadlocks in the child.
pid = os.fork()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========== 48 passed, 6 deselected, 44 warnings in 102.27s (0:01:42) ===========
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=pybuild
dh_prep -O--buildsystem=pybuild
dh_auto_install -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py install --root
/<<PKGBUILDDIR>>/debian/python3-gplearn
running install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66:
SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.
********************************************************************************
!!
self.initialize_options()
running build
running build_py
running install_lib
creating
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages
creating
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/utils.py
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/_program.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn
creating
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/__pycache__/genetic.cpython-313.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/__pycache__/fitness.cpython-313.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/__pycache__/__init__.cpython-313.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/__pycache__/_program.cpython-313.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/__pycache__/functions.cpython-313.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/__pycache__/utils.cpython-313.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/__init__.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/genetic.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/fitness.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gplearn/build/gplearn/functions.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/utils.py
to utils.cpython-313.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/_program.py
to _program.cpython-313.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/__init__.py
to __init__.cpython-313.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/genetic.py
to genetic.cpython-313.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/fitness.py
to fitness.cpython-313.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn/functions.py
to functions.cpython-313.pyc
running install_egg_info
running egg_info
creating gplearn.egg-info
writing gplearn.egg-info/PKG-INFO
writing dependency_links to gplearn.egg-info/dependency_links.txt
writing requirements to gplearn.egg-info/requires.txt
writing top-level names to gplearn.egg-info/top_level.txt
writing manifest file 'gplearn.egg-info/SOURCES.txt'
reading manifest file 'gplearn.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'gplearn.egg-info/SOURCES.txt'
Copying gplearn.egg-info to
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.13/dist-packages/gplearn-0.4.2.egg-info
Skipping SOURCES.txt
running install_scripts
I: pybuild base:311: /usr/bin/python3 setup.py install --root
/<<PKGBUILDDIR>>/debian/python3-gplearn
running install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66:
SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.
********************************************************************************
!!
self.initialize_options()
running build
running build_py
running install_lib
creating
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages
creating
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/utils.py
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/_program.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn
creating
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/__pycache__/_program.cpython-312.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/__pycache__/fitness.cpython-312.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/__pycache__/genetic.cpython-312.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/__pycache__/__init__.cpython-312.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/__pycache__/functions.cpython-312.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/__pycache__/utils.cpython-312.pyc
->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__pycache__
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/__init__.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/genetic.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/fitness.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn
copying
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gplearn/build/gplearn/functions.py ->
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/utils.py
to utils.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/_program.py
to _program.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/__init__.py
to __init__.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/genetic.py
to genetic.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/fitness.py
to fitness.cpython-312.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn/functions.py
to functions.cpython-312.pyc
running install_egg_info
running egg_info
writing gplearn.egg-info/PKG-INFO
writing dependency_links to gplearn.egg-info/dependency_links.txt
writing requirements to gplearn.egg-info/requires.txt
writing top-level names to gplearn.egg-info/top_level.txt
reading manifest file 'gplearn.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'gplearn.egg-info/SOURCES.txt'
Copying gplearn.egg-info to
/<<PKGBUILDDIR>>/debian/python3-gplearn/usr/lib/python3.12/dist-packages/gplearn-0.4.2.egg-info
Skipping SOURCES.txt
running install_scripts
debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
https_proxy='127.0.0.1:9' http_proxy='127.0.0.1:9' sphinx-build -b html doc
build/sphinx/html
Running Sphinx v8.1.3
WARNING: Calling get_html_theme_path is deprecated. If you are calling it to
define html_theme_path, you are safe to remove that code.
loading translations [en]... done
making output directory... done
WARNING: favicon file 'favicon.ico' does not exist
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst':
'restructuredtext'}`.
ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/'].
Expected a two-element tuple or list.
Configuration error:
Invalid `intersphinx_mapping` configuration (1 error).
make[1]: *** [debian/rules:16: override_dh_installdocs] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
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.