Source: bottleneck Version: 1.3.2+ds1-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20221220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > python3 setup.py build_ext --inplace > running build_ext > running config > building 'bottleneck.reduce' extension > creating build > creating build/temp.linux-x86_64-cpython-310 > creating build/temp.linux-x86_64-cpython-310/bottleneck > creating build/temp.linux-x86_64-cpython-310/bottleneck/src > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/reduce.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/reduce.o -O2 > creating build/lib.linux-x86_64-cpython-310 > creating build/lib.linux-x86_64-cpython-310/bottleneck > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-310/bottleneck/src/reduce.o > -L/usr/lib/x86_64-linux-gnu -o > build/lib.linux-x86_64-cpython-310/bottleneck/reduce.cpython-310-x86_64-linux-gnu.so > building 'bottleneck.move' extension > creating build/temp.linux-x86_64-cpython-310/bottleneck/src/move_median > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/move.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/move.o -O2 > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c > bottleneck/src/move_median/move_median.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/move_median/move_median.o > -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-310/bottleneck/src/move.o > build/temp.linux-x86_64-cpython-310/bottleneck/src/move_median/move_median.o > -L/usr/lib/x86_64-linux-gnu -o > build/lib.linux-x86_64-cpython-310/bottleneck/move.cpython-310-x86_64-linux-gnu.so > building 'bottleneck.nonreduce' extension > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/nonreduce.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce.o > -L/usr/lib/x86_64-linux-gnu -o > build/lib.linux-x86_64-cpython-310/bottleneck/nonreduce.cpython-310-x86_64-linux-gnu.so > building 'bottleneck.nonreduce_axis' extension > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/nonreduce_axis.c > -o build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce_axis.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce_axis.o > -L/usr/lib/x86_64-linux-gnu -o > build/lib.linux-x86_64-cpython-310/bottleneck/nonreduce_axis.cpython-310-x86_64-linux-gnu.so > copying > build/lib.linux-x86_64-cpython-310/bottleneck/reduce.cpython-310-x86_64-linux-gnu.so > -> bottleneck > copying > build/lib.linux-x86_64-cpython-310/bottleneck/move.cpython-310-x86_64-linux-gnu.so > -> bottleneck > copying > build/lib.linux-x86_64-cpython-310/bottleneck/nonreduce.cpython-310-x86_64-linux-gnu.so > -> bottleneck > copying > build/lib.linux-x86_64-cpython-310/bottleneck/nonreduce_axis.cpython-310-x86_64-linux-gnu.so > -> bottleneck > PYTHONPATH=. python3 setup.py build_sphinx > running build_sphinx > Running Sphinx v5.3.0 > making output directory... done > WARNING: extlinks: Sphinx-6.0 will require a caption string to contain > exactly one '%s' and all other '%' need to be escaped as '%%'. > loading intersphinx inventory from > https://docs.scipy.org/doc/numpy/objects.inv... > loading intersphinx inventory from > https://numpydoc.readthedocs.io/en/latest/objects.inv... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'https://numpydoc.readthedocs.io/en/latest/objects.inv' > not fetchable due to <class 'requests.exceptions.ProxyError'>: > HTTPSConnectionPool(host='numpydoc.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 0x7f2cb94e0730>: 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/numpy/objects.inv' not > fetchable due to <class 'requests.exceptions.ProxyError'>: > HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded > with url: /doc/numpy/objects.inv (Caused by ProxyError('Cannot connect to > proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at > 0x7f2cb94e0e50>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > [autosummary] generating autosummary for: bottleneck.benchmark.rst, > bottleneck.move.rst, bottleneck.nonreduce.rst, bottleneck.nonreduce_axis.rst, > bottleneck.reduce.rst, bottleneck.rst, bottleneck.slow.rst, > bottleneck.src.rst, bottleneck.tests.rst, index.rst, intro.rst, license.rst, > reference.rst, release.rst > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 14 source files that are out of date > updating environment: [new config] 14 added, 0 changed, 0 removed > reading sources... [ 7%] bottleneck > reading sources... [ 14%] bottleneck.benchmark > reading sources... [ 21%] bottleneck.move > reading sources... [ 28%] bottleneck.nonreduce > reading sources... [ 35%] bottleneck.nonreduce_axis > reading sources... [ 42%] bottleneck.reduce > reading sources... [ 50%] bottleneck.slow > reading sources... [ 57%] bottleneck.src > reading sources... [ 64%] bottleneck.tests > reading sources... [ 71%] index > reading sources... [ 78%] intro > reading sources... [ 85%] license > reading sources... [ 92%] reference > reading sources... [100%] release > > RELEASE.rst:23: ERROR: Unknown directive type "contributors". > > .. contributors:: v1.3.1..v1.3.2 > RELEASE.rst:41: ERROR: Unknown directive type "contributors". > > .. contributors:: v1.3.0..v1.3.1 > RELEASE.rst:108: ERROR: Unknown directive type "contributors". > > .. contributors:: v1.2.1..v1.3.0 > RELEASE.rst:131: ERROR: Unknown directive type "contributors". > > .. contributors:: v1.2.0..v1.2.1 > RELEASE.rst:180: ERROR: Unknown directive type "contributors". > > .. contributors:: v1.1.0..v1.2.0 > RELEASE.rst:238: ERROR: Unknown directive type "contributors". > > .. contributors:: v1.0.0..v1.1.0 > RELEASE.rst:290: ERROR: Unknown directive type "contributors". > > .. contributors:: v0.8.0..v1.0.0 > RELEASE.rst:310: ERROR: Unknown directive type "contributors". > > .. contributors:: v0.7.0..v0.8.0 > RELEASE.rst:335: ERROR: Unknown directive type "contributors". > > .. contributors:: v0.6.0..v0.7.0 > RELEASE.rst:370: ERROR: Unknown directive type "contributors". > > .. contributors:: v0.5.0..v0.6.0 > looking for now-outdated files... none found > pickling environment... done > checking consistency... /<<PKGBUILDDIR>>/doc/source/bottleneck.rst: WARNING: > document isn't included in any toctree > done > preparing documents... done > writing output... [ 7%] bottleneck > writing output... [ 14%] bottleneck.benchmark > writing output... [ 21%] bottleneck.move > writing output... [ 28%] bottleneck.nonreduce > writing output... [ 35%] bottleneck.nonreduce_axis > writing output... [ 42%] bottleneck.reduce > writing output... [ 50%] bottleneck.slow > writing output... [ 57%] bottleneck.src > writing output... [ 64%] bottleneck.tests > writing output... [ 71%] index > writing output... [ 78%] intro > writing output... [ 85%] license > writing output... [ 92%] reference > writing output... [100%] release > > /<<PKGBUILDDIR>>/bottleneck/slow/reduce.py:docstring of > bottleneck.slow.reduce.allnan:16: WARNING: undefined label: > 'ufuncs-output-type' > /<<PKGBUILDDIR>>/bottleneck/slow/reduce.py:docstring of > bottleneck.slow.reduce.allnan:17: WARNING: undefined label: > 'ufuncs-output-type' > generating indices... genindex py-modindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 16 warnings. > > The HTML pages are in build/sphinx/html. > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build -O--buildsystem=pybuild -Npython-bottleneck-doc > I: pybuild base:240: /usr/bin/python3.11 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck > copying bottleneck/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck > copying bottleneck/_pytesttester.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck > copying bottleneck/_version.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/autotimeit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/bench_detailed.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/bench.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/benchmark > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/src > copying bottleneck/src/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/src > copying bottleneck/src/bn_template.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/src > copying bottleneck/src/bn_config.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/src > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/slow > copying bottleneck/slow/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/slow > copying bottleneck/slow/reduce.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/slow > copying bottleneck/slow/move.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/slow > copying bottleneck/slow/nonreduce.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/slow > copying bottleneck/slow/nonreduce_axis.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/slow > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/memory_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/scalar_input_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/nonreduce_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/list_input_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/reduce_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/input_modification_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/nonreduce_axis_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > copying bottleneck/tests/move_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests > UPDATING > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/_version.py > set > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/_version.py > to '1.3.2' > running build_ext > running config > building 'bottleneck.reduce' extension > creating build/temp.linux-x86_64-cpython-311 > creating build/temp.linux-x86_64-cpython-311/bottleneck > creating build/temp.linux-x86_64-cpython-311/bottleneck/src > x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g > -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g > -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 > -Ibottleneck/src -c bottleneck/src/reduce.c -o > build/temp.linux-x86_64-cpython-311/bottleneck/src/reduce.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-311/bottleneck/src/reduce.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/reduce.cpython-311-x86_64-linux-gnu.so > building 'bottleneck.move' extension > creating build/temp.linux-x86_64-cpython-311/bottleneck/src/move_median > x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g > -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g > -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 > -Ibottleneck/src -c bottleneck/src/move.c -o > build/temp.linux-x86_64-cpython-311/bottleneck/src/move.o -O2 > x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g > -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g > -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 > -Ibottleneck/src -c bottleneck/src/move_median/move_median.c -o > build/temp.linux-x86_64-cpython-311/bottleneck/src/move_median/move_median.o > -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-311/bottleneck/src/move.o > build/temp.linux-x86_64-cpython-311/bottleneck/src/move_median/move_median.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/move.cpython-311-x86_64-linux-gnu.so > building 'bottleneck.nonreduce' extension > x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g > -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g > -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 > -Ibottleneck/src -c bottleneck/src/nonreduce.c -o > build/temp.linux-x86_64-cpython-311/bottleneck/src/nonreduce.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-311/bottleneck/src/nonreduce.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/nonreduce.cpython-311-x86_64-linux-gnu.so > building 'bottleneck.nonreduce_axis' extension > x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g > -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g > -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.11 > -Ibottleneck/src -c bottleneck/src/nonreduce_axis.c -o > build/temp.linux-x86_64-cpython-311/bottleneck/src/nonreduce_axis.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-311/bottleneck/src/nonreduce_axis.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/nonreduce_axis.cpython-311-x86_64-linux-gnu.so > I: pybuild base:240: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck > copying bottleneck/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck > copying bottleneck/_pytesttester.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck > copying bottleneck/_version.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/autotimeit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/bench_detailed.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/benchmark > copying bottleneck/benchmark/bench.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/benchmark > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/src > copying bottleneck/src/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/src > copying bottleneck/src/bn_template.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/src > copying bottleneck/src/bn_config.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/src > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/slow > copying bottleneck/slow/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/slow > copying bottleneck/slow/reduce.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/slow > copying bottleneck/slow/move.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/slow > copying bottleneck/slow/nonreduce.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/slow > copying bottleneck/slow/nonreduce_axis.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/slow > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/memory_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/scalar_input_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/nonreduce_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/list_input_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/reduce_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/input_modification_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/nonreduce_axis_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > copying bottleneck/tests/move_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests > UPDATING > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/_version.py > set > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/_version.py > to '1.3.2' > running build_ext > running config > building 'bottleneck.reduce' extension > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/reduce.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/reduce.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-310/bottleneck/src/reduce.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/reduce.cpython-310-x86_64-linux-gnu.so > building 'bottleneck.move' extension > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/move.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/move.o -O2 > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c > bottleneck/src/move_median/move_median.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/move_median/move_median.o > -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-310/bottleneck/src/move.o > build/temp.linux-x86_64-cpython-310/bottleneck/src/move_median/move_median.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/move.cpython-310-x86_64-linux-gnu.so > building 'bottleneck.nonreduce' extension > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/nonreduce.c -o > build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/nonreduce.cpython-310-x86_64-linux-gnu.so > building 'bottleneck.nonreduce_axis' extension > x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv > -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g > -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include > -I/usr/include/python3.10 -Ibottleneck/src -c bottleneck/src/nonreduce_axis.c > -o build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce_axis.o -O2 > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 > build/temp.linux-x86_64-cpython-310/bottleneck/src/nonreduce_axis.o > -L/usr/lib/x86_64-linux-gnu -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/nonreduce_axis.cpython-310-x86_64-linux-gnu.so > dh_auto_test -O--buildsystem=pybuild -Npython-bottleneck-doc > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build; python3.11 -m > pytest > ============================= test session starts > ============================== > platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > collected 191 items > > bottleneck/tests/input_modification_test.py ............................ [ > 14%] > . [ > 15%] > bottleneck/tests/list_input_test.py ...................FF........ [ > 30%] > bottleneck/tests/memory_test.py . [ > 30%] > bottleneck/tests/move_test.py ......FF........FF............... [ > 48%] > bottleneck/tests/nonreduce_axis_test.py .................... [ > 58%] > bottleneck/tests/nonreduce_test.py .......... [ > 63%] > bottleneck/tests/reduce_test.py ........................................ [ > 84%] > ........... [ > 90%] > bottleneck/tests/scalar_input_test.py .................. > [100%] > > =================================== FAILURES > =================================== > _________________________ test_list_input[move_argmin] > _________________________ > > func = <built-in function move_argmin> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > > actual = func(a) > E TypeError: wrong number of arguments > > bottleneck/tests/list_input_test.py:42: TypeError > > During handling of the above exception, another exception occurred: > > func = <built-in function move_argmin> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > actual = func(a) > desired = func0(a) > except TypeError: > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/list_input_test.py:46: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:75: in move_argmin > return move_func(argmin, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([0.]), axis = -1 > > def argmin(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:59: IndexError > _________________________ test_list_input[move_argmax] > _________________________ > > func = <built-in function move_argmax> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > > actual = func(a) > E TypeError: wrong number of arguments > > bottleneck/tests/list_input_test.py:42: TypeError > > During handling of the above exception, another exception occurred: > > func = <built-in function move_argmax> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > actual = func(a) > desired = func0(a) > except TypeError: > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/list_input_test.py:46: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:101: in move_argmax > return move_func(argmax, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([0.]), axis = -1 > > def argmax(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:85: IndexError > ____________________________ test_move[move_argmin] > ____________________________ > > func = <built-in function move_argmin> > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_move(func): > """Test that bn.xxx gives the same output as a reference function.""" > fmt = ( > "\nfunc %s | window %d | min_count %s | input %s (%s) | shape %s > | " > "axis %s | order %s\n" > ) > fmt += "\nInput array:\n%s\n" > aaae = assert_array_almost_equal > func_name = func.__name__ > func0 = eval("bn.slow.%s" % func_name) > if func_name == "move_var": > decimal = 3 > else: > decimal = 5 > for i, a in enumerate(arrays(func_name)): > axes = range(-1, a.ndim) > for axis in axes: > windows = range(1, a.shape[axis]) > for window in windows: > min_counts = list(range(1, window + 1)) + [None] > for min_count in min_counts: > actual = func(a, window, min_count, axis=axis) > > desired = func0(a, window, min_count, axis=axis) > > bottleneck/tests/move_test.py:33: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:75: in move_argmin > return move_func(argmin, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([inf]), axis = -1 > > def argmin(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:59: IndexError > ____________________________ test_move[move_argmax] > ____________________________ > > func = <built-in function move_argmax> > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_move(func): > """Test that bn.xxx gives the same output as a reference function.""" > fmt = ( > "\nfunc %s | window %d | min_count %s | input %s (%s) | shape %s > | " > "axis %s | order %s\n" > ) > fmt += "\nInput array:\n%s\n" > aaae = assert_array_almost_equal > func_name = func.__name__ > func0 = eval("bn.slow.%s" % func_name) > if func_name == "move_var": > decimal = 3 > else: > decimal = 5 > for i, a in enumerate(arrays(func_name)): > axes = range(-1, a.ndim) > for axis in axes: > windows = range(1, a.shape[axis]) > for window in windows: > min_counts = list(range(1, window + 1)) + [None] > for min_count in min_counts: > actual = func(a, window, min_count, axis=axis) > > desired = func0(a, window, min_count, axis=axis) > > bottleneck/tests/move_test.py:33: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:101: in move_argmax > return move_func(argmax, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([inf]), axis = -1 > > def argmax(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:85: IndexError > ________________________ test_arg_parsing[move_argmin] > _________________________ > > func = <built-in function move_argmin>, decimal = 5 > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_arg_parsing(func, decimal=5): > """test argument parsing.""" > > name = func.__name__ > func0 = eval("bn.slow.%s" % name) > > a = np.array([1.0, 2, 3]) > > fmt = "\n%s" % func > fmt += "%s\n" > fmt += "\nInput array:\n%s\n" % a > > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/move_test.py:71: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:75: in move_argmin > return move_func(argmin, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([1.]), axis = -1 > > def argmin(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:59: IndexError > ________________________ test_arg_parsing[move_argmax] > _________________________ > > func = <built-in function move_argmax>, decimal = 5 > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_arg_parsing(func, decimal=5): > """test argument parsing.""" > > name = func.__name__ > func0 = eval("bn.slow.%s" % name) > > a = np.array([1.0, 2, 3]) > > fmt = "\n%s" % func > fmt += "%s\n" > fmt += "\nInput array:\n%s\n" % a > > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/move_test.py:71: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:101: in move_argmax > return move_func(argmax, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([1.]), axis = -1 > > def argmax(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:85: IndexError > =============================== warnings summary > =============================== > .pybuild/cpython3_3.11_bottleneck/build/bottleneck/tests/move_test.py: 51962 > warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build/bottleneck/slow/move.py:168: > DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. > To silence this warning, use `bool` by itself. Doing this will not modify any > behavior and is safe. If you specifically wanted the numpy scalar type, use > `np.bool_` here. > Deprecated in NumPy 1.20; for more details and guidance: > https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations > idx = np.empty(a.shape, dtype=np.bool) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED bottleneck/tests/list_input_test.py::test_list_input[move_argmin] - > In... > FAILED bottleneck/tests/list_input_test.py::test_list_input[move_argmax] - > In... > FAILED bottleneck/tests/move_test.py::test_move[move_argmin] - IndexError: > on... > FAILED bottleneck/tests/move_test.py::test_move[move_argmax] - IndexError: > on... > FAILED bottleneck/tests/move_test.py::test_arg_parsing[move_argmin] - > IndexEr... > FAILED bottleneck/tests/move_test.py::test_arg_parsing[move_argmax] - > IndexEr... > ================ 6 failed, 185 passed, 51962 warnings in 41.72s > ================ > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottleneck/build; python3.11 -m > pytest > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build; python3.10 -m > pytest > ============================= test session starts > ============================== > platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > collected 191 items > > bottleneck/tests/input_modification_test.py ............................ [ > 14%] > . [ > 15%] > bottleneck/tests/list_input_test.py ...................FF........ [ > 30%] > bottleneck/tests/memory_test.py . [ > 30%] > bottleneck/tests/move_test.py ......FF........FF............... [ > 48%] > bottleneck/tests/nonreduce_axis_test.py .................... [ > 58%] > bottleneck/tests/nonreduce_test.py .......... [ > 63%] > bottleneck/tests/reduce_test.py ........................................ [ > 84%] > ........... [ > 90%] > bottleneck/tests/scalar_input_test.py .................. > [100%] > > =================================== FAILURES > =================================== > _________________________ test_list_input[move_argmin] > _________________________ > > func = <built-in function move_argmin> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > > actual = func(a) > E TypeError: wrong number of arguments > > bottleneck/tests/list_input_test.py:42: TypeError > > During handling of the above exception, another exception occurred: > > func = <built-in function move_argmin> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > actual = func(a) > desired = func0(a) > except TypeError: > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/list_input_test.py:46: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:75: in move_argmin > return move_func(argmin, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([0.]), axis = -1 > > def argmin(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:59: IndexError > _________________________ test_list_input[move_argmax] > _________________________ > > func = <built-in function move_argmax> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > > actual = func(a) > E TypeError: wrong number of arguments > > bottleneck/tests/list_input_test.py:42: TypeError > > During handling of the above exception, another exception occurred: > > func = <built-in function move_argmax> > > @pytest.mark.parametrize("func", bn.get_functions("all"), ids=lambda x: > x.__name__) > def test_list_input(func): > """Test that bn.xxx gives the same output as bn.slow.xxx for list > input.""" > msg = "\nfunc %s | input %s (%s) | shape %s\n" > msg += "\nInput array:\n%s\n" > name = func.__name__ > if name == "replace": > return > func0 = eval("bn.slow.%s" % name) > for i, a in enumerate(lists()): > with warnings.catch_warnings(): > warnings.simplefilter("ignore") > try: > actual = func(a) > desired = func0(a) > except TypeError: > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/list_input_test.py:46: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:101: in move_argmax > return move_func(argmax, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([0.]), axis = -1 > > def argmax(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:85: IndexError > ____________________________ test_move[move_argmin] > ____________________________ > > func = <built-in function move_argmin> > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_move(func): > """Test that bn.xxx gives the same output as a reference function.""" > fmt = ( > "\nfunc %s | window %d | min_count %s | input %s (%s) | shape %s > | " > "axis %s | order %s\n" > ) > fmt += "\nInput array:\n%s\n" > aaae = assert_array_almost_equal > func_name = func.__name__ > func0 = eval("bn.slow.%s" % func_name) > if func_name == "move_var": > decimal = 3 > else: > decimal = 5 > for i, a in enumerate(arrays(func_name)): > axes = range(-1, a.ndim) > for axis in axes: > windows = range(1, a.shape[axis]) > for window in windows: > min_counts = list(range(1, window + 1)) + [None] > for min_count in min_counts: > actual = func(a, window, min_count, axis=axis) > > desired = func0(a, window, min_count, axis=axis) > > bottleneck/tests/move_test.py:33: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:75: in move_argmin > return move_func(argmin, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([inf]), axis = -1 > > def argmin(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:59: IndexError > ____________________________ test_move[move_argmax] > ____________________________ > > func = <built-in function move_argmax> > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_move(func): > """Test that bn.xxx gives the same output as a reference function.""" > fmt = ( > "\nfunc %s | window %d | min_count %s | input %s (%s) | shape %s > | " > "axis %s | order %s\n" > ) > fmt += "\nInput array:\n%s\n" > aaae = assert_array_almost_equal > func_name = func.__name__ > func0 = eval("bn.slow.%s" % func_name) > if func_name == "move_var": > decimal = 3 > else: > decimal = 5 > for i, a in enumerate(arrays(func_name)): > axes = range(-1, a.ndim) > for axis in axes: > windows = range(1, a.shape[axis]) > for window in windows: > min_counts = list(range(1, window + 1)) + [None] > for min_count in min_counts: > actual = func(a, window, min_count, axis=axis) > > desired = func0(a, window, min_count, axis=axis) > > bottleneck/tests/move_test.py:33: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:101: in move_argmax > return move_func(argmax, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([inf]), axis = -1 > > def argmax(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:85: IndexError > ________________________ test_arg_parsing[move_argmin] > _________________________ > > func = <built-in function move_argmin>, decimal = 5 > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_arg_parsing(func, decimal=5): > """test argument parsing.""" > > name = func.__name__ > func0 = eval("bn.slow.%s" % name) > > a = np.array([1.0, 2, 3]) > > fmt = "\n%s" % func > fmt += "%s\n" > fmt += "\nInput array:\n%s\n" % a > > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/move_test.py:71: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:75: in move_argmin > return move_func(argmin, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([1.]), axis = -1 > > def argmin(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:59: IndexError > ________________________ test_arg_parsing[move_argmax] > _________________________ > > func = <built-in function move_argmax>, decimal = 5 > > @pytest.mark.parametrize("func", bn.get_functions("move"), ids=lambda x: > x.__name__) > def test_arg_parsing(func, decimal=5): > """test argument parsing.""" > > name = func.__name__ > func0 = eval("bn.slow.%s" % name) > > a = np.array([1.0, 2, 3]) > > fmt = "\n%s" % func > fmt += "%s\n" > fmt += "\nInput array:\n%s\n" % a > > actual = func(a, 2) > > desired = func0(a, 2) > > bottleneck/tests/move_test.py:71: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > bottleneck/slow/move.py:101: in move_argmax > return move_func(argmax, a, window, min_count, axis=axis) > bottleneck/slow/move.py:149: in move_func > y[tuple(idx2)] = func(a[tuple(idx1)], axis=axis, **kwargs) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > a = array([1.]), axis = -1 > > def argmax(a, axis): > a = np.array(a, copy=False) > flip = [slice(None)] * a.ndim > flip[axis] = slice(None, None, -1) > > a = a[flip] # if tie, pick index of rightmost tie > E IndexError: only integers, slices (`:`), ellipsis (`...`), > numpy.newaxis (`None`) and integer or boolean arrays are valid indices > > bottleneck/slow/move.py:85: IndexError > =============================== warnings summary > =============================== > .pybuild/cpython3_3.10_bottleneck/build/bottleneck/tests/move_test.py: 51962 > warnings > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build/bottleneck/slow/move.py:168: > DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. > To silence this warning, use `bool` by itself. Doing this will not modify any > behavior and is safe. If you specifically wanted the numpy scalar type, use > `np.bool_` here. > Deprecated in NumPy 1.20; for more details and guidance: > https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations > idx = np.empty(a.shape, dtype=np.bool) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED bottleneck/tests/list_input_test.py::test_list_input[move_argmin] - > In... > FAILED bottleneck/tests/list_input_test.py::test_list_input[move_argmax] - > In... > FAILED bottleneck/tests/move_test.py::test_move[move_argmin] - IndexError: > on... > FAILED bottleneck/tests/move_test.py::test_move[move_argmax] - IndexError: > on... > FAILED bottleneck/tests/move_test.py::test_arg_parsing[move_argmin] - > IndexEr... > FAILED bottleneck/tests/move_test.py::test_arg_parsing[move_argmax] - > IndexEr... > ================ 6 failed, 185 passed, 51962 warnings in 44.46s > ================ > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottleneck/build; python3.10 -m > pytest > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 > 3.10" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/12/20/bottleneck_1.3.2+ds1-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@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.