0s autopkgtest [20:25:02]: starting date and time: 2024-11-14 20:25:02+0000 0s autopkgtest [20:25:02]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [20:25:02]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.utnbe174/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade python-scitrack --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-10.secgroup --name adt-plucky-amd64-python-scitrack-20241114-202502-juju-7f2275-prod-proposed-migration-environment-20-8fa55edb-572d-475d-a6da-ea61c7bd5444 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 83s autopkgtest [20:26:25]: testbed dpkg architecture: amd64 84s autopkgtest [20:26:26]: testbed apt version: 2.9.8 84s autopkgtest [20:26:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 84s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 85s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [105 kB] 85s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.7 kB] 85s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1044 kB] 85s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 85s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [144 kB] 85s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [79.4 kB] 85s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 85s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [805 kB] 85s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [295 kB] 85s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9660 B] 85s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 86s Fetched 2613 kB in 1s (2253 kB/s) 86s Reading package lists... 88s Reading package lists... 88s Building dependency tree... 88s Reading state information... 88s Calculating upgrade... 88s The following NEW packages will be installed: 88s python3.13-gdbm 88s The following packages will be upgraded: 88s libcap-ng0 libpython3-stdlib pastebinit python3 python3-gdbm python3-minimal 88s python3-systemd 88s 7 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 88s Need to get 178 kB of archives. 88s After this operation, 256 kB of additional disk space will be used. 88s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 88s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 88s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 88s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-3build1 [15.6 kB] 89s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 89s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 89s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 pastebinit all 1.7.1-1 [14.9 kB] 89s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build5 [45.7 kB] 89s Fetched 178 kB in 0s (440 kB/s) 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75542 files and directories currently installed.) 89s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 89s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 89s Setting up python3-minimal (3.12.7-1) ... 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75542 files and directories currently installed.) 89s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 89s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 89s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 89s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 89s Preparing to unpack .../libcap-ng0_0.8.5-3build1_amd64.deb ... 89s Unpacking libcap-ng0:amd64 (0.8.5-3build1) over (0.8.5-1) ... 89s Setting up libcap-ng0:amd64 (0.8.5-3build1) ... 89s Selecting previously unselected package python3.13-gdbm. 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75542 files and directories currently installed.) 89s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 89s Unpacking python3.13-gdbm (3.13.0-2) ... 89s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 89s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 89s Preparing to unpack .../pastebinit_1.7.1-1_all.deb ... 89s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 89s Preparing to unpack .../python3-systemd_235-1build5_amd64.deb ... 90s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 90s Setting up python3.13-gdbm (3.13.0-2) ... 90s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 90s Setting up python3 (3.12.7-1) ... 90s Setting up python3-systemd (235-1build5) ... 90s Setting up python3-gdbm:amd64 (3.12.7-1) ... 90s Setting up pastebinit (1.7.1-1) ... 90s Processing triggers for libc-bin (2.40-1ubuntu3) ... 90s Processing triggers for man-db (2.12.1-3) ... 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 91s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 91s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 91s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 91s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 92s Reading package lists... 92s Reading package lists... 92s Building dependency tree... 92s Reading state information... 93s Calculating upgrade... 93s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 93s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 96s autopkgtest [20:26:38]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 96s autopkgtest [20:26:38]: @@@@@@@@@@@@@@@@@@@@ apt-source python-scitrack 97s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (dsc) [2496 B] 97s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (tar) [12.3 kB] 97s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (diff) [3504 B] 99s gpgv: Signature made Wed Oct 9 20:53:37 2024 UTC 99s gpgv: using RSA key 8F91B227C7D6F2B1948C8236793CF67E8F0D11DA 99s gpgv: issuer "emollier@debian.org" 99s gpgv: Can't check signature: No public key 99s dpkg-source: warning: cannot verify inline signature for ./python-scitrack_2024.10.8-1.dsc: no acceptable signature found 99s autopkgtest [20:26:41]: testing package python-scitrack version 2024.10.8-1 99s autopkgtest [20:26:41]: build not needed 100s autopkgtest [20:26:42]: test run-unit-test: preparing testbed 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 108s Starting pkgProblemResolver with broken count: 0 108s Starting 2 pkgProblemResolver with broken count: 0 108s Done 109s The following additional packages will be installed: 109s libblas3 libgfortran5 liblapack3 libpython3.13-minimal libpython3.13-stdlib 109s python3-all python3-iniconfig python3-numpy python3-packaging python3-pluggy 109s python3-pytest python3-scitrack python3.13 python3.13-minimal 109s Suggested packages: 109s gcc gfortran python-numpy-doc python3-dev python3.13-venv python3.13-doc 109s binfmt-support 109s The following NEW packages will be installed: 109s autopkgtest-satdep libblas3 libgfortran5 liblapack3 libpython3.13-minimal 109s libpython3.13-stdlib python3-all python3-iniconfig python3-numpy 109s python3-packaging python3-pluggy python3-pytest python3-scitrack python3.13 109s python3.13-minimal 109s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 109s Need to get 14.5 MB/14.5 MB of archives. 109s After this operation, 59.6 MB of additional disk space will be used. 109s Get:1 /tmp/autopkgtest.7XBaQP/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [732 B] 109s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 109s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 110s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.0-3build2 [247 kB] 110s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 14.2.0-8ubuntu1 [909 kB] 110s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.0-3build2 [2668 kB] 110s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 111s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 111s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 111s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 111s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-numpy amd64 1:1.26.4+ds-11build1 [4479 kB] 111s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 111s Get:13 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 111s Get:14 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 111s Get:15 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-scitrack all 2024.10.8-1 [9590 B] 111s Fetched 14.5 MB in 2s (6049 kB/s) 111s Selecting previously unselected package libpython3.13-minimal:amd64. 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75554 files and directories currently installed.) 111s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_amd64.deb ... 111s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 111s Selecting previously unselected package python3.13-minimal. 111s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_amd64.deb ... 111s Unpacking python3.13-minimal (3.13.0-2) ... 111s Selecting previously unselected package libblas3:amd64. 111s Preparing to unpack .../02-libblas3_3.12.0-3build2_amd64.deb ... 111s Unpacking libblas3:amd64 (3.12.0-3build2) ... 111s Selecting previously unselected package libgfortran5:amd64. 111s Preparing to unpack .../03-libgfortran5_14.2.0-8ubuntu1_amd64.deb ... 111s Unpacking libgfortran5:amd64 (14.2.0-8ubuntu1) ... 112s Selecting previously unselected package liblapack3:amd64. 112s Preparing to unpack .../04-liblapack3_3.12.0-3build2_amd64.deb ... 112s Unpacking liblapack3:amd64 (3.12.0-3build2) ... 112s Selecting previously unselected package libpython3.13-stdlib:amd64. 112s Preparing to unpack .../05-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 112s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 112s Selecting previously unselected package python3.13. 112s Preparing to unpack .../06-python3.13_3.13.0-2_amd64.deb ... 112s Unpacking python3.13 (3.13.0-2) ... 112s Selecting previously unselected package python3-all. 112s Preparing to unpack .../07-python3-all_3.12.7-1_amd64.deb ... 112s Unpacking python3-all (3.12.7-1) ... 112s Selecting previously unselected package python3-iniconfig. 112s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 112s Unpacking python3-iniconfig (1.1.1-2) ... 112s Selecting previously unselected package python3-numpy. 112s Preparing to unpack .../09-python3-numpy_1%3a1.26.4+ds-11build1_amd64.deb ... 112s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 112s Selecting previously unselected package python3-packaging. 112s Preparing to unpack .../10-python3-packaging_24.1-1_all.deb ... 112s Unpacking python3-packaging (24.1-1) ... 112s Selecting previously unselected package python3-pluggy. 112s Preparing to unpack .../11-python3-pluggy_1.5.0-1_all.deb ... 112s Unpacking python3-pluggy (1.5.0-1) ... 112s Selecting previously unselected package python3-pytest. 112s Preparing to unpack .../12-python3-pytest_8.3.3-1_all.deb ... 112s Unpacking python3-pytest (8.3.3-1) ... 112s Selecting previously unselected package python3-scitrack. 112s Preparing to unpack .../13-python3-scitrack_2024.10.8-1_all.deb ... 112s Unpacking python3-scitrack (2024.10.8-1) ... 112s Selecting previously unselected package autopkgtest-satdep. 112s Preparing to unpack .../14-1-autopkgtest-satdep.deb ... 112s Unpacking autopkgtest-satdep (0) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 112s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 112s Setting up libblas3:amd64 (3.12.0-3build2) ... 112s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 112s Setting up python3-packaging (24.1-1) ... 112s Setting up libgfortran5:amd64 (14.2.0-8ubuntu1) ... 112s Setting up python3-pluggy (1.5.0-1) ... 113s Setting up python3-scitrack (2024.10.8-1) ... 113s Setting up python3.13-minimal (3.13.0-2) ... 113s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 113s Setting up liblapack3:amd64 (3.12.0-3build2) ... 113s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 113s Setting up python3.13 (3.13.0-2) ... 114s Setting up python3-pytest (8.3.3-1) ... 115s Setting up python3-all (3.12.7-1) ... 115s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 117s Setting up autopkgtest-satdep (0) ... 117s Processing triggers for systemd (256.5-2ubuntu4) ... 117s Processing triggers for man-db (2.12.1-3) ... 118s Processing triggers for libc-bin (2.40-1ubuntu3) ... 120s (Reading database ... 77363 files and directories currently installed.) 120s Removing autopkgtest-satdep (0) ... 120s autopkgtest [20:27:02]: test run-unit-test: [----------------------- 121s ============================= test session starts ============================== 121s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 121s cachedir: .pytest_cache 121s rootdir: /tmp/autopkgtest.7XBaQP/autopkgtest_tmp 121s plugins: typeguard-4.4.1 121s collecting ... collected 22 items 121s 121s tests/test_logging.py::test_creates_path PASSED [ 4%] 121s tests/test_logging.py::test_set_path_if_exists PASSED [ 9%] 121s tests/test_logging.py::test_tracks_args PASSED [ 13%] 121s tests/test_logging.py::test_tracks_locals PASSED [ 18%] 121s tests/test_logging.py::test_tracks_locals_skip_module PASSED [ 22%] 121s tests/test_logging.py::test_package_inference PASSED [ 27%] 121s tests/test_logging.py::test_package_versioning FAILED [ 31%] 121s tests/test_logging.py::test_tracks_versions FAILED [ 36%] 121s tests/test_logging.py::test_caching FAILED [ 40%] 121s tests/test_logging.py::test_shutdown PASSED [ 45%] 121s tests/test_logging.py::test_tracks_versions_empty PASSED [ 50%] 121s tests/test_logging.py::test_tracks_versions_string FAILED [ 54%] 121s tests/test_logging.py::test_get_version_for_package FAILED [ 59%] 121s tests/test_logging.py::test_tracks_versions_module FAILED [ 63%] 121s tests/test_logging.py::test_appending PASSED [ 68%] 121s tests/test_logging.py::test_mdsum_input PASSED [ 72%] 121s tests/test_logging.py::test_mdsum_output PASSED [ 77%] 121s tests/test_logging.py::test_logging_text PASSED [ 81%] 121s tests/test_logging.py::test_logfile_path PASSED [ 86%] 121s tests/test_logging.py::test_md5sum_text PASSED [ 90%] 121s tests/test_logging.py::test_get_text_hexdigest_invalid PASSED [ 95%] 121s tests/test_logging.py::test_read_from_written PASSED [100%] 121s 121s =================================== FAILURES =================================== 121s ___________________________ test_package_versioning ____________________________ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s > from . import multiarray 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 121s from . import overrides 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """Implementation of __array_function__ overrides from NEP-18.""" 121s import collections 121s import functools 121s import os 121s 121s from .._utils import set_module 121s from .._utils._inspect import getargspec 121s > from numpy.core._multiarray_umath import ( 121s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 121s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 121s 121s During handling of the above exception, another exception occurred: 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s > from numpy.__config__ import show as show_config 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 121s from numpy.core._multiarray_umath import ( 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s from . import multiarray 121s except ImportError as exc: 121s import sys 121s msg = """ 121s 121s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s 121s Importing the numpy C-extensions failed. This error can happen for 121s many reasons, often due to issues with your setup or how NumPy was 121s installed. 121s 121s We have compiled some common reasons and troubleshooting tips at: 121s 121s https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s 121s Please note and check the following: 121s 121s * The Python version is: Python%d.%d from "%s" 121s * The NumPy version is: "%s" 121s 121s and make sure that they are the versions you expect. 121s Please carefully study the documentation linked above for further help. 121s 121s Original error was: %s 121s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 121s __version__, exc) 121s > raise ImportError(msg) 121s E ImportError: 121s E 121s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s E 121s E Importing the numpy C-extensions failed. This error can happen for 121s E many reasons, often due to issues with your setup or how NumPy was 121s E installed. 121s E 121s E We have compiled some common reasons and troubleshooting tips at: 121s E 121s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s E 121s E Please note and check the following: 121s E 121s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 121s E * The NumPy version is: "1.26.4" 121s E 121s E and make sure that they are the versions you expect. 121s E Please carefully study the documentation linked above for further help. 121s E 121s E Original error was: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 121s 121s The above exception was the direct cause of the following exception: 121s 121s def test_package_versioning(): 121s """correctly identify versions for specified packages""" 121s > vn = get_version_for_package("numpy") 121s 121s tests/test_logging.py:109: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 121s mod = importlib.import_module(package) 121s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 121s return _bootstrap._gcd_import(name[level:], package, level) 121s :1387: in _gcd_import 121s ??? 121s :1360: in _find_and_load 121s ??? 121s :1331: in _find_and_load_unlocked 121s ??? 121s :935: in _load_unlocked 121s ??? 121s :1022: in exec_module 121s ??? 121s :488: in _call_with_frames_removed 121s ??? 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s from numpy.__config__ import show as show_config 121s except ImportError as e: 121s msg = """Error importing numpy: you should not try to import numpy from 121s its source directory; please exit the numpy source tree, and relaunch 121s your python interpreter from there.""" 121s > raise ImportError(msg) from e 121s E ImportError: Error importing numpy: you should not try to import numpy from 121s E its source directory; please exit the numpy source tree, and relaunch 121s E your python interpreter from there. 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 121s _____________________________ test_tracks_versions _____________________________ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s > from . import multiarray 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 121s from . import overrides 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """Implementation of __array_function__ overrides from NEP-18.""" 121s import collections 121s import functools 121s import os 121s 121s from .._utils import set_module 121s from .._utils._inspect import getargspec 121s > from numpy.core._multiarray_umath import ( 121s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 121s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 121s 121s During handling of the above exception, another exception occurred: 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s > from numpy.__config__ import show as show_config 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 121s from numpy.core._multiarray_umath import ( 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s from . import multiarray 121s except ImportError as exc: 121s import sys 121s msg = """ 121s 121s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s 121s Importing the numpy C-extensions failed. This error can happen for 121s many reasons, often due to issues with your setup or how NumPy was 121s installed. 121s 121s We have compiled some common reasons and troubleshooting tips at: 121s 121s https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s 121s Please note and check the following: 121s 121s * The Python version is: Python%d.%d from "%s" 121s * The NumPy version is: "%s" 121s 121s and make sure that they are the versions you expect. 121s Please carefully study the documentation linked above for further help. 121s 121s Original error was: %s 121s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 121s __version__, exc) 121s > raise ImportError(msg) 121s E ImportError: 121s E 121s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s E 121s E Importing the numpy C-extensions failed. This error can happen for 121s E many reasons, often due to issues with your setup or how NumPy was 121s E installed. 121s E 121s E We have compiled some common reasons and troubleshooting tips at: 121s E 121s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s E 121s E Please note and check the following: 121s E 121s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 121s E * The NumPy version is: "1.26.4" 121s E 121s E and make sure that they are the versions you expect. 121s E Please carefully study the documentation linked above for further help. 121s E 121s E Original error was: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 121s 121s The above exception was the direct cause of the following exception: 121s 121s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions0/delme.log') 121s 121s def test_tracks_versions(logfile): 121s """should track versions""" 121s LOGGER = CachingLogger(create_dir=True) 121s LOGGER.log_file_path = logfile 121s LOGGER.input_file(TEST_ROOTDIR / "sample-lf.fasta") 121s > LOGGER.log_versions(["numpy"]) 121s 121s tests/test_logging.py:122: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 121s vn = get_version_for_package(package) 121s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 121s mod = importlib.import_module(package) 121s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 121s return _bootstrap._gcd_import(name[level:], package, level) 121s :1387: in _gcd_import 121s ??? 121s :1360: in _find_and_load 121s ??? 121s :1331: in _find_and_load_unlocked 121s ??? 121s :935: in _load_unlocked 121s ??? 121s :1022: in exec_module 121s ??? 121s :488: in _call_with_frames_removed 121s ??? 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s from numpy.__config__ import show as show_config 121s except ImportError as e: 121s msg = """Error importing numpy: you should not try to import numpy from 121s its source directory; please exit the numpy source tree, and relaunch 121s your python interpreter from there.""" 121s > raise ImportError(msg) from e 121s E ImportError: Error importing numpy: you should not try to import numpy from 121s E its source directory; please exit the numpy source tree, and relaunch 121s E your python interpreter from there. 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 121s ------------------------------ Captured log call ------------------------------- 121s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 121s INFO root:__init__.py:244 python : 3.13.0 121s INFO root:__init__.py:245 user : ubuntu 121s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 121s INFO root:__init__.py:179 input_file_path : /tmp/autopkgtest.7XBaQP/autopkgtest_tmp/tests/sample-lf.fasta 121s INFO root:__init__.py:179 input_file_path md5sum : 96eb2c2632bae19eb65ea9224aaafdad 121s _________________________________ test_caching _________________________________ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s > from . import multiarray 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 121s from . import overrides 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """Implementation of __array_function__ overrides from NEP-18.""" 121s import collections 121s import functools 121s import os 121s 121s from .._utils import set_module 121s from .._utils._inspect import getargspec 121s > from numpy.core._multiarray_umath import ( 121s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 121s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 121s 121s During handling of the above exception, another exception occurred: 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s > from numpy.__config__ import show as show_config 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 121s from numpy.core._multiarray_umath import ( 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s from . import multiarray 121s except ImportError as exc: 121s import sys 121s msg = """ 121s 121s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s 121s Importing the numpy C-extensions failed. This error can happen for 121s many reasons, often due to issues with your setup or how NumPy was 121s installed. 121s 121s We have compiled some common reasons and troubleshooting tips at: 121s 121s https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s 121s Please note and check the following: 121s 121s * The Python version is: Python%d.%d from "%s" 121s * The NumPy version is: "%s" 121s 121s and make sure that they are the versions you expect. 121s Please carefully study the documentation linked above for further help. 121s 121s Original error was: %s 121s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 121s __version__, exc) 121s > raise ImportError(msg) 121s E ImportError: 121s E 121s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s E 121s E Importing the numpy C-extensions failed. This error can happen for 121s E many reasons, often due to issues with your setup or how NumPy was 121s E installed. 121s E 121s E We have compiled some common reasons and troubleshooting tips at: 121s E 121s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s E 121s E Please note and check the following: 121s E 121s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 121s E * The NumPy version is: "1.26.4" 121s E 121s E and make sure that they are the versions you expect. 121s E Please carefully study the documentation linked above for further help. 121s E 121s E Original error was: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 121s 121s The above exception was the direct cause of the following exception: 121s 121s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_caching0/delme.log') 121s 121s def test_caching(logfile): 121s """should cache calls prior to logging""" 121s LOGGER = CachingLogger(create_dir=True) 121s LOGGER.input_file(TEST_ROOTDIR / "sample-lf.fasta") 121s assert ( 121s "sample-lf.fasta" in LOGGER._messages[-2] and "md5sum" in LOGGER._messages[-1] 121s ) 121s > LOGGER.log_versions(["numpy"]) 121s 121s tests/test_logging.py:145: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 121s vn = get_version_for_package(package) 121s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 121s mod = importlib.import_module(package) 121s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 121s return _bootstrap._gcd_import(name[level:], package, level) 121s :1387: in _gcd_import 121s ??? 121s :1360: in _find_and_load 121s ??? 121s :1331: in _find_and_load_unlocked 121s ??? 121s :935: in _load_unlocked 121s ??? 121s :1022: in exec_module 121s ??? 121s :488: in _call_with_frames_removed 121s ??? 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s from numpy.__config__ import show as show_config 121s except ImportError as e: 121s msg = """Error importing numpy: you should not try to import numpy from 121s its source directory; please exit the numpy source tree, and relaunch 121s your python interpreter from there.""" 121s > raise ImportError(msg) from e 121s E ImportError: Error importing numpy: you should not try to import numpy from 121s E its source directory; please exit the numpy source tree, and relaunch 121s E your python interpreter from there. 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 121s _________________________ test_tracks_versions_string __________________________ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s > from . import multiarray 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 121s from . import overrides 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """Implementation of __array_function__ overrides from NEP-18.""" 121s import collections 121s import functools 121s import os 121s 121s from .._utils import set_module 121s from .._utils._inspect import getargspec 121s > from numpy.core._multiarray_umath import ( 121s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 121s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 121s 121s During handling of the above exception, another exception occurred: 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s > from numpy.__config__ import show as show_config 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 121s from numpy.core._multiarray_umath import ( 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s from . import multiarray 121s except ImportError as exc: 121s import sys 121s msg = """ 121s 121s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s 121s Importing the numpy C-extensions failed. This error can happen for 121s many reasons, often due to issues with your setup or how NumPy was 121s installed. 121s 121s We have compiled some common reasons and troubleshooting tips at: 121s 121s https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s 121s Please note and check the following: 121s 121s * The Python version is: Python%d.%d from "%s" 121s * The NumPy version is: "%s" 121s 121s and make sure that they are the versions you expect. 121s Please carefully study the documentation linked above for further help. 121s 121s Original error was: %s 121s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 121s __version__, exc) 121s > raise ImportError(msg) 121s E ImportError: 121s E 121s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s E 121s E Importing the numpy C-extensions failed. This error can happen for 121s E many reasons, often due to issues with your setup or how NumPy was 121s E installed. 121s E 121s E We have compiled some common reasons and troubleshooting tips at: 121s E 121s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s E 121s E Please note and check the following: 121s E 121s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 121s E * The NumPy version is: "1.26.4" 121s E 121s E and make sure that they are the versions you expect. 121s E Please carefully study the documentation linked above for further help. 121s E 121s E Original error was: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 121s 121s The above exception was the direct cause of the following exception: 121s 121s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions_string0/delme.log') 121s 121s def test_tracks_versions_string(logfile): 121s """should track version if package name is a string""" 121s LOGGER = CachingLogger(create_dir=True) 121s LOGGER.log_file_path = logfile 121s > LOGGER.log_versions("numpy") 121s 121s tests/test_logging.py:182: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 121s vn = get_version_for_package(package) 121s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 121s mod = importlib.import_module(package) 121s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 121s return _bootstrap._gcd_import(name[level:], package, level) 121s :1387: in _gcd_import 121s ??? 121s :1360: in _find_and_load 121s ??? 121s :1331: in _find_and_load_unlocked 121s ??? 121s :935: in _load_unlocked 121s ??? 121s :1022: in exec_module 121s ??? 121s :488: in _call_with_frames_removed 121s ??? 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s from numpy.__config__ import show as show_config 121s except ImportError as e: 121s msg = """Error importing numpy: you should not try to import numpy from 121s its source directory; please exit the numpy source tree, and relaunch 121s your python interpreter from there.""" 121s > raise ImportError(msg) from e 121s E ImportError: Error importing numpy: you should not try to import numpy from 121s E its source directory; please exit the numpy source tree, and relaunch 121s E your python interpreter from there. 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 121s ------------------------------ Captured log call ------------------------------- 121s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 121s INFO root:__init__.py:244 python : 3.13.0 121s INFO root:__init__.py:245 user : ubuntu 121s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 121s _________________________ test_get_version_for_package _________________________ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s > from . import multiarray 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 121s from . import overrides 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """Implementation of __array_function__ overrides from NEP-18.""" 121s import collections 121s import functools 121s import os 121s 121s from .._utils import set_module 121s from .._utils._inspect import getargspec 121s > from numpy.core._multiarray_umath import ( 121s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 121s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 121s 121s During handling of the above exception, another exception occurred: 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s > from numpy.__config__ import show as show_config 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 121s from numpy.core._multiarray_umath import ( 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s from . import multiarray 121s except ImportError as exc: 121s import sys 121s msg = """ 121s 121s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s 121s Importing the numpy C-extensions failed. This error can happen for 121s many reasons, often due to issues with your setup or how NumPy was 121s installed. 121s 121s We have compiled some common reasons and troubleshooting tips at: 121s 121s https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s 121s Please note and check the following: 121s 121s * The Python version is: Python%d.%d from "%s" 121s * The NumPy version is: "%s" 121s 121s and make sure that they are the versions you expect. 121s Please carefully study the documentation linked above for further help. 121s 121s Original error was: %s 121s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 121s __version__, exc) 121s > raise ImportError(msg) 121s E ImportError: 121s E 121s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s E 121s E Importing the numpy C-extensions failed. This error can happen for 121s E many reasons, often due to issues with your setup or how NumPy was 121s E installed. 121s E 121s E We have compiled some common reasons and troubleshooting tips at: 121s E 121s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s E 121s E Please note and check the following: 121s E 121s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 121s E * The NumPy version is: "1.26.4" 121s E 121s E and make sure that they are the versions you expect. 121s E Please carefully study the documentation linked above for further help. 121s E 121s E Original error was: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 121s 121s The above exception was the direct cause of the following exception: 121s 121s def test_get_version_for_package(): 121s """should track version if package is a module""" 121s > import numpy 121s 121s tests/test_logging.py:195: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s from numpy.__config__ import show as show_config 121s except ImportError as e: 121s msg = """Error importing numpy: you should not try to import numpy from 121s its source directory; please exit the numpy source tree, and relaunch 121s your python interpreter from there.""" 121s > raise ImportError(msg) from e 121s E ImportError: Error importing numpy: you should not try to import numpy from 121s E its source directory; please exit the numpy source tree, and relaunch 121s E your python interpreter from there. 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 121s _________________________ test_tracks_versions_module __________________________ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s > from . import multiarray 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 121s from . import overrides 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """Implementation of __array_function__ overrides from NEP-18.""" 121s import collections 121s import functools 121s import os 121s 121s from .._utils import set_module 121s from .._utils._inspect import getargspec 121s > from numpy.core._multiarray_umath import ( 121s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 121s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 121s 121s During handling of the above exception, another exception occurred: 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s > from numpy.__config__ import show as show_config 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 121s from numpy.core._multiarray_umath import ( 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 121s 121s Please note that this module is private. All functions and objects 121s are available in the main ``numpy`` namespace - use that instead. 121s 121s """ 121s 121s import os 121s import warnings 121s 121s from numpy.version import version as __version__ 121s 121s 121s # disables OpenBLAS affinity setting of the main thread that limits 121s # python threads or processes to one core 121s env_added = [] 121s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 121s if envkey not in os.environ: 121s os.environ[envkey] = '1' 121s env_added.append(envkey) 121s 121s try: 121s from . import multiarray 121s except ImportError as exc: 121s import sys 121s msg = """ 121s 121s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s 121s Importing the numpy C-extensions failed. This error can happen for 121s many reasons, often due to issues with your setup or how NumPy was 121s installed. 121s 121s We have compiled some common reasons and troubleshooting tips at: 121s 121s https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s 121s Please note and check the following: 121s 121s * The Python version is: Python%d.%d from "%s" 121s * The NumPy version is: "%s" 121s 121s and make sure that they are the versions you expect. 121s Please carefully study the documentation linked above for further help. 121s 121s Original error was: %s 121s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 121s __version__, exc) 121s > raise ImportError(msg) 121s E ImportError: 121s E 121s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 121s E 121s E Importing the numpy C-extensions failed. This error can happen for 121s E many reasons, often due to issues with your setup or how NumPy was 121s E installed. 121s E 121s E We have compiled some common reasons and troubleshooting tips at: 121s E 121s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 121s E 121s E Please note and check the following: 121s E 121s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 121s E * The NumPy version is: "1.26.4" 121s E 121s E and make sure that they are the versions you expect. 121s E Please carefully study the documentation linked above for further help. 121s E 121s E Original error was: No module named 'numpy.core._multiarray_umath' 121s 121s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 121s 121s The above exception was the direct cause of the following exception: 121s 121s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions_module0/delme.log') 121s 121s def test_tracks_versions_module(logfile): 121s """should track version if package is a module""" 121s LOGGER = CachingLogger(create_dir=True) 121s LOGGER.log_file_path = logfile 121s > import numpy 121s 121s tests/test_logging.py:222: 121s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 121s 121s """ 121s NumPy 121s ===== 121s 121s Provides 121s 1. An array object of arbitrary homogeneous items 121s 2. Fast mathematical operations over arrays 121s 3. Linear Algebra, Fourier Transforms, Random Number Generation 121s 121s How to use the documentation 121s ---------------------------- 121s Documentation is available in two forms: docstrings provided 121s with the code, and a loose standing reference guide, available from 121s `the NumPy homepage `_. 121s 121s We recommend exploring the docstrings using 121s `IPython `_, an advanced Python shell with 121s TAB-completion and introspection capabilities. See below for further 121s instructions. 121s 121s The docstring examples assume that `numpy` has been imported as ``np``:: 121s 121s >>> import numpy as np 121s 121s Code snippets are indicated by three greater-than signs:: 121s 121s >>> x = 42 121s >>> x = x + 1 121s 121s Use the built-in ``help`` function to view a function's docstring:: 121s 121s >>> help(np.sort) 121s ... # doctest: +SKIP 121s 121s For some objects, ``np.info(obj)`` may provide additional help. This is 121s particularly true if you see the line "Help on ufunc object:" at the top 121s of the help() page. Ufuncs are implemented in C, not Python, for speed. 121s The native Python help() does not know how to view their help, but our 121s np.info() function does. 121s 121s To search for documents containing a keyword, do:: 121s 121s >>> np.lookfor('keyword') 121s ... # doctest: +SKIP 121s 121s General-purpose documents like a glossary and help on the basic concepts 121s of numpy are available under the ``doc`` sub-module:: 121s 121s >>> from numpy import doc 121s >>> help(doc) 121s ... # doctest: +SKIP 121s 121s Available subpackages 121s --------------------- 121s lib 121s Basic functions used by several sub-packages. 121s random 121s Core Random Tools 121s linalg 121s Core Linear Algebra Tools 121s fft 121s Core FFT routines 121s polynomial 121s Polynomial tools 121s testing 121s NumPy testing tools 121s distutils 121s Enhancements to distutils with support for 121s Fortran compilers support and more (for Python <= 3.11). 121s 121s Utilities 121s --------- 121s test 121s Run numpy unittests 121s show_config 121s Show numpy build configuration 121s matlib 121s Make everything matrices. 121s __version__ 121s NumPy version string 121s 121s Viewing documentation using IPython 121s ----------------------------------- 121s 121s Start IPython and import `numpy` usually under the alias ``np``: `import 121s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 121s examples into the shell. To see which functions are available in `numpy`, 121s type ``np.`` (where ```` refers to the TAB key), or use 121s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 121s down the list. To view the docstring for a function, use 121s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 121s the source code). 121s 121s Copies vs. in-place operation 121s ----------------------------- 121s Most of the functions in `numpy` return a copy of the array argument 121s (e.g., `np.sort`). In-place versions of these functions are often 121s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 121s Exceptions to this rule are documented. 121s 121s """ 121s import sys 121s import warnings 121s 121s from ._globals import _NoValue, _CopyMode 121s # These exceptions were moved in 1.25 and are hidden from __dir__() 121s from .exceptions import ( 121s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 121s TooHardError, AxisError) 121s 121s 121s # If a version with git hash was stored, use that instead 121s from . import version 121s from .version import __version__ 121s 121s # We first need to detect if we're being called as part of the numpy setup 121s # procedure itself in a reliable manner. 121s try: 121s __NUMPY_SETUP__ 121s except NameError: 121s __NUMPY_SETUP__ = False 121s 121s if __NUMPY_SETUP__: 121s sys.stderr.write('Running from numpy source directory.\n') 121s else: 121s # Allow distributors to run custom init code before importing numpy.core 121s from . import _distributor_init 121s 121s try: 121s from numpy.__config__ import show as show_config 121s except ImportError as e: 121s msg = """Error importing numpy: you should not try to import numpy from 121s its source directory; please exit the numpy source tree, and relaunch 121s your python interpreter from there.""" 121s > raise ImportError(msg) from e 121s E ImportError: Error importing numpy: you should not try to import numpy from 121s E its source directory; please exit the numpy source tree, and relaunch 121s E your python interpreter from there. 121s 121s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 121s ------------------------------ Captured log call ------------------------------- 121s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 121s INFO root:__init__.py:244 python : 3.13.0 121s INFO root:__init__.py:245 user : ubuntu 121s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 121s =========================== short test summary info ============================ 121s FAILED tests/test_logging.py::test_package_versioning - ImportError: Error im... 121s FAILED tests/test_logging.py::test_tracks_versions - ImportError: Error impor... 121s FAILED tests/test_logging.py::test_caching - ImportError: Error importing num... 121s FAILED tests/test_logging.py::test_tracks_versions_string - ImportError: Erro... 121s FAILED tests/test_logging.py::test_get_version_for_package - ImportError: Err... 121s FAILED tests/test_logging.py::test_tracks_versions_module - ImportError: Erro... 121s ========================= 6 failed, 16 passed in 0.19s ========================= 121s autopkgtest [20:27:03]: test run-unit-test: -----------------------] 122s autopkgtest [20:27:04]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 122s run-unit-test FAIL non-zero exit status 1 122s autopkgtest [20:27:04]: test autodep8-python3: preparing testbed 175s autopkgtest [20:27:57]: testbed dpkg architecture: amd64 175s autopkgtest [20:27:57]: testbed apt version: 2.9.8 175s autopkgtest [20:27:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 176s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 176s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1044 kB] 177s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [105 kB] 177s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.7 kB] 177s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 177s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [144 kB] 177s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [79.4 kB] 177s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 177s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [295 kB] 177s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [805 kB] 177s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9660 B] 177s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 177s Fetched 2613 kB in 1s (3235 kB/s) 177s Reading package lists... 179s Reading package lists... 179s Building dependency tree... 179s Reading state information... 180s Calculating upgrade... 180s The following NEW packages will be installed: 180s python3.13-gdbm 180s The following packages will be upgraded: 180s libcap-ng0 libpython3-stdlib pastebinit python3 python3-gdbm python3-minimal 180s python3-systemd 180s 7 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 180s Need to get 178 kB of archives. 180s After this operation, 256 kB of additional disk space will be used. 180s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 180s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 180s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 180s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-3build1 [15.6 kB] 180s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 180s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 180s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 pastebinit all 1.7.1-1 [14.9 kB] 180s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build5 [45.7 kB] 181s Fetched 178 kB in 0s (441 kB/s) 181s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75542 files and directories currently installed.) 181s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 181s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 181s Setting up python3-minimal (3.12.7-1) ... 181s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75542 files and directories currently installed.) 181s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 181s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 181s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 181s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 181s Preparing to unpack .../libcap-ng0_0.8.5-3build1_amd64.deb ... 181s Unpacking libcap-ng0:amd64 (0.8.5-3build1) over (0.8.5-1) ... 181s Setting up libcap-ng0:amd64 (0.8.5-3build1) ... 181s Selecting previously unselected package python3.13-gdbm. 181s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75542 files and directories currently installed.) 181s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 181s Unpacking python3.13-gdbm (3.13.0-2) ... 181s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 181s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 181s Preparing to unpack .../pastebinit_1.7.1-1_all.deb ... 181s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 181s Preparing to unpack .../python3-systemd_235-1build5_amd64.deb ... 181s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 181s Setting up python3.13-gdbm (3.13.0-2) ... 181s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 181s Setting up python3 (3.12.7-1) ... 182s Setting up python3-systemd (235-1build5) ... 182s Setting up python3-gdbm:amd64 (3.12.7-1) ... 182s Setting up pastebinit (1.7.1-1) ... 182s Processing triggers for libc-bin (2.40-1ubuntu3) ... 182s Processing triggers for man-db (2.12.1-3) ... 182s Reading package lists... 182s Building dependency tree... 182s Reading state information... 183s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 183s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 183s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 183s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 183s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 184s Reading package lists... 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 185s Calculating upgrade... 185s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 185s Reading package lists... 185s Building dependency tree... 185s Reading state information... 185s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 189s Reading package lists... 189s Building dependency tree... 189s Reading state information... 190s Starting pkgProblemResolver with broken count: 0 190s Starting 2 pkgProblemResolver with broken count: 0 190s Done 190s The following additional packages will be installed: 190s libpython3.13-minimal libpython3.13-stdlib python3-all python3-scitrack 190s python3.13 python3.13-minimal 190s Suggested packages: 190s python3.13-venv python3.13-doc binfmt-support 190s The following NEW packages will be installed: 190s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 190s python3-scitrack python3.13 python3.13-minimal 190s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 190s Need to get 5903 kB/5904 kB of archives. 190s After this operation, 22.5 MB of additional disk space will be used. 190s Get:1 /tmp/autopkgtest.7XBaQP/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [716 B] 190s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 191s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 191s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 191s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 191s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 191s Get:7 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-scitrack all 2024.10.8-1 [9590 B] 191s Fetched 5903 kB in 1s (7356 kB/s) 191s Selecting previously unselected package libpython3.13-minimal:amd64. 191s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75554 files and directories currently installed.) 191s Preparing to unpack .../0-libpython3.13-minimal_3.13.0-2_amd64.deb ... 191s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 191s Selecting previously unselected package python3.13-minimal. 191s Preparing to unpack .../1-python3.13-minimal_3.13.0-2_amd64.deb ... 191s Unpacking python3.13-minimal (3.13.0-2) ... 191s Selecting previously unselected package libpython3.13-stdlib:amd64. 191s Preparing to unpack .../2-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 191s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 191s Selecting previously unselected package python3.13. 192s Preparing to unpack .../3-python3.13_3.13.0-2_amd64.deb ... 192s Unpacking python3.13 (3.13.0-2) ... 192s Selecting previously unselected package python3-all. 192s Preparing to unpack .../4-python3-all_3.12.7-1_amd64.deb ... 192s Unpacking python3-all (3.12.7-1) ... 192s Selecting previously unselected package python3-scitrack. 192s Preparing to unpack .../5-python3-scitrack_2024.10.8-1_all.deb ... 192s Unpacking python3-scitrack (2024.10.8-1) ... 192s Selecting previously unselected package autopkgtest-satdep. 192s Preparing to unpack .../6-2-autopkgtest-satdep.deb ... 192s Unpacking autopkgtest-satdep (0) ... 192s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 192s Setting up python3-scitrack (2024.10.8-1) ... 192s Setting up python3.13-minimal (3.13.0-2) ... 192s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 192s Setting up python3.13 (3.13.0-2) ... 193s Setting up python3-all (3.12.7-1) ... 193s Setting up autopkgtest-satdep (0) ... 193s Processing triggers for man-db (2.12.1-3) ... 193s Processing triggers for systemd (256.5-2ubuntu4) ... 196s (Reading database ... 76298 files and directories currently installed.) 196s Removing autopkgtest-satdep (0) ... 197s autopkgtest [20:28:19]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import scitrack; print(scitrack)" ; done 197s autopkgtest [20:28:19]: test autodep8-python3: [----------------------- 197s Testing with python3.13: 197s 197s Testing with python3.12: 198s 198s autopkgtest [20:28:20]: test autodep8-python3: -----------------------] 198s autodep8-python3 PASS (superficial) 198s autopkgtest [20:28:20]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 199s autopkgtest [20:28:21]: @@@@@@@@@@@@@@@@@@@@ summary 199s run-unit-test FAIL non-zero exit status 1 199s autodep8-python3 PASS (superficial) 250s nova [W] Skipping flock for amd64 250s Creating nova instance adt-plucky-amd64-python-scitrack-20241114-202502-juju-7f2275-prod-proposed-migration-environment-20-8fa55edb-572d-475d-a6da-ea61c7bd5444 from image adt/ubuntu-plucky-amd64-server-20241114.img (UUID 79d80331-8736-463c-82c6-8c9e13c0a4ca)... 250s nova [W] Skipping flock for amd64 250s Creating nova instance adt-plucky-amd64-python-scitrack-20241114-202502-juju-7f2275-prod-proposed-migration-environment-20-8fa55edb-572d-475d-a6da-ea61c7bd5444 from image adt/ubuntu-plucky-amd64-server-20241114.img (UUID 79d80331-8736-463c-82c6-8c9e13c0a4ca)...