Bug#1054780: spopt: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:34:07 BST 2023


Source: spopt
Version: 0.5.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> file spopt.py (for module spopt) not found
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt
> copying spopt/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt
> copying spopt/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt
> copying spopt/BaseClass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> copying spopt/locate/p_dispersion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> copying spopt/locate/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> copying spopt/locate/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> copying spopt/locate/p_median.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> copying spopt/locate/coverage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> copying spopt/locate/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> copying spopt/locate/p_center.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/spenc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/ward.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/region_k_means.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/objective_function.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/maxp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/csgraph_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/random_region.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/azp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/components.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/azp_util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> copying spopt/region/skater.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_random_regions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_p_center.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_region_util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_azp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_p_dispersion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_lscp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_spenc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_locate_util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_lscpb.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_mclp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_p_median.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_clscp-so.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_ward.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_maxp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_skater.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> copying spopt/tests/test_region_k_means.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region/spenclib
> copying spopt/region/spenclib/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region/spenclib
> copying spopt/region/spenclib/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region/spenclib
> copying spopt/region/spenclib/scores.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region/spenclib
> copying spopt/region/spenclib/abstracts.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/region/spenclib
> file spopt.py (for module spopt) not found
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/_version.py to '0.5.0'
> PYTHONPATH=. \
> 	https_proxy='https://127.0.0.1:9/' \
> 	no_proxy=localhost python3 -m sphinx -N -bhtml -d \
> 	debian/doctrees docs/ debian/html
> Running Sphinx v5.3.0
> making output directory... done
> checking bibtex cache... out of date
> parsing bibtex file /<<PKGBUILDDIR>>/docs/_static/references.bib... parsed 22 entries
> [autosummary] generating autosummary for: api.rst, index.rst, installation.rst, references.rst, tutorials.rst
> [autosummary] generating autosummary for: /<<PKGBUILDDIR>>/docs/generated/spopt.locate.PCenter.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.locate.PDispersion.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.locate.PMedian.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.locate.coverage.LSCP.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.locate.coverage.LSCPB.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.locate.coverage.MCLP.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.AZP.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.MaxPHeuristic.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.RandomRegion.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.RandomRegions.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.RegionKMeansHeuristic.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.Skater.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.Spenc.rst, /<<PKGBUILDDIR>>/docs/generated/spopt.region.WardSpatial.rst
> loading intersphinx inventory from https://pysal.org/esda/objects.inv...
> loading intersphinx inventory from https://geopandas.org/en/latest/objects.inv...
> loading intersphinx inventory from https://giddy.readthedocs.io/en/latest/objects.inv...
> loading intersphinx inventory from https://hdbscan.readthedocs.io/en/latest/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://pysal.org/esda/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='pysal.org', port=443): Max retries exceeded with url: /esda/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a600b010>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from https://pysal.org/libpysal/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://hdbscan.readthedocs.io/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='hdbscan.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5e30e50>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from https://numpy.org/doc/stable/objects.inv...
> loading intersphinx inventory from https://pandas.pydata.org/pandas-docs/stable/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://pysal.org/libpysal/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='pysal.org', port=443): Max retries exceeded with url: /libpysal/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5e3d310>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://giddy.readthedocs.io/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='giddy.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5ddaf10>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from https://coin-or.github.io/pulp/objects.inv...
> loading intersphinx inventory from https://docs.python.org/3.11/objects.inv...
> loading intersphinx inventory from https://region.readthedocs.io/en/latest/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://coin-or.github.io/pulp/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='coin-or.github.io', port=443): Max retries exceeded with url: /pulp/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5ddbf10>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from https://docs.scipy.org/doc/scipy/objects.inv...
> loading intersphinx inventory from https://scikit-learn.org/stable/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://geopandas.org/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='geopandas.org', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5e6aa90>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://region.readthedocs.io/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='region.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5dd9f90>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://docs.python.org/3.11/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3.11/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5d94c50>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5e3cc10>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://docs.scipy.org/doc/scipy/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded with url: /doc/scipy/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5e40c10>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://scikit-learn.org/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='scikit-learn.org', port=443): Max retries exceeded with url: /stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5e40390>: Failed to establish a new connection: [Errno 111] Connection refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://pandas.pydata.org/pandas-docs/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='pandas.pydata.org', port=443): Max retries exceeded with url: /pandas-docs/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5e30250>: Failed to establish a new connection: [Errno 111] Connection refused')))
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 5 source files that are out of date
> updating environment: [new config] 19 added, 0 changed, 0 removed
> reading sources... [  5%] api
> reading sources... [ 10%] generated/spopt.locate.PCenter
> reading sources... [ 15%] generated/spopt.locate.PDispersion
> reading sources... [ 21%] generated/spopt.locate.PMedian
> reading sources... [ 26%] generated/spopt.locate.coverage.LSCP
> reading sources... [ 31%] generated/spopt.locate.coverage.LSCPB
> reading sources... [ 36%] generated/spopt.locate.coverage.MCLP
> reading sources... [ 42%] generated/spopt.region.AZP
> reading sources... [ 47%] generated/spopt.region.MaxPHeuristic
> reading sources... [ 52%] generated/spopt.region.RandomRegion
> reading sources... [ 57%] generated/spopt.region.RandomRegions
> reading sources... [ 63%] generated/spopt.region.RegionKMeansHeuristic
> reading sources... [ 68%] generated/spopt.region.Skater
> reading sources... [ 73%] generated/spopt.region.Spenc
> reading sources... [ 78%] generated/spopt.region.WardSpatial
> reading sources... [ 84%] index
> reading sources... [ 89%] installation
> reading sources... [ 94%] references
> reading sources... [100%] tutorials
> 
> /<<PKGBUILDDIR>>/docs/tutorials.rst:4: WARNING: toctree contains reference to nonexisting document 'notebooks/maxp'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:4: WARNING: toctree contains reference to nonexisting document 'notebooks/azp'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:4: WARNING: toctree contains reference to nonexisting document 'notebooks/skater'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:4: WARNING: toctree contains reference to nonexisting document 'notebooks/ward'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:4: WARNING: toctree contains reference to nonexisting document 'notebooks/reg-k-means'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:4: WARNING: toctree contains reference to nonexisting document 'notebooks/randomregion'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:4: WARNING: toctree contains reference to nonexisting document 'notebooks/component_policy'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/lscp'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/lscp_gis'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/lscp_capacity'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/lscpb'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/mclp'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/mclp_gis'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/p-center'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/p-median'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/p-dispersion'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/facloc-real-world'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/facloc-lscpb-real-world'
> /<<PKGBUILDDIR>>/docs/tutorials.rst:16: WARNING: toctree contains reference to nonexisting document 'notebooks/facloc-disperse-real-world'
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  5%] api
> writing output... [ 10%] generated/spopt.locate.PCenter
> writing output... [ 15%] generated/spopt.locate.PDispersion
> writing output... [ 21%] generated/spopt.locate.PMedian
> writing output... [ 26%] generated/spopt.locate.coverage.LSCP
> writing output... [ 31%] generated/spopt.locate.coverage.LSCPB
> writing output... [ 36%] generated/spopt.locate.coverage.MCLP
> writing output... [ 42%] generated/spopt.region.AZP
> writing output... [ 47%] generated/spopt.region.MaxPHeuristic
> writing output... [ 52%] generated/spopt.region.RandomRegion
> writing output... [ 57%] generated/spopt.region.RandomRegions
> writing output... [ 63%] generated/spopt.region.RegionKMeansHeuristic
> writing output... [ 68%] generated/spopt.region.Skater
> writing output... [ 73%] generated/spopt.region.Spenc
> writing output... [ 78%] generated/spopt.region.WardSpatial
> writing output... [ 84%] index
> writing output... [ 89%] installation
> writing output... [ 94%] references
> writing output... [100%] tutorials
> 
> /<<PKGBUILDDIR>>/spopt/locate/p_center.py:docstring of spopt.locate.p_center.PCenter:6: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/locate/p_dispersion.py:docstring of spopt.locate.p_dispersion.PDispersion:6: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/locate/p_median.py:docstring of spopt.locate.p_median.PMedian:6: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/locate/coverage.py:docstring of spopt.locate.coverage.LSCP:7: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/locate/coverage.py:docstring of spopt.locate.coverage.LSCPB:4: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/locate/coverage.py:docstring of spopt.locate.coverage.MCLP:7: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/region/maxp.py:docstring of spopt.region.maxp.MaxPHeuristic:30: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/region/random_region.py:docstring of spopt.region.random_region.RandomRegion:24: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/region/random_region.py:docstring of spopt.region.random_region.RandomRegion:111: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/region/random_region.py:docstring of spopt.region.random_region.RandomRegions:23: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/region/region_k_means.py:docstring of spopt.region.region_k_means.RegionKMeansHeuristic:13: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/region/skater.py:docstring of spopt.region.skater.Skater:21: WARNING: undefined label: 'python:bltin-boolean-values'
> /<<PKGBUILDDIR>>/spopt/region/spenc.py:docstring of spopt.region.spenc.Spenc.__init__:42: WARNING: term not in glossary: 'numpy:array_like'
> /<<PKGBUILDDIR>>/spopt/region/spenc.py:docstring of spopt.region.spenc.Spenc.__init__:121: WARNING: term not in glossary: 'numpy:array_like'
> generating indices... genindex done
> highlighting module code... [  9%] spopt.locate.coverage
> highlighting module code... [ 18%] spopt.locate.p_center
> highlighting module code... [ 27%] spopt.locate.p_dispersion
> highlighting module code... [ 36%] spopt.locate.p_median
> highlighting module code... [ 45%] spopt.region.azp
> highlighting module code... [ 54%] spopt.region.maxp
> highlighting module code... [ 63%] spopt.region.random_region
> highlighting module code... [ 72%] spopt.region.region_k_means
> highlighting module code... [ 81%] spopt.region.skater
> highlighting module code... [ 90%] spopt.region.spenc
> highlighting module code... [100%] spopt.region.ward
> 
> writing additional pages... search done
> copying images... [100%] _static/images/nsf_logo.png
> 
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 45 warnings.
> 
> The HTML pages are in debian/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:314: cp -r /<<PKGBUILDDIR>>/spopt/tests/data /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/tests
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build; python3.11 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: cov-4.1.0, xdist-3.3.1
> collected 113 items / 7 errors
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.11_spopt/build/spopt/tests/test_azp.py __
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
>     exec(co, module.__dict__)
> spopt/tests/test_azp.py:14: in <module>
>     MEXICO = geopandas.read_file(pth)
> /usr/lib/python3/dist-packages/geopandas/io/file.py:297: in _read_file
>     return _read_file_fiona(
> /usr/lib/python3/dist-packages/geopandas/io/file.py:338: in _read_file_fiona
>     with reader(path_or_bytes, **kwargs) as features:
> /usr/lib/python3/dist-packages/fiona/env.py:457: in wrapper
>     return f(*args, **kwds)
> /usr/lib/python3/dist-packages/fiona/__init__.py:289: in open
>     path = parse_path(fp)
> /usr/lib/python3/dist-packages/fiona/path.py:136: in parse_path
>     elif path.startswith('/vsi'):
> E   AttributeError: 'NoneType' object has no attribute 'startswith'
> ------------------------------- Captured stdout --------------------------------
> mexicojoin.shp is not a file in any installed dataset.
> _ ERROR collecting .pybuild/cpython3_3.11_spopt/build/spopt/tests/test_maxp.py _
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
>     exec(co, module.__dict__)
> spopt/tests/test_maxp.py:13: in <module>
>     MEXICO = geopandas.read_file(pth)
> /usr/lib/python3/dist-packages/geopandas/io/file.py:297: in _read_file
>     return _read_file_fiona(
> /usr/lib/python3/dist-packages/geopandas/io/file.py:338: in _read_file_fiona
>     with reader(path_or_bytes, **kwargs) as features:
> /usr/lib/python3/dist-packages/fiona/env.py:457: in wrapper
>     return f(*args, **kwds)
> /usr/lib/python3/dist-packages/fiona/__init__.py:289: in open
>     path = parse_path(fp)
> /usr/lib/python3/dist-packages/fiona/path.py:136: in parse_path
>     elif path.startswith('/vsi'):
> E   AttributeError: 'NoneType' object has no attribute 'startswith'
> ------------------------------- Captured stdout --------------------------------
> mexicojoin.shp is not a file in any installed dataset.
> _ ERROR collecting .pybuild/cpython3_3.11_spopt/build/spopt/tests/test_random_regions.py _
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
>     exec(co, module.__dict__)
> spopt/tests/test_random_regions.py:12: in <module>
>     MEXICO = geopandas.read_file(pth)
> /usr/lib/python3/dist-packages/geopandas/io/file.py:297: in _read_file
>     return _read_file_fiona(
> /usr/lib/python3/dist-packages/geopandas/io/file.py:338: in _read_file_fiona
>     with reader(path_or_bytes, **kwargs) as features:
> /usr/lib/python3/dist-packages/fiona/env.py:457: in wrapper
>     return f(*args, **kwds)
> /usr/lib/python3/dist-packages/fiona/__init__.py:289: in open
>     path = parse_path(fp)
> /usr/lib/python3/dist-packages/fiona/path.py:136: in parse_path
>     elif path.startswith('/vsi'):
> E   AttributeError: 'NoneType' object has no attribute 'startswith'
> ------------------------------- Captured stdout --------------------------------
> mexicojoin.shp is not a file in any installed dataset.
> _ ERROR collecting .pybuild/cpython3_3.11_spopt/build/spopt/tests/test_region_util.py _
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
>     exec(co, module.__dict__)
> spopt/tests/test_region_util.py:15: in <module>
>     MEXICO = geopandas.read_file(pth)
> /usr/lib/python3/dist-packages/geopandas/io/file.py:297: in _read_file
>     return _read_file_fiona(
> /usr/lib/python3/dist-packages/geopandas/io/file.py:338: in _read_file_fiona
>     with reader(path_or_bytes, **kwargs) as features:
> /usr/lib/python3/dist-packages/fiona/env.py:457: in wrapper
>     return f(*args, **kwds)
> /usr/lib/python3/dist-packages/fiona/__init__.py:289: in open
>     path = parse_path(fp)
> /usr/lib/python3/dist-packages/fiona/path.py:136: in parse_path
>     elif path.startswith('/vsi'):
> E   AttributeError: 'NoneType' object has no attribute 'startswith'
> ------------------------------- Captured stdout --------------------------------
> mexicojoin.shp is not a file in any installed dataset.
> _ ERROR collecting .pybuild/cpython3_3.11_spopt/build/spopt/tests/test_skater.py _
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
>     exec(co, module.__dict__)
> spopt/tests/test_skater.py:15: in <module>
>     MEXICO = geopandas.read_file(pth)
> /usr/lib/python3/dist-packages/geopandas/io/file.py:297: in _read_file
>     return _read_file_fiona(
> /usr/lib/python3/dist-packages/geopandas/io/file.py:338: in _read_file_fiona
>     with reader(path_or_bytes, **kwargs) as features:
> /usr/lib/python3/dist-packages/fiona/env.py:457: in wrapper
>     return f(*args, **kwds)
> /usr/lib/python3/dist-packages/fiona/__init__.py:289: in open
>     path = parse_path(fp)
> /usr/lib/python3/dist-packages/fiona/path.py:136: in parse_path
>     elif path.startswith('/vsi'):
> E   AttributeError: 'NoneType' object has no attribute 'startswith'
> ------------------------------- Captured stdout --------------------------------
> mexicojoin.shp is not a file in any installed dataset.
> _ ERROR collecting .pybuild/cpython3_3.11_spopt/build/spopt/tests/test_spenc.py _
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
>     exec(co, module.__dict__)
> spopt/tests/test_spenc.py:13: in <module>
>     MEXICO = geopandas.read_file(pth)
> /usr/lib/python3/dist-packages/geopandas/io/file.py:297: in _read_file
>     return _read_file_fiona(
> /usr/lib/python3/dist-packages/geopandas/io/file.py:338: in _read_file_fiona
>     with reader(path_or_bytes, **kwargs) as features:
> /usr/lib/python3/dist-packages/fiona/env.py:457: in wrapper
>     return f(*args, **kwds)
> /usr/lib/python3/dist-packages/fiona/__init__.py:289: in open
>     path = parse_path(fp)
> /usr/lib/python3/dist-packages/fiona/path.py:136: in parse_path
>     elif path.startswith('/vsi'):
> E   AttributeError: 'NoneType' object has no attribute 'startswith'
> ------------------------------- Captured stdout --------------------------------
> mexicojoin.shp is not a file in any installed dataset.
> _ ERROR collecting .pybuild/cpython3_3.11_spopt/build/spopt/tests/test_ward.py _
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
>     exec(co, module.__dict__)
> spopt/tests/test_ward.py:12: in <module>
>     MEXICO = geopandas.read_file(pth)
> /usr/lib/python3/dist-packages/geopandas/io/file.py:297: in _read_file
>     return _read_file_fiona(
> /usr/lib/python3/dist-packages/geopandas/io/file.py:338: in _read_file_fiona
>     with reader(path_or_bytes, **kwargs) as features:
> /usr/lib/python3/dist-packages/fiona/env.py:457: in wrapper
>     return f(*args, **kwds)
> /usr/lib/python3/dist-packages/fiona/__init__.py:289: in open
>     path = parse_path(fp)
> /usr/lib/python3/dist-packages/fiona/path.py:136: in parse_path
>     elif path.startswith('/vsi'):
> E   AttributeError: 'NoneType' object has no attribute 'startswith'
> ------------------------------- Captured stdout --------------------------------
> mexicojoin.shp is not a file in any installed dataset.
> =============================== warnings summary ===============================
> spopt/locate/base.py:493
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build/spopt/locate/base.py:493: DeprecationWarning: invalid escape sequence '\l'
>     """
> 
> ../../../../../../usr/lib/python3/dist-packages/spaghetti/network.py:40
>   /usr/lib/python3/dist-packages/spaghetti/network.py:40: FutureWarning: The next major release of pysal/spaghetti (2.0.0) will drop support for all ``libpysal.cg`` geometries. This change is a first step in refactoring ``spaghetti`` that is expected to result in dramatically reduced runtimes for network instantiation and operations. Users currently requiring network and point pattern input as ``libpysal.cg`` geometries should prepare for this simply by converting to ``shapely`` geometries.
>     warnings.warn(dep_msg, FutureWarning, stacklevel=1)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR spopt/tests/test_azp.py - AttributeError: 'NoneType' object has no attr...
> ERROR spopt/tests/test_maxp.py - AttributeError: 'NoneType' object has no att...
> ERROR spopt/tests/test_random_regions.py - AttributeError: 'NoneType' object ...
> ERROR spopt/tests/test_region_util.py - AttributeError: 'NoneType' object has...
> ERROR spopt/tests/test_skater.py - AttributeError: 'NoneType' object has no a...
> ERROR spopt/tests/test_spenc.py - AttributeError: 'NoneType' object has no at...
> ERROR spopt/tests/test_ward.py - AttributeError: 'NoneType' object has no att...
> !!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!!
> ======================== 2 warnings, 7 errors in 3.39s =========================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spopt/build; python3.11 -m pytest 
> 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/spopt_0.5.0-3_unstable.log

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



More information about the debian-science-maintainers mailing list