0s autopkgtest [04:46:53]: starting date and time: 2024-11-15 04:46:53+0000 0s autopkgtest [04:46:53]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [04:46:53]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.unrxdzzy/out --timeout-copy=6000 -a i386 --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-i386-python-scitrack-20241115-044653-juju-7f2275-prod-proposed-migration-environment-20-73c8c845-3e73-4668-8b48-6e836581a285 --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/ 38s autopkgtest [04:47:31]: testbed dpkg architecture: amd64 38s autopkgtest [04:47:31]: testbed apt version: 2.9.8 39s autopkgtest [04:47:32]: test architecture: i386 39s autopkgtest [04:47:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 40s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 40s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1027 kB] 40s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 40s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.3 kB] 40s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 40s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [131 kB] 40s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [202 kB] 40s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 40s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [296 kB] 40s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [810 kB] 40s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9128 B] 40s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 40s Fetched 2705 kB in 1s (3423 kB/s) 40s Reading package lists... 43s Reading package lists... 44s Building dependency tree... 44s Reading state information... 44s Calculating upgrade... 44s The following NEW packages will be installed: 44s python3.13-gdbm 44s The following packages will be upgraded: 44s firmware-sof-signed libcap-ng0 libexpat1 libpython3-stdlib lxd-installer 44s man-db pastebinit python3 python3-gdbm python3-minimal python3-systemd 44s xfsprogs 44s 12 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 44s Need to get 9638 kB of archives. 44s After this operation, 542 kB of additional disk space will be used. 44s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 44s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 44s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 44s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 firmware-sof-signed all 2024.06-1ubuntu2 [7083 kB] 45s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-3build1 [15.6 kB] 45s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libexpat1 amd64 2.6.4-1 [94.9 kB] 45s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 man-db amd64 2.13.0-1 [1352 kB] 45s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 45s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 45s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 lxd-installer all 9 [5084 B] 45s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 pastebinit all 1.7.1-1 [14.9 kB] 45s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build5 [45.7 kB] 45s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 xfsprogs amd64 6.8.0-2.2ubuntu2 [926 kB] 45s Preconfiguring packages ... 45s Fetched 9638 kB in 1s (11.0 MB/s) 45s (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.) 45s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 45s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 45s Setting up python3-minimal (3.12.7-1) ... 45s (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.) 45s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 45s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 45s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 45s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 45s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu2_all.deb ... 45s Unpacking firmware-sof-signed (2024.06-1ubuntu2) over (2024.06-1ubuntu1) ... 46s Preparing to unpack .../libcap-ng0_0.8.5-3build1_amd64.deb ... 46s Unpacking libcap-ng0:amd64 (0.8.5-3build1) over (0.8.5-1) ... 46s Setting up libcap-ng0:amd64 (0.8.5-3build1) ... 46s (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 ... 75568 files and directories currently installed.) 46s Preparing to unpack .../0-libexpat1_2.6.4-1_amd64.deb ... 46s Unpacking libexpat1:amd64 (2.6.4-1) over (2.6.2-2) ... 46s Preparing to unpack .../1-man-db_2.13.0-1_amd64.deb ... 46s Unpacking man-db (2.13.0-1) over (2.12.1-3) ... 46s Selecting previously unselected package python3.13-gdbm. 46s Preparing to unpack .../2-python3.13-gdbm_3.13.0-2_amd64.deb ... 46s Unpacking python3.13-gdbm (3.13.0-2) ... 46s Preparing to unpack .../3-python3-gdbm_3.12.7-1_amd64.deb ... 46s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 46s Preparing to unpack .../4-lxd-installer_9_all.deb ... 46s Unpacking lxd-installer (9) over (8) ... 46s Preparing to unpack .../5-pastebinit_1.7.1-1_all.deb ... 46s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 46s Preparing to unpack .../6-python3-systemd_235-1build5_amd64.deb ... 46s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 46s Preparing to unpack .../7-xfsprogs_6.8.0-2.2ubuntu2_amd64.deb ... 46s Unpacking xfsprogs (6.8.0-2.2ubuntu2) over (6.8.0-2.2ubuntu1) ... 46s Setting up libexpat1:amd64 (2.6.4-1) ... 46s Setting up firmware-sof-signed (2024.06-1ubuntu2) ... 46s Setting up man-db (2.13.0-1) ... 46s Updating database of manual pages ... 48s man-db.service is a disabled or a static unit not running, not starting it. 48s Setting up lxd-installer (9) ... 48s Setting up python3.13-gdbm (3.13.0-2) ... 48s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 48s Setting up python3 (3.12.7-1) ... 48s Setting up xfsprogs (6.8.0-2.2ubuntu2) ... 48s update-initramfs: deferring update (trigger activated) 49s Setting up python3-systemd (235-1build5) ... 49s Setting up python3-gdbm:amd64 (3.12.7-1) ... 49s Setting up pastebinit (1.7.1-1) ... 49s Processing triggers for libc-bin (2.40-1ubuntu3) ... 49s Processing triggers for initramfs-tools (0.142ubuntu34) ... 49s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 49s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 56s Reading package lists... 56s Building dependency tree... 56s Reading state information... 56s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 57s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 57s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 58s Reading package lists... 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 59s autopkgtest [04:47:52]: rebooting testbed after setup commands that affected boot 74s autopkgtest [04:48:07]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 77s autopkgtest [04:48:10]: @@@@@@@@@@@@@@@@@@@@ apt-source python-scitrack 78s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (dsc) [2496 B] 78s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (tar) [12.3 kB] 78s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (diff) [3504 B] 78s gpgv: Signature made Wed Oct 9 20:53:37 2024 UTC 78s gpgv: using RSA key 8F91B227C7D6F2B1948C8236793CF67E8F0D11DA 78s gpgv: issuer "emollier@debian.org" 78s gpgv: Can't check signature: No public key 78s dpkg-source: warning: cannot verify inline signature for ./python-scitrack_2024.10.8-1.dsc: no acceptable signature found 78s autopkgtest [04:48:11]: testing package python-scitrack version 2024.10.8-1 79s autopkgtest [04:48:12]: build not needed 79s autopkgtest [04:48:12]: test run-unit-test: preparing testbed 81s Note, using file '/tmp/autopkgtest.dkczNE/1-autopkgtest-satdep.dsc' to get the build dependencies 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Starting pkgProblemResolver with broken count: 0 81s Starting 2 pkgProblemResolver with broken count: 0 81s Done 81s The following NEW packages will be installed: 81s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 81s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 81s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblas3 libcc1-0 81s libgcc-14-dev libgfortran5 libgomp1 libhwasan0 libisl23 libitm1 liblapack3 82s liblsan0 libmpc3 libpython3.13-minimal libpython3.13-stdlib libquadmath0 82s libstdc++-14-dev libtsan2 libubsan1 python3-all python3-iniconfig 82s python3-numpy python3-packaging python3-pluggy python3-pytest 82s python3-scitrack python3.13 python3.13-minimal 82s 0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded. 82s Need to get 80.0 MB of archives. 82s After this operation, 282 MB of additional disk space will be used. 82s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 82s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 82s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 82s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 82s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [11.9 MB] 83s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-8ubuntu1 [1030 B] 83s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 83s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 83s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-8ubuntu1 [47.6 kB] 83s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-8ubuntu1 [148 kB] 83s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-8ubuntu1 [29.1 kB] 83s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-8ubuntu1 [2998 kB] 83s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-8ubuntu1 [1317 kB] 83s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-8ubuntu1 [2732 kB] 83s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-8ubuntu1 [1177 kB] 83s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-8ubuntu1 [1634 kB] 83s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-8ubuntu1 [153 kB] 83s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-8ubuntu1 [2814 kB] 83s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [23.3 MB] 83s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-8ubuntu1 [528 kB] 83s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 83s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 83s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-8ubuntu1 [2504 kB] 83s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [13.3 MB] 84s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-8ubuntu1 [19.9 kB] 84s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 84s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 84s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 84s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.0-3build2 [247 kB] 84s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 14.2.0-8ubuntu1 [909 kB] 84s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.0-3build2 [2668 kB] 84s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 84s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 84s Get:34 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 84s Get:35 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 84s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-numpy amd64 1:1.26.4+ds-11build1 [4479 kB] 84s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 84s Get:38 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 84s Get:39 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 84s Get:40 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-scitrack all 2024.10.8-1 [9590 B] 84s Fetched 80.0 MB in 3s (31.3 MB/s) 84s Selecting previously unselected package libpython3.13-minimal:amd64. 85s (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 ... 75581 files and directories currently installed.) 85s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_amd64.deb ... 85s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 85s Selecting previously unselected package python3.13-minimal. 85s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_amd64.deb ... 85s Unpacking python3.13-minimal (3.13.0-2) ... 85s Selecting previously unselected package libisl23:amd64. 85s Preparing to unpack .../02-libisl23_0.27-1_amd64.deb ... 85s Unpacking libisl23:amd64 (0.27-1) ... 85s Selecting previously unselected package libmpc3:amd64. 85s Preparing to unpack .../03-libmpc3_1.3.1-1build2_amd64.deb ... 85s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 85s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 85s Preparing to unpack .../04-cpp-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package cpp-14. 85s Preparing to unpack .../05-cpp-14_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package cpp-x86-64-linux-gnu. 85s Preparing to unpack .../06-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 85s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 85s Selecting previously unselected package cpp. 85s Preparing to unpack .../07-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 85s Unpacking cpp (4:14.1.0-2ubuntu1) ... 85s Selecting previously unselected package libcc1-0:amd64. 85s Preparing to unpack .../08-libcc1-0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libcc1-0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libgomp1:amd64. 85s Preparing to unpack .../09-libgomp1_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libgomp1:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libitm1:amd64. 85s Preparing to unpack .../10-libitm1_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libitm1:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libasan8:amd64. 85s Preparing to unpack .../11-libasan8_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libasan8:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package liblsan0:amd64. 85s Preparing to unpack .../12-liblsan0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking liblsan0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libtsan2:amd64. 85s Preparing to unpack .../13-libtsan2_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libtsan2:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libubsan1:amd64. 85s Preparing to unpack .../14-libubsan1_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libubsan1:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libhwasan0:amd64. 85s Preparing to unpack .../15-libhwasan0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libhwasan0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libquadmath0:amd64. 85s Preparing to unpack .../16-libquadmath0_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libquadmath0:amd64 (14.2.0-8ubuntu1) ... 85s Selecting previously unselected package libgcc-14-dev:amd64. 85s Preparing to unpack .../17-libgcc-14-dev_14.2.0-8ubuntu1_amd64.deb ... 85s Unpacking libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 86s Preparing to unpack .../18-gcc-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package gcc-14. 86s Preparing to unpack .../19-gcc-14_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package gcc-x86-64-linux-gnu. 86s Preparing to unpack .../20-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package gcc. 86s Preparing to unpack .../21-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking gcc (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package libstdc++-14-dev:amd64. 86s Preparing to unpack .../22-libstdc++-14-dev_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package g++-14-x86-64-linux-gnu. 86s Preparing to unpack .../23-g++-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package g++-14. 86s Preparing to unpack .../24-g++-14_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking g++-14 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package g++-x86-64-linux-gnu. 86s Preparing to unpack .../25-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package g++. 86s Preparing to unpack .../26-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 86s Unpacking g++ (4:14.1.0-2ubuntu1) ... 86s Selecting previously unselected package build-essential. 86s Preparing to unpack .../27-build-essential_12.10ubuntu1_amd64.deb ... 86s Unpacking build-essential (12.10ubuntu1) ... 86s Selecting previously unselected package libblas3:amd64. 86s Preparing to unpack .../28-libblas3_3.12.0-3build2_amd64.deb ... 86s Unpacking libblas3:amd64 (3.12.0-3build2) ... 86s Selecting previously unselected package libgfortran5:amd64. 86s Preparing to unpack .../29-libgfortran5_14.2.0-8ubuntu1_amd64.deb ... 86s Unpacking libgfortran5:amd64 (14.2.0-8ubuntu1) ... 86s Selecting previously unselected package liblapack3:amd64. 86s Preparing to unpack .../30-liblapack3_3.12.0-3build2_amd64.deb ... 86s Unpacking liblapack3:amd64 (3.12.0-3build2) ... 86s Selecting previously unselected package libpython3.13-stdlib:amd64. 86s Preparing to unpack .../31-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 86s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 86s Selecting previously unselected package python3.13. 86s Preparing to unpack .../32-python3.13_3.13.0-2_amd64.deb ... 86s Unpacking python3.13 (3.13.0-2) ... 87s Selecting previously unselected package python3-all. 87s Preparing to unpack .../33-python3-all_3.12.7-1_amd64.deb ... 87s Unpacking python3-all (3.12.7-1) ... 87s Selecting previously unselected package python3-iniconfig. 87s Preparing to unpack .../34-python3-iniconfig_1.1.1-2_all.deb ... 87s Unpacking python3-iniconfig (1.1.1-2) ... 87s Selecting previously unselected package python3-numpy. 87s Preparing to unpack .../35-python3-numpy_1%3a1.26.4+ds-11build1_amd64.deb ... 87s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 87s Selecting previously unselected package python3-packaging. 87s Preparing to unpack .../36-python3-packaging_24.1-1_all.deb ... 87s Unpacking python3-packaging (24.1-1) ... 87s Selecting previously unselected package python3-pluggy. 87s Preparing to unpack .../37-python3-pluggy_1.5.0-1_all.deb ... 87s Unpacking python3-pluggy (1.5.0-1) ... 87s Selecting previously unselected package python3-pytest. 87s Preparing to unpack .../38-python3-pytest_8.3.3-1_all.deb ... 87s Unpacking python3-pytest (8.3.3-1) ... 87s Selecting previously unselected package python3-scitrack. 87s Preparing to unpack .../39-python3-scitrack_2024.10.8-1_all.deb ... 87s Unpacking python3-scitrack (2024.10.8-1) ... 87s Setting up python3-iniconfig (1.1.1-2) ... 87s Setting up libgomp1:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 87s Setting up libblas3:amd64 (3.12.0-3build2) ... 87s 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 87s Setting up python3-packaging (24.1-1) ... 87s Setting up libquadmath0:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libmpc3:amd64 (1.3.1-1build2) ... 87s Setting up libgfortran5:amd64 (14.2.0-8ubuntu1) ... 87s Setting up python3-pluggy (1.5.0-1) ... 87s Setting up libubsan1:amd64 (14.2.0-8ubuntu1) ... 87s Setting up libhwasan0:amd64 (14.2.0-8ubuntu1) ... 87s Setting up python3-scitrack (2024.10.8-1) ... 87s Setting up libasan8:amd64 (14.2.0-8ubuntu1) ... 87s Setting up python3.13-minimal (3.13.0-2) ... 88s Setting up libtsan2:amd64 (14.2.0-8ubuntu1) ... 88s Setting up libisl23:amd64 (0.27-1) ... 88s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 88s Setting up libcc1-0:amd64 (14.2.0-8ubuntu1) ... 88s Setting up liblsan0:amd64 (14.2.0-8ubuntu1) ... 88s Setting up libitm1:amd64 (14.2.0-8ubuntu1) ... 88s Setting up liblapack3:amd64 (3.12.0-3build2) ... 88s 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 88s Setting up python3.13 (3.13.0-2) ... 89s Setting up python3-pytest (8.3.3-1) ... 89s Setting up python3-all (3.12.7-1) ... 89s Setting up cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 89s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 92s Setting up cpp-14 (14.2.0-8ubuntu1) ... 92s Setting up libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 92s Setting up libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 92s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 92s Setting up cpp (4:14.1.0-2ubuntu1) ... 92s Setting up gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 92s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 92s Setting up gcc-14 (14.2.0-8ubuntu1) ... 92s Setting up g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 92s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 92s Setting up g++-14 (14.2.0-8ubuntu1) ... 92s Setting up gcc (4:14.1.0-2ubuntu1) ... 92s Setting up g++ (4:14.1.0-2ubuntu1) ... 92s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 92s Setting up build-essential (12.10ubuntu1) ... 92s Processing triggers for systemd (256.5-2ubuntu4) ... 92s Processing triggers for man-db (2.13.0-1) ... 93s Processing triggers for libc-bin (2.40-1ubuntu3) ... 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 95s Starting pkgProblemResolver with broken count: 0 95s Starting 2 pkgProblemResolver with broken count: 0 95s Done 95s The following NEW packages will be installed: 95s autopkgtest-satdep 95s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 95s Need to get 0 B/700 B of archives. 95s After this operation, 0 B of additional disk space will be used. 95s Get:1 /tmp/autopkgtest.dkczNE/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [700 B] 95s Selecting previously unselected package autopkgtest-satdep. 95s (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 ... 78650 files and directories currently installed.) 95s Preparing to unpack .../2-autopkgtest-satdep.deb ... 95s Unpacking autopkgtest-satdep (0) ... 95s Setting up autopkgtest-satdep (0) ... 97s (Reading database ... 78650 files and directories currently installed.) 97s Removing autopkgtest-satdep (0) ... 97s autopkgtest [04:48:30]: test run-unit-test: [----------------------- 98s ============================= test session starts ============================== 98s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 98s cachedir: .pytest_cache 98s rootdir: /tmp/autopkgtest.dkczNE/autopkgtest_tmp 98s plugins: typeguard-4.4.1 98s collecting ... collected 22 items 98s 98s tests/test_logging.py::test_creates_path PASSED [ 4%] 98s tests/test_logging.py::test_set_path_if_exists PASSED [ 9%] 98s tests/test_logging.py::test_tracks_args PASSED [ 13%] 98s tests/test_logging.py::test_tracks_locals PASSED [ 18%] 98s tests/test_logging.py::test_tracks_locals_skip_module PASSED [ 22%] 98s tests/test_logging.py::test_package_inference PASSED [ 27%] 98s tests/test_logging.py::test_package_versioning FAILED [ 31%] 98s tests/test_logging.py::test_tracks_versions FAILED [ 36%] 98s tests/test_logging.py::test_caching FAILED [ 40%] 98s tests/test_logging.py::test_shutdown PASSED [ 45%] 98s tests/test_logging.py::test_tracks_versions_empty PASSED [ 50%] 98s tests/test_logging.py::test_tracks_versions_string FAILED [ 54%] 98s tests/test_logging.py::test_get_version_for_package FAILED [ 59%] 98s tests/test_logging.py::test_tracks_versions_module FAILED [ 63%] 98s tests/test_logging.py::test_appending PASSED [ 68%] 98s tests/test_logging.py::test_mdsum_input PASSED [ 72%] 98s tests/test_logging.py::test_mdsum_output PASSED [ 77%] 98s tests/test_logging.py::test_logging_text PASSED [ 81%] 98s tests/test_logging.py::test_logfile_path PASSED [ 86%] 98s tests/test_logging.py::test_md5sum_text PASSED [ 90%] 98s tests/test_logging.py::test_get_text_hexdigest_invalid PASSED [ 95%] 98s tests/test_logging.py::test_read_from_written PASSED [100%] 98s 98s =================================== FAILURES =================================== 98s ___________________________ test_package_versioning ____________________________ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s > from . import multiarray 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 98s from . import overrides 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """Implementation of __array_function__ overrides from NEP-18.""" 98s import collections 98s import functools 98s import os 98s 98s from .._utils import set_module 98s from .._utils._inspect import getargspec 98s > from numpy.core._multiarray_umath import ( 98s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 98s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 98s 98s During handling of the above exception, another exception occurred: 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s > from numpy.__config__ import show as show_config 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 98s from numpy.core._multiarray_umath import ( 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s from . import multiarray 98s except ImportError as exc: 98s import sys 98s msg = """ 98s 98s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s 98s Importing the numpy C-extensions failed. This error can happen for 98s many reasons, often due to issues with your setup or how NumPy was 98s installed. 98s 98s We have compiled some common reasons and troubleshooting tips at: 98s 98s https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s 98s Please note and check the following: 98s 98s * The Python version is: Python%d.%d from "%s" 98s * The NumPy version is: "%s" 98s 98s and make sure that they are the versions you expect. 98s Please carefully study the documentation linked above for further help. 98s 98s Original error was: %s 98s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 98s __version__, exc) 98s > raise ImportError(msg) 98s E ImportError: 98s E 98s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s E 98s E Importing the numpy C-extensions failed. This error can happen for 98s E many reasons, often due to issues with your setup or how NumPy was 98s E installed. 98s E 98s E We have compiled some common reasons and troubleshooting tips at: 98s E 98s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s E 98s E Please note and check the following: 98s E 98s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 98s E * The NumPy version is: "1.26.4" 98s E 98s E and make sure that they are the versions you expect. 98s E Please carefully study the documentation linked above for further help. 98s E 98s E Original error was: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 98s 98s The above exception was the direct cause of the following exception: 98s 98s def test_package_versioning(): 98s """correctly identify versions for specified packages""" 98s > vn = get_version_for_package("numpy") 98s 98s tests/test_logging.py:109: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 98s mod = importlib.import_module(package) 98s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 98s return _bootstrap._gcd_import(name[level:], package, level) 98s :1387: in _gcd_import 98s ??? 98s :1360: in _find_and_load 98s ??? 98s :1331: in _find_and_load_unlocked 98s ??? 98s :935: in _load_unlocked 98s ??? 98s :1022: in exec_module 98s ??? 98s :488: in _call_with_frames_removed 98s ??? 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s from numpy.__config__ import show as show_config 98s except ImportError as e: 98s msg = """Error importing numpy: you should not try to import numpy from 98s its source directory; please exit the numpy source tree, and relaunch 98s your python interpreter from there.""" 98s > raise ImportError(msg) from e 98s E ImportError: Error importing numpy: you should not try to import numpy from 98s E its source directory; please exit the numpy source tree, and relaunch 98s E your python interpreter from there. 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 98s _____________________________ test_tracks_versions _____________________________ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s > from . import multiarray 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 98s from . import overrides 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """Implementation of __array_function__ overrides from NEP-18.""" 98s import collections 98s import functools 98s import os 98s 98s from .._utils import set_module 98s from .._utils._inspect import getargspec 98s > from numpy.core._multiarray_umath import ( 98s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 98s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 98s 98s During handling of the above exception, another exception occurred: 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s > from numpy.__config__ import show as show_config 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 98s from numpy.core._multiarray_umath import ( 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s from . import multiarray 98s except ImportError as exc: 98s import sys 98s msg = """ 98s 98s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s 98s Importing the numpy C-extensions failed. This error can happen for 98s many reasons, often due to issues with your setup or how NumPy was 98s installed. 98s 98s We have compiled some common reasons and troubleshooting tips at: 98s 98s https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s 98s Please note and check the following: 98s 98s * The Python version is: Python%d.%d from "%s" 98s * The NumPy version is: "%s" 98s 98s and make sure that they are the versions you expect. 98s Please carefully study the documentation linked above for further help. 98s 98s Original error was: %s 98s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 98s __version__, exc) 98s > raise ImportError(msg) 98s E ImportError: 98s E 98s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s E 98s E Importing the numpy C-extensions failed. This error can happen for 98s E many reasons, often due to issues with your setup or how NumPy was 98s E installed. 98s E 98s E We have compiled some common reasons and troubleshooting tips at: 98s E 98s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s E 98s E Please note and check the following: 98s E 98s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 98s E * The NumPy version is: "1.26.4" 98s E 98s E and make sure that they are the versions you expect. 98s E Please carefully study the documentation linked above for further help. 98s E 98s E Original error was: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 98s 98s The above exception was the direct cause of the following exception: 98s 98s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions0/delme.log') 98s 98s def test_tracks_versions(logfile): 98s """should track versions""" 98s LOGGER = CachingLogger(create_dir=True) 98s LOGGER.log_file_path = logfile 98s LOGGER.input_file(TEST_ROOTDIR / "sample-lf.fasta") 98s > LOGGER.log_versions(["numpy"]) 98s 98s tests/test_logging.py:122: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 98s vn = get_version_for_package(package) 98s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 98s mod = importlib.import_module(package) 98s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 98s return _bootstrap._gcd_import(name[level:], package, level) 98s :1387: in _gcd_import 98s ??? 98s :1360: in _find_and_load 98s ??? 98s :1331: in _find_and_load_unlocked 98s ??? 98s :935: in _load_unlocked 98s ??? 98s :1022: in exec_module 98s ??? 98s :488: in _call_with_frames_removed 98s ??? 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s from numpy.__config__ import show as show_config 98s except ImportError as e: 98s msg = """Error importing numpy: you should not try to import numpy from 98s its source directory; please exit the numpy source tree, and relaunch 98s your python interpreter from there.""" 98s > raise ImportError(msg) from e 98s E ImportError: Error importing numpy: you should not try to import numpy from 98s E its source directory; please exit the numpy source tree, and relaunch 98s E your python interpreter from there. 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 98s ------------------------------ Captured log call ------------------------------- 98s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 98s INFO root:__init__.py:244 python : 3.13.0 98s INFO root:__init__.py:245 user : ubuntu 98s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 98s INFO root:__init__.py:179 input_file_path : /tmp/autopkgtest.dkczNE/autopkgtest_tmp/tests/sample-lf.fasta 98s INFO root:__init__.py:179 input_file_path md5sum : 96eb2c2632bae19eb65ea9224aaafdad 98s _________________________________ test_caching _________________________________ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s > from . import multiarray 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 98s from . import overrides 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """Implementation of __array_function__ overrides from NEP-18.""" 98s import collections 98s import functools 98s import os 98s 98s from .._utils import set_module 98s from .._utils._inspect import getargspec 98s > from numpy.core._multiarray_umath import ( 98s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 98s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 98s 98s During handling of the above exception, another exception occurred: 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s > from numpy.__config__ import show as show_config 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 98s from numpy.core._multiarray_umath import ( 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s from . import multiarray 98s except ImportError as exc: 98s import sys 98s msg = """ 98s 98s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s 98s Importing the numpy C-extensions failed. This error can happen for 98s many reasons, often due to issues with your setup or how NumPy was 98s installed. 98s 98s We have compiled some common reasons and troubleshooting tips at: 98s 98s https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s 98s Please note and check the following: 98s 98s * The Python version is: Python%d.%d from "%s" 98s * The NumPy version is: "%s" 98s 98s and make sure that they are the versions you expect. 98s Please carefully study the documentation linked above for further help. 98s 98s Original error was: %s 98s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 98s __version__, exc) 98s > raise ImportError(msg) 98s E ImportError: 98s E 98s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s E 98s E Importing the numpy C-extensions failed. This error can happen for 98s E many reasons, often due to issues with your setup or how NumPy was 98s E installed. 98s E 98s E We have compiled some common reasons and troubleshooting tips at: 98s E 98s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s E 98s E Please note and check the following: 98s E 98s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 98s E * The NumPy version is: "1.26.4" 98s E 98s E and make sure that they are the versions you expect. 98s E Please carefully study the documentation linked above for further help. 98s E 98s E Original error was: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 98s 98s The above exception was the direct cause of the following exception: 98s 98s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_caching0/delme.log') 98s 98s def test_caching(logfile): 98s """should cache calls prior to logging""" 98s LOGGER = CachingLogger(create_dir=True) 98s LOGGER.input_file(TEST_ROOTDIR / "sample-lf.fasta") 98s assert ( 98s "sample-lf.fasta" in LOGGER._messages[-2] and "md5sum" in LOGGER._messages[-1] 98s ) 98s > LOGGER.log_versions(["numpy"]) 98s 98s tests/test_logging.py:145: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 98s vn = get_version_for_package(package) 98s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 98s mod = importlib.import_module(package) 98s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 98s return _bootstrap._gcd_import(name[level:], package, level) 98s :1387: in _gcd_import 98s ??? 98s :1360: in _find_and_load 98s ??? 98s :1331: in _find_and_load_unlocked 98s ??? 98s :935: in _load_unlocked 98s ??? 98s :1022: in exec_module 98s ??? 98s :488: in _call_with_frames_removed 98s ??? 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s from numpy.__config__ import show as show_config 98s except ImportError as e: 98s msg = """Error importing numpy: you should not try to import numpy from 98s its source directory; please exit the numpy source tree, and relaunch 98s your python interpreter from there.""" 98s > raise ImportError(msg) from e 98s E ImportError: Error importing numpy: you should not try to import numpy from 98s E its source directory; please exit the numpy source tree, and relaunch 98s E your python interpreter from there. 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 98s _________________________ test_tracks_versions_string __________________________ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s > from . import multiarray 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 98s from . import overrides 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """Implementation of __array_function__ overrides from NEP-18.""" 98s import collections 98s import functools 98s import os 98s 98s from .._utils import set_module 98s from .._utils._inspect import getargspec 98s > from numpy.core._multiarray_umath import ( 98s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 98s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 98s 98s During handling of the above exception, another exception occurred: 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s > from numpy.__config__ import show as show_config 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 98s from numpy.core._multiarray_umath import ( 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s from . import multiarray 98s except ImportError as exc: 98s import sys 98s msg = """ 98s 98s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s 98s Importing the numpy C-extensions failed. This error can happen for 98s many reasons, often due to issues with your setup or how NumPy was 98s installed. 98s 98s We have compiled some common reasons and troubleshooting tips at: 98s 98s https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s 98s Please note and check the following: 98s 98s * The Python version is: Python%d.%d from "%s" 98s * The NumPy version is: "%s" 98s 98s and make sure that they are the versions you expect. 98s Please carefully study the documentation linked above for further help. 98s 98s Original error was: %s 98s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 98s __version__, exc) 98s > raise ImportError(msg) 98s E ImportError: 98s E 98s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s E 98s E Importing the numpy C-extensions failed. This error can happen for 98s E many reasons, often due to issues with your setup or how NumPy was 98s E installed. 98s E 98s E We have compiled some common reasons and troubleshooting tips at: 98s E 98s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s E 98s E Please note and check the following: 98s E 98s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 98s E * The NumPy version is: "1.26.4" 98s E 98s E and make sure that they are the versions you expect. 98s E Please carefully study the documentation linked above for further help. 98s E 98s E Original error was: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 98s 98s The above exception was the direct cause of the following exception: 98s 98s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions_string0/delme.log') 98s 98s def test_tracks_versions_string(logfile): 98s """should track version if package name is a string""" 98s LOGGER = CachingLogger(create_dir=True) 98s LOGGER.log_file_path = logfile 98s > LOGGER.log_versions("numpy") 98s 98s tests/test_logging.py:182: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 98s vn = get_version_for_package(package) 98s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 98s mod = importlib.import_module(package) 98s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 98s return _bootstrap._gcd_import(name[level:], package, level) 98s :1387: in _gcd_import 98s ??? 98s :1360: in _find_and_load 98s ??? 98s :1331: in _find_and_load_unlocked 98s ??? 98s :935: in _load_unlocked 98s ??? 98s :1022: in exec_module 98s ??? 98s :488: in _call_with_frames_removed 98s ??? 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s from numpy.__config__ import show as show_config 98s except ImportError as e: 98s msg = """Error importing numpy: you should not try to import numpy from 98s its source directory; please exit the numpy source tree, and relaunch 98s your python interpreter from there.""" 98s > raise ImportError(msg) from e 98s E ImportError: Error importing numpy: you should not try to import numpy from 98s E its source directory; please exit the numpy source tree, and relaunch 98s E your python interpreter from there. 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 98s ------------------------------ Captured log call ------------------------------- 98s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 98s INFO root:__init__.py:244 python : 3.13.0 98s INFO root:__init__.py:245 user : ubuntu 98s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 98s _________________________ test_get_version_for_package _________________________ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s > from . import multiarray 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 98s from . import overrides 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """Implementation of __array_function__ overrides from NEP-18.""" 98s import collections 98s import functools 98s import os 98s 98s from .._utils import set_module 98s from .._utils._inspect import getargspec 98s > from numpy.core._multiarray_umath import ( 98s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 98s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 98s 98s During handling of the above exception, another exception occurred: 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s > from numpy.__config__ import show as show_config 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 98s from numpy.core._multiarray_umath import ( 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s from . import multiarray 98s except ImportError as exc: 98s import sys 98s msg = """ 98s 98s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s 98s Importing the numpy C-extensions failed. This error can happen for 98s many reasons, often due to issues with your setup or how NumPy was 98s installed. 98s 98s We have compiled some common reasons and troubleshooting tips at: 98s 98s https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s 98s Please note and check the following: 98s 98s * The Python version is: Python%d.%d from "%s" 98s * The NumPy version is: "%s" 98s 98s and make sure that they are the versions you expect. 98s Please carefully study the documentation linked above for further help. 98s 98s Original error was: %s 98s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 98s __version__, exc) 98s > raise ImportError(msg) 98s E ImportError: 98s E 98s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s E 98s E Importing the numpy C-extensions failed. This error can happen for 98s E many reasons, often due to issues with your setup or how NumPy was 98s E installed. 98s E 98s E We have compiled some common reasons and troubleshooting tips at: 98s E 98s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s E 98s E Please note and check the following: 98s E 98s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 98s E * The NumPy version is: "1.26.4" 98s E 98s E and make sure that they are the versions you expect. 98s E Please carefully study the documentation linked above for further help. 98s E 98s E Original error was: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 98s 98s The above exception was the direct cause of the following exception: 98s 98s def test_get_version_for_package(): 98s """should track version if package is a module""" 98s > import numpy 98s 98s tests/test_logging.py:195: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s from numpy.__config__ import show as show_config 98s except ImportError as e: 98s msg = """Error importing numpy: you should not try to import numpy from 98s its source directory; please exit the numpy source tree, and relaunch 98s your python interpreter from there.""" 98s > raise ImportError(msg) from e 98s E ImportError: Error importing numpy: you should not try to import numpy from 98s E its source directory; please exit the numpy source tree, and relaunch 98s E your python interpreter from there. 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 98s _________________________ test_tracks_versions_module __________________________ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s > from . import multiarray 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 98s from . import overrides 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """Implementation of __array_function__ overrides from NEP-18.""" 98s import collections 98s import functools 98s import os 98s 98s from .._utils import set_module 98s from .._utils._inspect import getargspec 98s > from numpy.core._multiarray_umath import ( 98s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 98s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 98s 98s During handling of the above exception, another exception occurred: 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s > from numpy.__config__ import show as show_config 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 98s from numpy.core._multiarray_umath import ( 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 98s 98s Please note that this module is private. All functions and objects 98s are available in the main ``numpy`` namespace - use that instead. 98s 98s """ 98s 98s import os 98s import warnings 98s 98s from numpy.version import version as __version__ 98s 98s 98s # disables OpenBLAS affinity setting of the main thread that limits 98s # python threads or processes to one core 98s env_added = [] 98s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 98s if envkey not in os.environ: 98s os.environ[envkey] = '1' 98s env_added.append(envkey) 98s 98s try: 98s from . import multiarray 98s except ImportError as exc: 98s import sys 98s msg = """ 98s 98s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s 98s Importing the numpy C-extensions failed. This error can happen for 98s many reasons, often due to issues with your setup or how NumPy was 98s installed. 98s 98s We have compiled some common reasons and troubleshooting tips at: 98s 98s https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s 98s Please note and check the following: 98s 98s * The Python version is: Python%d.%d from "%s" 98s * The NumPy version is: "%s" 98s 98s and make sure that they are the versions you expect. 98s Please carefully study the documentation linked above for further help. 98s 98s Original error was: %s 98s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 98s __version__, exc) 98s > raise ImportError(msg) 98s E ImportError: 98s E 98s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 98s E 98s E Importing the numpy C-extensions failed. This error can happen for 98s E many reasons, often due to issues with your setup or how NumPy was 98s E installed. 98s E 98s E We have compiled some common reasons and troubleshooting tips at: 98s E 98s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 98s E 98s E Please note and check the following: 98s E 98s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 98s E * The NumPy version is: "1.26.4" 98s E 98s E and make sure that they are the versions you expect. 98s E Please carefully study the documentation linked above for further help. 98s E 98s E Original error was: No module named 'numpy.core._multiarray_umath' 98s 98s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 98s 98s The above exception was the direct cause of the following exception: 98s 98s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions_module0/delme.log') 98s 98s def test_tracks_versions_module(logfile): 98s """should track version if package is a module""" 98s LOGGER = CachingLogger(create_dir=True) 98s LOGGER.log_file_path = logfile 98s > import numpy 98s 98s tests/test_logging.py:222: 98s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 98s 98s """ 98s NumPy 98s ===== 98s 98s Provides 98s 1. An array object of arbitrary homogeneous items 98s 2. Fast mathematical operations over arrays 98s 3. Linear Algebra, Fourier Transforms, Random Number Generation 98s 98s How to use the documentation 98s ---------------------------- 98s Documentation is available in two forms: docstrings provided 98s with the code, and a loose standing reference guide, available from 98s `the NumPy homepage `_. 98s 98s We recommend exploring the docstrings using 98s `IPython `_, an advanced Python shell with 98s TAB-completion and introspection capabilities. See below for further 98s instructions. 98s 98s The docstring examples assume that `numpy` has been imported as ``np``:: 98s 98s >>> import numpy as np 98s 98s Code snippets are indicated by three greater-than signs:: 98s 98s >>> x = 42 98s >>> x = x + 1 98s 98s Use the built-in ``help`` function to view a function's docstring:: 98s 98s >>> help(np.sort) 98s ... # doctest: +SKIP 98s 98s For some objects, ``np.info(obj)`` may provide additional help. This is 98s particularly true if you see the line "Help on ufunc object:" at the top 98s of the help() page. Ufuncs are implemented in C, not Python, for speed. 98s The native Python help() does not know how to view their help, but our 98s np.info() function does. 98s 98s To search for documents containing a keyword, do:: 98s 98s >>> np.lookfor('keyword') 98s ... # doctest: +SKIP 98s 98s General-purpose documents like a glossary and help on the basic concepts 98s of numpy are available under the ``doc`` sub-module:: 98s 98s >>> from numpy import doc 98s >>> help(doc) 98s ... # doctest: +SKIP 98s 98s Available subpackages 98s --------------------- 98s lib 98s Basic functions used by several sub-packages. 98s random 98s Core Random Tools 98s linalg 98s Core Linear Algebra Tools 98s fft 98s Core FFT routines 98s polynomial 98s Polynomial tools 98s testing 98s NumPy testing tools 98s distutils 98s Enhancements to distutils with support for 98s Fortran compilers support and more (for Python <= 3.11). 98s 98s Utilities 98s --------- 98s test 98s Run numpy unittests 98s show_config 98s Show numpy build configuration 98s matlib 98s Make everything matrices. 98s __version__ 98s NumPy version string 98s 98s Viewing documentation using IPython 98s ----------------------------------- 98s 98s Start IPython and import `numpy` usually under the alias ``np``: `import 98s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 98s examples into the shell. To see which functions are available in `numpy`, 98s type ``np.`` (where ```` refers to the TAB key), or use 98s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 98s down the list. To view the docstring for a function, use 98s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 98s the source code). 98s 98s Copies vs. in-place operation 98s ----------------------------- 98s Most of the functions in `numpy` return a copy of the array argument 98s (e.g., `np.sort`). In-place versions of these functions are often 98s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 98s Exceptions to this rule are documented. 98s 98s """ 98s import sys 98s import warnings 98s 98s from ._globals import _NoValue, _CopyMode 98s # These exceptions were moved in 1.25 and are hidden from __dir__() 98s from .exceptions import ( 98s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 98s TooHardError, AxisError) 98s 98s 98s # If a version with git hash was stored, use that instead 98s from . import version 98s from .version import __version__ 98s 98s # We first need to detect if we're being called as part of the numpy setup 98s # procedure itself in a reliable manner. 98s try: 98s __NUMPY_SETUP__ 98s except NameError: 98s __NUMPY_SETUP__ = False 98s 98s if __NUMPY_SETUP__: 98s sys.stderr.write('Running from numpy source directory.\n') 98s else: 98s # Allow distributors to run custom init code before importing numpy.core 98s from . import _distributor_init 98s 98s try: 98s from numpy.__config__ import show as show_config 98s except ImportError as e: 98s msg = """Error importing numpy: you should not try to import numpy from 98s its source directory; please exit the numpy source tree, and relaunch 98s your python interpreter from there.""" 98s > raise ImportError(msg) from e 98s E ImportError: Error importing numpy: you should not try to import numpy from 98s E its source directory; please exit the numpy source tree, and relaunch 98s E your python interpreter from there. 98s 98s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 98s ------------------------------ Captured log call ------------------------------- 98s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 98s INFO root:__init__.py:244 python : 3.13.0 98s INFO root:__init__.py:245 user : ubuntu 98s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 98s =========================== short test summary info ============================ 98s FAILED tests/test_logging.py::test_package_versioning - ImportError: Error im... 98s FAILED tests/test_logging.py::test_tracks_versions - ImportError: Error impor... 98s FAILED tests/test_logging.py::test_caching - ImportError: Error importing num... 98s FAILED tests/test_logging.py::test_tracks_versions_string - ImportError: Erro... 98s FAILED tests/test_logging.py::test_get_version_for_package - ImportError: Err... 98s FAILED tests/test_logging.py::test_tracks_versions_module - ImportError: Erro... 98s ========================= 6 failed, 16 passed in 0.20s ========================= 99s autopkgtest [04:48:32]: test run-unit-test: -----------------------] 99s run-unit-test FAIL non-zero exit status 1 99s autopkgtest [04:48:32]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 99s autopkgtest [04:48:32]: test autodep8-python3: preparing testbed 153s autopkgtest [04:49:26]: testbed dpkg architecture: amd64 154s autopkgtest [04:49:27]: testbed apt version: 2.9.8 154s autopkgtest [04:49:27]: test architecture: i386 154s autopkgtest [04:49:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 155s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 155s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 155s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 155s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.3 kB] 155s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1027 kB] 155s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [131 kB] 155s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [202 kB] 155s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 155s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [810 kB] 155s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [296 kB] 155s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 155s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9128 B] 156s Fetched 2705 kB in 1s (3292 kB/s) 156s Reading package lists... 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 158s Calculating upgrade... 158s The following NEW packages will be installed: 158s python3.13-gdbm 158s The following packages will be upgraded: 158s firmware-sof-signed libcap-ng0 libexpat1 libpython3-stdlib lxd-installer 158s man-db pastebinit python3 python3-gdbm python3-minimal python3-systemd 158s xfsprogs 158s 12 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 158s Need to get 9638 kB of archives. 158s After this operation, 542 kB of additional disk space will be used. 158s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 158s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 158s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 158s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 firmware-sof-signed all 2024.06-1ubuntu2 [7083 kB] 159s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-3build1 [15.6 kB] 159s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libexpat1 amd64 2.6.4-1 [94.9 kB] 159s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 man-db amd64 2.13.0-1 [1352 kB] 159s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 159s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 159s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 lxd-installer all 9 [5084 B] 159s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 pastebinit all 1.7.1-1 [14.9 kB] 159s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build5 [45.7 kB] 159s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 xfsprogs amd64 6.8.0-2.2ubuntu2 [926 kB] 159s Preconfiguring packages ... 159s Fetched 9638 kB in 1s (11.0 MB/s) 159s (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.) 159s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 159s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 159s Setting up python3-minimal (3.12.7-1) ... 160s (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.) 160s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 160s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 160s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 160s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 160s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu2_all.deb ... 160s Unpacking firmware-sof-signed (2024.06-1ubuntu2) over (2024.06-1ubuntu1) ... 160s Preparing to unpack .../libcap-ng0_0.8.5-3build1_amd64.deb ... 160s Unpacking libcap-ng0:amd64 (0.8.5-3build1) over (0.8.5-1) ... 160s Setting up libcap-ng0:amd64 (0.8.5-3build1) ... 160s (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 ... 75568 files and directories currently installed.) 160s Preparing to unpack .../0-libexpat1_2.6.4-1_amd64.deb ... 160s Unpacking libexpat1:amd64 (2.6.4-1) over (2.6.2-2) ... 160s Preparing to unpack .../1-man-db_2.13.0-1_amd64.deb ... 160s Unpacking man-db (2.13.0-1) over (2.12.1-3) ... 160s Selecting previously unselected package python3.13-gdbm. 160s Preparing to unpack .../2-python3.13-gdbm_3.13.0-2_amd64.deb ... 160s Unpacking python3.13-gdbm (3.13.0-2) ... 160s Preparing to unpack .../3-python3-gdbm_3.12.7-1_amd64.deb ... 160s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 160s Preparing to unpack .../4-lxd-installer_9_all.deb ... 160s Unpacking lxd-installer (9) over (8) ... 160s Preparing to unpack .../5-pastebinit_1.7.1-1_all.deb ... 160s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 160s Preparing to unpack .../6-python3-systemd_235-1build5_amd64.deb ... 160s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 160s Preparing to unpack .../7-xfsprogs_6.8.0-2.2ubuntu2_amd64.deb ... 160s Unpacking xfsprogs (6.8.0-2.2ubuntu2) over (6.8.0-2.2ubuntu1) ... 160s Setting up libexpat1:amd64 (2.6.4-1) ... 160s Setting up firmware-sof-signed (2024.06-1ubuntu2) ... 160s Setting up man-db (2.13.0-1) ... 160s Updating database of manual pages ... 162s man-db.service is a disabled or a static unit not running, not starting it. 162s Setting up lxd-installer (9) ... 162s Setting up python3.13-gdbm (3.13.0-2) ... 162s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 162s Setting up python3 (3.12.7-1) ... 163s Setting up xfsprogs (6.8.0-2.2ubuntu2) ... 163s update-initramfs: deferring update (trigger activated) 163s Setting up python3-systemd (235-1build5) ... 163s Setting up python3-gdbm:amd64 (3.12.7-1) ... 163s Setting up pastebinit (1.7.1-1) ... 163s Processing triggers for libc-bin (2.40-1ubuntu3) ... 163s Processing triggers for initramfs-tools (0.142ubuntu34) ... 163s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 163s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 170s Reading package lists... 171s Building dependency tree... 171s Reading state information... 171s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 171s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 171s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 171s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 171s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 172s Reading package lists... 173s Reading package lists... 173s Building dependency tree... 173s Reading state information... 173s Calculating upgrade... 173s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 173s Reading package lists... 173s Building dependency tree... 173s Reading state information... 174s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 174s autopkgtest [04:49:47]: rebooting testbed after setup commands that affected boot 194s Note, using file '/tmp/autopkgtest.dkczNE/3-autopkgtest-satdep.dsc' to get the build dependencies 195s Reading package lists... 195s Building dependency tree... 195s Reading state information... 195s Starting pkgProblemResolver with broken count: 0 195s Starting 2 pkgProblemResolver with broken count: 0 195s Done 195s The following NEW packages will be installed: 195s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 195s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 195s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libcc1-0 libgcc-14-dev 195s libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmpc3 libpython3.13-minimal 195s libpython3.13-stdlib libquadmath0 libstdc++-14-dev libtsan2 libubsan1 195s python3-all python3-scitrack python3.13 python3.13-minimal 195s 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. 195s Need to get 71.3 MB of archives. 195s After this operation, 245 MB of additional disk space will be used. 195s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 196s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 196s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 196s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 196s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [11.9 MB] 196s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-8ubuntu1 [1030 B] 196s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 196s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 196s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-8ubuntu1 [47.6 kB] 196s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-8ubuntu1 [148 kB] 196s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-8ubuntu1 [29.1 kB] 196s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-8ubuntu1 [2998 kB] 196s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-8ubuntu1 [1317 kB] 196s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-8ubuntu1 [2732 kB] 196s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-8ubuntu1 [1177 kB] 197s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-8ubuntu1 [1634 kB] 197s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-8ubuntu1 [153 kB] 197s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-8ubuntu1 [2814 kB] 197s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [23.3 MB] 197s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-8ubuntu1 [528 kB] 197s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 197s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 197s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-8ubuntu1 [2504 kB] 197s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [13.3 MB] 198s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-8ubuntu1 [19.9 kB] 198s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 198s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 198s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 198s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 198s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 198s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 198s Get:32 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-scitrack all 2024.10.8-1 [9590 B] 198s Fetched 71.3 MB in 2s (30.1 MB/s) 198s Selecting previously unselected package libpython3.13-minimal:amd64. 198s (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 ... 75581 files and directories currently installed.) 198s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_amd64.deb ... 198s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 198s Selecting previously unselected package python3.13-minimal. 198s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_amd64.deb ... 198s Unpacking python3.13-minimal (3.13.0-2) ... 198s Selecting previously unselected package libisl23:amd64. 198s Preparing to unpack .../02-libisl23_0.27-1_amd64.deb ... 198s Unpacking libisl23:amd64 (0.27-1) ... 198s Selecting previously unselected package libmpc3:amd64. 198s Preparing to unpack .../03-libmpc3_1.3.1-1build2_amd64.deb ... 198s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 198s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 198s Preparing to unpack .../04-cpp-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 198s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 198s Selecting previously unselected package cpp-14. 198s Preparing to unpack .../05-cpp-14_14.2.0-8ubuntu1_amd64.deb ... 198s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 198s Selecting previously unselected package cpp-x86-64-linux-gnu. 198s Preparing to unpack .../06-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 198s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 198s Selecting previously unselected package cpp. 198s Preparing to unpack .../07-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 198s Unpacking cpp (4:14.1.0-2ubuntu1) ... 198s Selecting previously unselected package libcc1-0:amd64. 198s Preparing to unpack .../08-libcc1-0_14.2.0-8ubuntu1_amd64.deb ... 198s Unpacking libcc1-0:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libgomp1:amd64. 199s Preparing to unpack .../09-libgomp1_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libgomp1:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libitm1:amd64. 199s Preparing to unpack .../10-libitm1_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libitm1:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libasan8:amd64. 199s Preparing to unpack .../11-libasan8_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libasan8:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package liblsan0:amd64. 199s Preparing to unpack .../12-liblsan0_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking liblsan0:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libtsan2:amd64. 199s Preparing to unpack .../13-libtsan2_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libtsan2:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libubsan1:amd64. 199s Preparing to unpack .../14-libubsan1_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libubsan1:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libhwasan0:amd64. 199s Preparing to unpack .../15-libhwasan0_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libhwasan0:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libquadmath0:amd64. 199s Preparing to unpack .../16-libquadmath0_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libquadmath0:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package libgcc-14-dev:amd64. 199s Preparing to unpack .../17-libgcc-14-dev_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 199s Preparing to unpack .../18-gcc-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package gcc-14. 199s Preparing to unpack .../19-gcc-14_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package gcc-x86-64-linux-gnu. 199s Preparing to unpack .../20-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 199s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 199s Selecting previously unselected package gcc. 199s Preparing to unpack .../21-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 199s Unpacking gcc (4:14.1.0-2ubuntu1) ... 199s Selecting previously unselected package libstdc++-14-dev:amd64. 199s Preparing to unpack .../22-libstdc++-14-dev_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 199s Selecting previously unselected package g++-14-x86-64-linux-gnu. 199s Preparing to unpack .../23-g++-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 199s Unpacking g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 200s Selecting previously unselected package g++-14. 200s Preparing to unpack .../24-g++-14_14.2.0-8ubuntu1_amd64.deb ... 200s Unpacking g++-14 (14.2.0-8ubuntu1) ... 200s Selecting previously unselected package g++-x86-64-linux-gnu. 200s Preparing to unpack .../25-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 200s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 200s Selecting previously unselected package g++. 200s Preparing to unpack .../26-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 200s Unpacking g++ (4:14.1.0-2ubuntu1) ... 200s Selecting previously unselected package build-essential. 200s Preparing to unpack .../27-build-essential_12.10ubuntu1_amd64.deb ... 200s Unpacking build-essential (12.10ubuntu1) ... 200s Selecting previously unselected package libpython3.13-stdlib:amd64. 200s Preparing to unpack .../28-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 200s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 200s Selecting previously unselected package python3.13. 200s Preparing to unpack .../29-python3.13_3.13.0-2_amd64.deb ... 200s Unpacking python3.13 (3.13.0-2) ... 200s Selecting previously unselected package python3-all. 200s Preparing to unpack .../30-python3-all_3.12.7-1_amd64.deb ... 200s Unpacking python3-all (3.12.7-1) ... 200s Selecting previously unselected package python3-scitrack. 200s Preparing to unpack .../31-python3-scitrack_2024.10.8-1_all.deb ... 200s Unpacking python3-scitrack (2024.10.8-1) ... 200s Setting up libgomp1:amd64 (14.2.0-8ubuntu1) ... 200s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 200s Setting up libquadmath0:amd64 (14.2.0-8ubuntu1) ... 200s Setting up libmpc3:amd64 (1.3.1-1build2) ... 200s Setting up libubsan1:amd64 (14.2.0-8ubuntu1) ... 200s Setting up libhwasan0:amd64 (14.2.0-8ubuntu1) ... 200s Setting up python3-scitrack (2024.10.8-1) ... 200s Setting up libasan8:amd64 (14.2.0-8ubuntu1) ... 200s Setting up python3.13-minimal (3.13.0-2) ... 201s Setting up libtsan2:amd64 (14.2.0-8ubuntu1) ... 201s Setting up libisl23:amd64 (0.27-1) ... 201s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 201s Setting up libcc1-0:amd64 (14.2.0-8ubuntu1) ... 201s Setting up liblsan0:amd64 (14.2.0-8ubuntu1) ... 201s Setting up libitm1:amd64 (14.2.0-8ubuntu1) ... 201s Setting up python3.13 (3.13.0-2) ... 201s Setting up python3-all (3.12.7-1) ... 201s Setting up cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 201s Setting up cpp-14 (14.2.0-8ubuntu1) ... 201s Setting up libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 201s Setting up libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 201s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 201s Setting up cpp (4:14.1.0-2ubuntu1) ... 201s Setting up gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 201s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 201s Setting up gcc-14 (14.2.0-8ubuntu1) ... 201s Setting up g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 201s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 201s Setting up g++-14 (14.2.0-8ubuntu1) ... 201s Setting up gcc (4:14.1.0-2ubuntu1) ... 201s Setting up g++ (4:14.1.0-2ubuntu1) ... 201s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 201s Setting up build-essential (12.10ubuntu1) ... 201s Processing triggers for systemd (256.5-2ubuntu4) ... 201s Processing triggers for man-db (2.13.0-1) ... 202s Processing triggers for libc-bin (2.40-1ubuntu3) ... 205s Reading package lists... 205s Building dependency tree... 205s Reading state information... 205s Starting pkgProblemResolver with broken count: 0 205s Starting 2 pkgProblemResolver with broken count: 0 205s Done 205s The following NEW packages will be installed: 205s autopkgtest-satdep 206s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 206s Need to get 0 B/696 B of archives. 206s After this operation, 0 B of additional disk space will be used. 206s Get:1 /tmp/autopkgtest.dkczNE/4-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [696 B] 206s Selecting previously unselected package autopkgtest-satdep. 206s (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 ... 77585 files and directories currently installed.) 206s Preparing to unpack .../4-autopkgtest-satdep.deb ... 206s Unpacking autopkgtest-satdep (0) ... 206s Setting up autopkgtest-satdep (0) ... 206s autopkgtest: WARNING: package python3-scitrack:i386 is not installed though it should be 208s (Reading database ... 77585 files and directories currently installed.) 208s Removing autopkgtest-satdep (0) ... 209s autopkgtest [04:50:22]: 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 209s autopkgtest [04:50:22]: test autodep8-python3: [----------------------- 209s Testing with python3.13: 209s 209s Testing with python3.12: 209s 210s autopkgtest [04:50:23]: test autodep8-python3: -----------------------] 210s autopkgtest [04:50:23]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 210s autodep8-python3 PASS (superficial) 211s autopkgtest [04:50:24]: @@@@@@@@@@@@@@@@@@@@ summary 211s run-unit-test FAIL non-zero exit status 1 211s autodep8-python3 PASS (superficial) 222s nova [W] Skipping flock for amd64 222s Creating nova instance adt-plucky-i386-python-scitrack-20241115-044653-juju-7f2275-prod-proposed-migration-environment-20-73c8c845-3e73-4668-8b48-6e836581a285 from image adt/ubuntu-plucky-amd64-server-20241114.img (UUID 79d80331-8736-463c-82c6-8c9e13c0a4ca)... 222s nova [W] Skipping flock for amd64 222s Creating nova instance adt-plucky-i386-python-scitrack-20241115-044653-juju-7f2275-prod-proposed-migration-environment-20-73c8c845-3e73-4668-8b48-6e836581a285 from image adt/ubuntu-plucky-amd64-server-20241114.img (UUID 79d80331-8736-463c-82c6-8c9e13c0a4ca)...