0s autopkgtest [08:50:57]: starting date and time: 2024-11-13 08:50:57+0000 0s autopkgtest [08:50:57]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [08:50:57]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1p_abjao/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade bpack --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 autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-24.secgroup --name adt-plucky-arm64-bpack-20241113-085056-juju-7f2275-prod-proposed-migration-environment-20-6bb3637f-cbbf-478a-b7ab-f22ab2d7e473 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -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/ 81s autopkgtest [08:52:18]: testbed dpkg architecture: arm64 81s autopkgtest [08:52:18]: testbed apt version: 2.9.8 81s autopkgtest [08:52:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 82s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 82s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 82s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 82s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 82s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 82s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 82s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 83s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 83s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 83s Fetched 1793 kB in 1s (2089 kB/s) 83s Reading package lists... 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 87s Calculating upgrade... 88s The following NEW packages will be installed: 88s python3.13-gdbm 88s The following packages will be upgraded: 88s libpython3-stdlib python3 python3-gdbm python3-minimal 88s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 88s Need to get 101 kB of archives. 88s After this operation, 141 kB of additional disk space will be used. 88s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 88s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 88s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 88s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 88s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 88s Fetched 101 kB in 0s (267 kB/s) 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79924 files and directories currently installed.) 89s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 89s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 89s Setting up python3-minimal (3.12.7-1) ... 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79924 files and directories currently installed.) 89s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 89s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 89s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 89s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 89s Selecting previously unselected package python3.13-gdbm. 89s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 89s Unpacking python3.13-gdbm (3.13.0-2) ... 89s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 89s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 89s Setting up python3.13-gdbm (3.13.0-2) ... 89s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 89s Setting up python3 (3.12.7-1) ... 90s Setting up python3-gdbm:arm64 (3.12.7-1) ... 90s Processing triggers for man-db (2.12.1-3) ... 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 92s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 92s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 92s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 92s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 93s Reading package lists... 93s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Calculating upgrade... 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 96s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s autopkgtest [08:52:35]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 98s autopkgtest [08:52:35]: @@@@@@@@@@@@@@@@@@@@ apt-source bpack 100s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (dsc) [3063 B] 100s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (tar) [62.0 kB] 100s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (diff) [3532 B] 101s gpgv: Signature made Tue Jun 18 21:16:10 2024 UTC 101s gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 101s gpgv: Can't check signature: No public key 101s dpkg-source: warning: cannot verify inline signature for ./bpack_1.1.0-2.dsc: no acceptable signature found 101s autopkgtest [08:52:38]: testing package bpack version 1.1.0-2 102s autopkgtest [08:52:39]: build not needed 102s autopkgtest [08:52:39]: test pybuild-autopkgtest: preparing testbed 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 108s Starting pkgProblemResolver with broken count: 0 108s Starting 2 pkgProblemResolver with broken count: 0 108s Done 109s The following additional packages will be installed: 109s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 109s cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 109s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 109s fonts-font-awesome fonts-lato g++ g++-14 g++-14-aarch64-linux-gnu 109s g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu 109s gcc-aarch64-linux-gnu gettext intltool-debian libarchive-zip-perl libasan8 109s libblas3 libcc1-0 libdebhelper-perl libfile-stripnondeterminism-perl 109s libgcc-14-dev libgfortran5 libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 109s libjs-sphinxdoc libjs-underscore libjson-perl liblapack3 liblsan0 libmpc3 109s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool libtsan2 109s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 109s python-bpack-doc python3-alabaster python3-all python3-bitarray 109s python3-bitstruct python3-bpack python3-build python3-defusedxml 109s python3-docutils python3-imagesize python3-iniconfig python3-installer 109s python3-numpy python3-packaging python3-pluggy python3-pyproject-hooks 109s python3-pytest python3-roman python3-snowballstemmer python3-sphinx 109s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-toml 109s python3-wheel python3.13 python3.13-minimal sgml-base sphinx-common 109s sphinx-rtd-theme-common xml-core 109s Suggested packages: 109s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 109s cpp-14-doc dh-make flit gcc-14-doc gcc-multilib manpages-dev flex bison gdb 109s gcc-doc gdb-aarch64-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 109s libstdc++-14-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 109s libmail-box-perl www-browser python3-pip python3-venv python-build-doc 109s docutils-doc fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french 109s texlive-latex-base texlive-latex-recommended python-installer-doc gfortran 109s python-numpy-doc python3-dev python3-stemmer dvipng dvisvgm 109s fonts-freefont-otf imagemagick-6.q16 latexmk libjs-mathjax sphinx-doc 109s tex-gyre texlive-fonts-extra texlive-fonts-recommended texlive-latex-extra 109s texlive-plain-generic python3.13-venv python3.13-doc binfmt-support 109s sgml-base-doc 109s Recommended packages: 109s libarchive-cpio-perl javascript-common libjson-xs-perl libltdl-dev 109s libmail-sendmail-perl libpaper-utils python3-pil 109s The following NEW packages will be installed: 109s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 109s cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper 109s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 109s dwz fonts-font-awesome fonts-lato g++ g++-14 g++-14-aarch64-linux-gnu 109s g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu 109s gcc-aarch64-linux-gnu gettext intltool-debian libarchive-zip-perl libasan8 109s libblas3 libcc1-0 libdebhelper-perl libfile-stripnondeterminism-perl 109s libgcc-14-dev libgfortran5 libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 109s libjs-sphinxdoc libjs-underscore libjson-perl liblapack3 liblsan0 libmpc3 109s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool libtsan2 109s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 109s python-bpack-doc python3-alabaster python3-all python3-bitarray 109s python3-bitstruct python3-bpack python3-build python3-defusedxml 109s python3-docutils python3-imagesize python3-iniconfig python3-installer 109s python3-numpy python3-packaging python3-pluggy python3-pyproject-hooks 109s python3-pytest python3-roman python3-snowballstemmer python3-sphinx 109s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-toml 109s python3-wheel python3.13 python3.13-minimal sgml-base sphinx-common 109s sphinx-rtd-theme-common xml-core 109s 0 upgraded, 88 newly installed, 0 to remove and 0 not upgraded. 109s Need to get 84.6 MB/84.6 MB of archives. 109s After this operation, 303 MB of additional disk space will be used. 109s Get:1 /tmp/autopkgtest.C3W8i2/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [844 B] 109s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 109s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 109s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 110s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 sgml-base all 1.31 [11.4 kB] 110s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 110s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 110s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 110s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 110s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-2 [616 kB] 110s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 110s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 110s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [10.6 MB] 110s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-8ubuntu1 [1028 B] 110s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 110s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 110s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-8ubuntu1 [49.7 kB] 110s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-8ubuntu1 [145 kB] 110s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-8ubuntu1 [27.8 kB] 110s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-8ubuntu1 [2893 kB] 110s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-8ubuntu1 [1283 kB] 110s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-8ubuntu1 [2686 kB] 110s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-8ubuntu1 [1151 kB] 110s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-8ubuntu1 [1598 kB] 110s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-8ubuntu1 [2594 kB] 110s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [20.9 MB] 111s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-8ubuntu1 [518 kB] 111s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 111s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 111s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-8ubuntu1 [2476 kB] 111s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [12.1 MB] 111s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-8ubuntu1 [19.9 kB] 111s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 111s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 111s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 111s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 111s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-7build1 [166 kB] 111s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 111s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 111s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 111s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 111s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 111s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 111s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-2 [930 kB] 111s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 111s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 111s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 111s Get:48 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20241024 [112 kB] 111s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 xml-core all 0.19 [20.3 kB] 112s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 112s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 112s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-3build2 [152 kB] 112s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-8ubuntu1 [438 kB] 112s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 112s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 112s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 112s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 112s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-3build2 [2293 kB] 112s Get:59 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 112s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 112s Get:61 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 112s Get:62 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 112s Get:63 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-toml all 0.10.2-1 [16.5 kB] 112s Get:64 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wheel all 0.44.0-1 [54.2 kB] 112s Get:65 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-build all 1.2.2-1 [31.0 kB] 112s Get:66 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 112s Get:67 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-pyproject all 6.20241024 [1728 B] 112s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 112s Get:69 http://ftpmaster.internal/ubuntu plucky/universe arm64 python-bpack-doc all 1.1.0-2 [100 kB] 112s Get:70 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 112s Get:71 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 112s Get:72 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bitarray arm64 2.9.2-1build1 [149 kB] 112s Get:73 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bitstruct arm64 8.19.0-1 [25.0 kB] 112s Get:74 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bpack all 1.1.0-2 [34.5 kB] 112s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-defusedxml all 0.7.1-2 [42.0 kB] 112s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-roman all 4.2-1 [10.0 kB] 112s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 112s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-imagesize all 1.4.1-1 [6844 B] 112s Get:79 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 112s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-11build1 [3654 kB] 112s Get:81 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 112s Get:82 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 112s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 112s Get:84 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-common all 7.4.7-4 [775 kB] 112s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 112s Get:86 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-sphinx all 7.4.7-4 [593 kB] 112s Get:87 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 112s Get:88 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 113s Fetched 84.6 MB in 3s (25.8 MB/s) 113s Selecting previously unselected package fonts-lato. 113s (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 ... 79931 files and directories currently installed.) 113s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 113s Unpacking fonts-lato (2.015-1) ... 113s Selecting previously unselected package libpython3.13-minimal:arm64. 113s Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_arm64.deb ... 113s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 113s Selecting previously unselected package python3.13-minimal. 113s Preparing to unpack .../02-python3.13-minimal_3.13.0-2_arm64.deb ... 113s Unpacking python3.13-minimal (3.13.0-2) ... 113s Selecting previously unselected package sgml-base. 113s Preparing to unpack .../03-sgml-base_1.31_all.deb ... 113s Unpacking sgml-base (1.31) ... 113s Selecting previously unselected package m4. 113s Preparing to unpack .../04-m4_1.4.19-4build1_arm64.deb ... 113s Unpacking m4 (1.4.19-4build1) ... 113s Selecting previously unselected package autoconf. 113s Preparing to unpack .../05-autoconf_2.72-3_all.deb ... 113s Unpacking autoconf (2.72-3) ... 113s Selecting previously unselected package autotools-dev. 113s Preparing to unpack .../06-autotools-dev_20220109.1_all.deb ... 113s Unpacking autotools-dev (20220109.1) ... 113s Selecting previously unselected package automake. 113s Preparing to unpack .../07-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 113s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 113s Selecting previously unselected package autopoint. 113s Preparing to unpack .../08-autopoint_0.22.5-2_all.deb ... 113s Unpacking autopoint (0.22.5-2) ... 113s Selecting previously unselected package libisl23:arm64. 113s Preparing to unpack .../09-libisl23_0.27-1_arm64.deb ... 113s Unpacking libisl23:arm64 (0.27-1) ... 113s Selecting previously unselected package libmpc3:arm64. 113s Preparing to unpack .../10-libmpc3_1.3.1-1build2_arm64.deb ... 113s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 113s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 114s Preparing to unpack .../11-cpp-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package cpp-14. 114s Preparing to unpack .../12-cpp-14_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package cpp-aarch64-linux-gnu. 114s Preparing to unpack .../13-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 114s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 114s Selecting previously unselected package cpp. 114s Preparing to unpack .../14-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 114s Unpacking cpp (4:14.1.0-2ubuntu1) ... 114s Selecting previously unselected package libcc1-0:arm64. 114s Preparing to unpack .../15-libcc1-0_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libcc1-0:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libgomp1:arm64. 114s Preparing to unpack .../16-libgomp1_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libgomp1:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libitm1:arm64. 114s Preparing to unpack .../17-libitm1_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libitm1:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libasan8:arm64. 114s Preparing to unpack .../18-libasan8_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libasan8:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package liblsan0:arm64. 114s Preparing to unpack .../19-liblsan0_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking liblsan0:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libtsan2:arm64. 114s Preparing to unpack .../20-libtsan2_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libtsan2:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libubsan1:arm64. 114s Preparing to unpack .../21-libubsan1_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libubsan1:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libhwasan0:arm64. 114s Preparing to unpack .../22-libhwasan0_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libhwasan0:arm64 (14.2.0-8ubuntu1) ... 114s Selecting previously unselected package libgcc-14-dev:arm64. 114s Preparing to unpack .../23-libgcc-14-dev_14.2.0-8ubuntu1_arm64.deb ... 114s Unpacking libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 115s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 115s Preparing to unpack .../24-gcc-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 115s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 115s Selecting previously unselected package gcc-14. 115s Preparing to unpack .../25-gcc-14_14.2.0-8ubuntu1_arm64.deb ... 115s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 115s Selecting previously unselected package gcc-aarch64-linux-gnu. 115s Preparing to unpack .../26-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 115s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 115s Selecting previously unselected package gcc. 115s Preparing to unpack .../27-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 115s Unpacking gcc (4:14.1.0-2ubuntu1) ... 115s Selecting previously unselected package libstdc++-14-dev:arm64. 115s Preparing to unpack .../28-libstdc++-14-dev_14.2.0-8ubuntu1_arm64.deb ... 115s Unpacking libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 115s Selecting previously unselected package g++-14-aarch64-linux-gnu. 115s Preparing to unpack .../29-g++-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 115s Unpacking g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 116s Selecting previously unselected package g++-14. 116s Preparing to unpack .../30-g++-14_14.2.0-8ubuntu1_arm64.deb ... 116s Unpacking g++-14 (14.2.0-8ubuntu1) ... 116s Selecting previously unselected package g++-aarch64-linux-gnu. 116s Preparing to unpack .../31-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 116s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 116s Selecting previously unselected package g++. 116s Preparing to unpack .../32-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 116s Unpacking g++ (4:14.1.0-2ubuntu1) ... 116s Selecting previously unselected package build-essential. 116s Preparing to unpack .../33-build-essential_12.10ubuntu1_arm64.deb ... 116s Unpacking build-essential (12.10ubuntu1) ... 116s Selecting previously unselected package libdebhelper-perl. 116s Preparing to unpack .../34-libdebhelper-perl_13.20ubuntu1_all.deb ... 116s Unpacking libdebhelper-perl (13.20ubuntu1) ... 116s Selecting previously unselected package libtool. 116s Preparing to unpack .../35-libtool_2.4.7-7build1_all.deb ... 116s Unpacking libtool (2.4.7-7build1) ... 116s Selecting previously unselected package dh-autoreconf. 116s Preparing to unpack .../36-dh-autoreconf_20_all.deb ... 116s Unpacking dh-autoreconf (20) ... 116s Selecting previously unselected package libarchive-zip-perl. 116s Preparing to unpack .../37-libarchive-zip-perl_1.68-1_all.deb ... 116s Unpacking libarchive-zip-perl (1.68-1) ... 116s Selecting previously unselected package libfile-stripnondeterminism-perl. 116s Preparing to unpack .../38-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 116s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 116s Selecting previously unselected package dh-strip-nondeterminism. 116s Preparing to unpack .../39-dh-strip-nondeterminism_1.14.0-1_all.deb ... 116s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 116s Selecting previously unselected package debugedit. 116s Preparing to unpack .../40-debugedit_1%3a5.1-1_arm64.deb ... 116s Unpacking debugedit (1:5.1-1) ... 116s Selecting previously unselected package dwz. 116s Preparing to unpack .../41-dwz_0.15-1build6_arm64.deb ... 116s Unpacking dwz (0.15-1build6) ... 116s Selecting previously unselected package gettext. 116s Preparing to unpack .../42-gettext_0.22.5-2_arm64.deb ... 116s Unpacking gettext (0.22.5-2) ... 116s Selecting previously unselected package intltool-debian. 116s Preparing to unpack .../43-intltool-debian_0.35.0+20060710.6_all.deb ... 116s Unpacking intltool-debian (0.35.0+20060710.6) ... 116s Selecting previously unselected package po-debconf. 117s Preparing to unpack .../44-po-debconf_1.0.21+nmu1_all.deb ... 117s Unpacking po-debconf (1.0.21+nmu1) ... 117s Selecting previously unselected package debhelper. 117s Preparing to unpack .../45-debhelper_13.20ubuntu1_all.deb ... 117s Unpacking debhelper (13.20ubuntu1) ... 117s Selecting previously unselected package dh-python. 117s Preparing to unpack .../46-dh-python_6.20241024_all.deb ... 117s Unpacking dh-python (6.20241024) ... 117s Selecting previously unselected package xml-core. 117s Preparing to unpack .../47-xml-core_0.19_all.deb ... 117s Unpacking xml-core (0.19) ... 117s Selecting previously unselected package docutils-common. 117s Preparing to unpack .../48-docutils-common_0.21.2+dfsg-2_all.deb ... 117s Unpacking docutils-common (0.21.2+dfsg-2) ... 117s Selecting previously unselected package fonts-font-awesome. 117s Preparing to unpack .../49-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 117s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 117s Selecting previously unselected package libblas3:arm64. 117s Preparing to unpack .../50-libblas3_3.12.0-3build2_arm64.deb ... 117s Unpacking libblas3:arm64 (3.12.0-3build2) ... 117s Selecting previously unselected package libgfortran5:arm64. 117s Preparing to unpack .../51-libgfortran5_14.2.0-8ubuntu1_arm64.deb ... 117s Unpacking libgfortran5:arm64 (14.2.0-8ubuntu1) ... 117s Selecting previously unselected package libjs-jquery. 117s Preparing to unpack .../52-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 117s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 117s Selecting previously unselected package libjs-underscore. 117s Preparing to unpack .../53-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 117s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 117s Selecting previously unselected package libjs-sphinxdoc. 117s Preparing to unpack .../54-libjs-sphinxdoc_7.4.7-4_all.deb ... 117s Unpacking libjs-sphinxdoc (7.4.7-4) ... 117s Selecting previously unselected package libjson-perl. 117s Preparing to unpack .../55-libjson-perl_4.10000-1_all.deb ... 117s Unpacking libjson-perl (4.10000-1) ... 117s Selecting previously unselected package liblapack3:arm64. 117s Preparing to unpack .../56-liblapack3_3.12.0-3build2_arm64.deb ... 117s Unpacking liblapack3:arm64 (3.12.0-3build2) ... 117s Selecting previously unselected package libpython3.13-stdlib:arm64. 117s Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 117s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 117s Selecting previously unselected package pybuild-plugin-autopkgtest. 117s Preparing to unpack .../58-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 117s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 118s Selecting previously unselected package python3-packaging. 118s Preparing to unpack .../59-python3-packaging_24.1-1_all.deb ... 118s Unpacking python3-packaging (24.1-1) ... 118s Selecting previously unselected package python3-pyproject-hooks. 118s Preparing to unpack .../60-python3-pyproject-hooks_1.2.0-1_all.deb ... 118s Unpacking python3-pyproject-hooks (1.2.0-1) ... 118s Selecting previously unselected package python3-toml. 118s Preparing to unpack .../61-python3-toml_0.10.2-1_all.deb ... 118s Unpacking python3-toml (0.10.2-1) ... 118s Selecting previously unselected package python3-wheel. 118s Preparing to unpack .../62-python3-wheel_0.44.0-1_all.deb ... 118s Unpacking python3-wheel (0.44.0-1) ... 118s Selecting previously unselected package python3-build. 118s Preparing to unpack .../63-python3-build_1.2.2-1_all.deb ... 118s Unpacking python3-build (1.2.2-1) ... 118s Selecting previously unselected package python3-installer. 118s Preparing to unpack .../64-python3-installer_0.7.0+dfsg1-3_all.deb ... 118s Unpacking python3-installer (0.7.0+dfsg1-3) ... 118s Selecting previously unselected package pybuild-plugin-pyproject. 118s Preparing to unpack .../65-pybuild-plugin-pyproject_6.20241024_all.deb ... 118s Unpacking pybuild-plugin-pyproject (6.20241024) ... 118s Selecting previously unselected package sphinx-rtd-theme-common. 118s Preparing to unpack .../66-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 118s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 118s Selecting previously unselected package python-bpack-doc. 118s Preparing to unpack .../67-python-bpack-doc_1.1.0-2_all.deb ... 118s Unpacking python-bpack-doc (1.1.0-2) ... 118s Selecting previously unselected package python3.13. 118s Preparing to unpack .../68-python3.13_3.13.0-2_arm64.deb ... 118s Unpacking python3.13 (3.13.0-2) ... 118s Selecting previously unselected package python3-all. 118s Preparing to unpack .../69-python3-all_3.12.7-1_arm64.deb ... 118s Unpacking python3-all (3.12.7-1) ... 118s Selecting previously unselected package python3-bitarray. 118s Preparing to unpack .../70-python3-bitarray_2.9.2-1build1_arm64.deb ... 118s Unpacking python3-bitarray (2.9.2-1build1) ... 118s Selecting previously unselected package python3-bitstruct. 118s Preparing to unpack .../71-python3-bitstruct_8.19.0-1_arm64.deb ... 118s Unpacking python3-bitstruct (8.19.0-1) ... 118s Selecting previously unselected package python3-bpack. 118s Preparing to unpack .../72-python3-bpack_1.1.0-2_all.deb ... 118s Unpacking python3-bpack (1.1.0-2) ... 118s Selecting previously unselected package python3-defusedxml. 118s Preparing to unpack .../73-python3-defusedxml_0.7.1-2_all.deb ... 118s Unpacking python3-defusedxml (0.7.1-2) ... 118s Selecting previously unselected package python3-roman. 118s Preparing to unpack .../74-python3-roman_4.2-1_all.deb ... 118s Unpacking python3-roman (4.2-1) ... 118s Selecting previously unselected package python3-docutils. 118s Preparing to unpack .../75-python3-docutils_0.21.2+dfsg-2_all.deb ... 118s Unpacking python3-docutils (0.21.2+dfsg-2) ... 118s Selecting previously unselected package python3-imagesize. 118s Preparing to unpack .../76-python3-imagesize_1.4.1-1_all.deb ... 118s Unpacking python3-imagesize (1.4.1-1) ... 118s Selecting previously unselected package python3-iniconfig. 118s Preparing to unpack .../77-python3-iniconfig_1.1.1-2_all.deb ... 118s Unpacking python3-iniconfig (1.1.1-2) ... 118s Selecting previously unselected package python3-numpy. 118s Preparing to unpack .../78-python3-numpy_1%3a1.26.4+ds-11build1_arm64.deb ... 118s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 119s Selecting previously unselected package python3-pluggy. 119s Preparing to unpack .../79-python3-pluggy_1.5.0-1_all.deb ... 119s Unpacking python3-pluggy (1.5.0-1) ... 119s Selecting previously unselected package python3-pytest. 119s Preparing to unpack .../80-python3-pytest_8.3.3-1_all.deb ... 119s Unpacking python3-pytest (8.3.3-1) ... 119s Selecting previously unselected package python3-snowballstemmer. 119s Preparing to unpack .../81-python3-snowballstemmer_2.2.0-4build1_all.deb ... 119s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 119s Selecting previously unselected package sphinx-common. 119s Preparing to unpack .../82-sphinx-common_7.4.7-4_all.deb ... 119s Unpacking sphinx-common (7.4.7-4) ... 119s Selecting previously unselected package python3-alabaster. 119s Preparing to unpack .../83-python3-alabaster_0.7.16-0.1_all.deb ... 119s Unpacking python3-alabaster (0.7.16-0.1) ... 119s Selecting previously unselected package python3-sphinx. 119s Preparing to unpack .../84-python3-sphinx_7.4.7-4_all.deb ... 119s Unpacking python3-sphinx (7.4.7-4) ... 119s Selecting previously unselected package python3-sphinxcontrib.jquery. 119s Preparing to unpack .../85-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 119s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 119s Selecting previously unselected package python3-sphinx-rtd-theme. 119s Preparing to unpack .../86-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 119s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 119s Selecting previously unselected package autopkgtest-satdep. 119s Preparing to unpack .../87-1-autopkgtest-satdep.deb ... 119s Unpacking autopkgtest-satdep (0) ... 119s Setting up dh-python (6.20241024) ... 119s Setting up python3-iniconfig (1.1.1-2) ... 120s Setting up fonts-lato (2.015-1) ... 120s Setting up python3-defusedxml (0.7.1-2) ... 120s Setting up libarchive-zip-perl (1.68-1) ... 120s Setting up python3-alabaster (0.7.16-0.1) ... 120s Setting up libdebhelper-perl (13.20ubuntu1) ... 120s Setting up m4 (1.4.19-4build1) ... 120s Setting up libgomp1:arm64 (14.2.0-8ubuntu1) ... 120s Setting up python3-wheel (0.44.0-1) ... 120s Setting up python3-bpack (1.1.0-2) ... 121s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 121s Setting up python3-bitarray (2.9.2-1build1) ... 121s Setting up python3-roman (4.2-1) ... 121s Setting up autotools-dev (20220109.1) ... 121s Setting up libblas3:arm64 (3.12.0-3build2) ... 121s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 121s Setting up python3-packaging (24.1-1) ... 122s Setting up python3-pyproject-hooks (1.2.0-1) ... 122s Setting up python3-snowballstemmer (2.2.0-4build1) ... 122s Setting up libmpc3:arm64 (1.3.1-1build2) ... 122s Setting up autopoint (0.22.5-2) ... 122s Setting up python3-toml (0.10.2-1) ... 123s Setting up python3-installer (0.7.0+dfsg1-3) ... 123s Setting up libgfortran5:arm64 (14.2.0-8ubuntu1) ... 123s Setting up python3-bitstruct (8.19.0-1) ... 123s Setting up autoconf (2.72-3) ... 123s Setting up python3-pluggy (1.5.0-1) ... 123s Setting up libubsan1:arm64 (14.2.0-8ubuntu1) ... 123s Setting up dwz (0.15-1build6) ... 123s Setting up libhwasan0:arm64 (14.2.0-8ubuntu1) ... 123s Setting up libasan8:arm64 (14.2.0-8ubuntu1) ... 123s Setting up libjson-perl (4.10000-1) ... 123s Setting up debugedit (1:5.1-1) ... 123s Setting up python3.13-minimal (3.13.0-2) ... 124s Setting up sgml-base (1.31) ... 124s Setting up libtsan2:arm64 (14.2.0-8ubuntu1) ... 124s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 124s Setting up libisl23:arm64 (0.27-1) ... 124s Setting up python3-build (1.2.2-1) ... 125s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 125s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 125s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 125s Setting up libcc1-0:arm64 (14.2.0-8ubuntu1) ... 125s Setting up liblsan0:arm64 (14.2.0-8ubuntu1) ... 125s Setting up libitm1:arm64 (14.2.0-8ubuntu1) ... 125s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 125s Setting up python3-imagesize (1.4.1-1) ... 125s Setting up automake (1:1.16.5-1.3ubuntu1) ... 125s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 125s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 125s Setting up liblapack3:arm64 (3.12.0-3build2) ... 125s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 125s Setting up gettext (0.22.5-2) ... 125s Setting up python3.13 (3.13.0-2) ... 126s Setting up pybuild-plugin-pyproject (6.20241024) ... 126s Setting up python3-pytest (8.3.3-1) ... 127s Setting up python3-all (3.12.7-1) ... 127s Setting up intltool-debian (0.35.0+20060710.6) ... 127s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 131s Setting up libjs-sphinxdoc (7.4.7-4) ... 131s Setting up dh-strip-nondeterminism (1.14.0-1) ... 131s Setting up cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 131s Setting up xml-core (0.19) ... 131s Setting up libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 131s Setting up libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 131s Setting up po-debconf (1.0.21+nmu1) ... 131s Setting up python-bpack-doc (1.1.0-2) ... 131s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 131s Setting up sphinx-common (7.4.7-4) ... 131s Setting up cpp-14 (14.2.0-8ubuntu1) ... 131s Setting up cpp (4:14.1.0-2ubuntu1) ... 131s Setting up gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 131s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 131s Setting up g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 131s Setting up gcc-14 (14.2.0-8ubuntu1) ... 131s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 131s Setting up g++-14 (14.2.0-8ubuntu1) ... 131s Setting up libtool (2.4.7-7build1) ... 131s Setting up gcc (4:14.1.0-2ubuntu1) ... 131s Setting up dh-autoreconf (20) ... 131s Setting up g++ (4:14.1.0-2ubuntu1) ... 131s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 131s Setting up build-essential (12.10ubuntu1) ... 131s Setting up debhelper (13.20ubuntu1) ... 131s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 131s Processing triggers for libc-bin (2.40-1ubuntu3) ... 131s Processing triggers for systemd (256.5-2ubuntu4) ... 131s Processing triggers for man-db (2.12.1-3) ... 133s Processing triggers for install-info (7.1.1-1) ... 133s Processing triggers for sgml-base (1.31) ... 133s Setting up docutils-common (0.21.2+dfsg-2) ... 133s Processing triggers for sgml-base (1.31) ... 133s Setting up python3-docutils (0.21.2+dfsg-2) ... 134s Setting up python3-sphinx (7.4.7-4) ... 135s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 135s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 136s Setting up autopkgtest-satdep (0) ... 140s (Reading database ... 85856 files and directories currently installed.) 140s Removing autopkgtest-satdep (0) ... 141s autopkgtest [08:53:18]: test pybuild-autopkgtest: pybuild-autopkgtest 141s autopkgtest [08:53:18]: test pybuild-autopkgtest: [----------------------- 141s pybuild-autopkgtest 141s I: pybuild base:311: cd /tmp/autopkgtest.C3W8i2/autopkgtest_tmp/build; python3.13 -m pytest --pyargs bpack 142s ============================= test session starts ============================== 142s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 142s rootdir: /tmp/autopkgtest.C3W8i2/autopkgtest_tmp/build 142s configfile: pyproject.toml 142s plugins: typeguard-4.4.1 142s collected 1701 items / 2 skipped 142s 143s tests/test_backends_codec.py .s.sFsFs..ss....sFFssFFFFs..ss....FFssFFFFF [ 2%] 145s sFFsFs.s.sFsFsFFFsF.s.sFsFsFFsFFFFFFsFFsFFsFFsFFsFFsFFFFFFFFFFFF [ 6%] 145s tests/test_codecs.py FF [ 6%] 145s tests/test_desctiptor_utils.py ......................... [ 7%] 145s tests/test_field_descriptor.py ......................................... [ 10%] 145s ............... [ 11%] 145s tests/test_packbits.py .........s.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss [ 14%] 145s .sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%] 145s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 22%] 145s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 26%] 145s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 30%] 145s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 35%] 145s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 39%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 47%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 52%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 56%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 60%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 64%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 69%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 73%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 77%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 81%] 146s ssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%] 146s tests/test_record_descriptor.py ........................................ [ 87%] 146s ................... [ 88%] 146s tests/test_typing.py ................................................... [ 91%] 146s ........................................................................ [ 95%] 146s .................................................... [ 98%] 146s tests/test_utils.py .................... [100%] 146s 146s =================================== FAILURES =================================== 146s ________________________________ test_attrs[bs] ________________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", ALL_BACKENDS) 146s def test_attrs(backend): 146s codec = getattr(backend, "codec", backend.decoder) 146s 146s > @codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________________________________ test_attrs[st] ________________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", ALL_BACKENDS) 146s def test_attrs(backend): 146s codec = getattr(backend, "codec", backend.decoder) 146s 146s > @codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_decoder_func[st BE] ___________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x00\x01\xff\x01\x00\x02\xff\xfe\x00\x02\x00\x00\x00\x04\xff\xff\xff\xfc\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xf8\x00\x00\x00\x00\x00\x00\x00\x08I\x00B\xc8\x00\x00@\x8f@\x00\x00\x00\x00\x00abcABCxxxx1234' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_ba, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="ba BE MSB", 146s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 146s decoded_data = Record() 146s 146s > record_type = backend.decoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_decoder_func[st LE] ___________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x00\x01\xff\x01\x02\x00\xfe\xff\x02\x00\x04\x00\x00\x00\xfc\xff\xff\xff\x04\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xff\x08\x00\x00\x00\x00\x00\x00\x00\x00I\x00\x00\xc8B\x00\x00\x00\x00\x00@\x8f@abcABCxxxx1234' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_ba, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="ba BE MSB", 146s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 146s decoded_data = Record() 146s 146s > record_type = backend.decoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_decoder_func[bs BE MSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_ba, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="ba BE MSB", 146s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 146s decoded_data = Record() 146s 146s > record_type = backend.decoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_decoder_func[bs LE MSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_ba, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="ba BE MSB", 146s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 146s decoded_data = Record() 146s 146s > record_type = backend.decoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_decoder_func[bs BE LSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x90\x01\x00\x00\x01\xfc\xc6F\x86\xc2B\x82\x0f\xff\xff\xfe\x10\x01\x00\x00\x00\x01\x90\x01\x00\x00\x00\x01' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_ba, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="ba BE MSB", 146s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 146s decoded_data = Record() 146s 146s > record_type = backend.decoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_decoder_func[bs LE LSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x91\x00\xfc\x01\x00\x00\xc6F\x86\xc2B\x82\x0e\xff\xff\xff\x11\x00\x01\x00\x00\x00\x91\x00\x01\x00\x00\x00' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_ba, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="ba BE MSB", 146s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 146s decoded_data = Record() 146s 146s > record_type = backend.decoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_encoder_func[st BE] ___________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x00\x01\xff\x01\x00\x02\xff\xfe\x00\x02\x00\x00\x00\x04\xff\xff\xff\xfc\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xf8\x00\x00\x00\x00\x00\x00\x00\x08I\x00B\xc8\x00\x00@\x8f@\x00\x00\x00\x00\x00abcABCxxxx1234' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 146s record = Record() 146s 146s > record_type = backend.encoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_encoder_func[st LE] ___________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x00\x01\xff\x01\x02\x00\xfe\xff\x02\x00\x04\x00\x00\x00\xfc\xff\xff\xff\x04\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xff\x08\x00\x00\x00\x00\x00\x00\x00\x00I\x00\x00\xc8B\x00\x00\x00\x00\x00@\x8f@abcABCxxxx1234' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 146s record = Record() 146s 146s > record_type = backend.encoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_encoder_func[bs BE MSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 146s record = Record() 146s 146s > record_type = backend.encoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_encoder_func[bs LE MSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 146s record = Record() 146s 146s > record_type = backend.encoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_encoder_func[bs BE LSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x90\x01\x00\x00\x01\xfc\xc6F\x86\xc2B\x82\x0f\xff\xff\xfe\x10\x01\x00\x00\x00\x01\x90\x01\x00\x00\x00\x01' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 146s record = Record() 146s 146s > record_type = backend.encoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_encoder_func[bs LE LSB] _________________________ 146s 146s backend = 146s Record = 146s encoded_data = b'\x91\x00\xfc\x01\x00\x00\xc6F\x86\xc2B\x82\x0e\xff\xff\xff\x11\x00\x01\x00\x00\x00\x91\x00\x01\x00\x00\x00' 146s 146s @pytest.mark.parametrize( 146s "backend, Record, encoded_data", 146s [ 146s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 146s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 146s pytest.param( 146s bpack_np, 146s ByteRecordBe, 146s BYTE_ENCODED_DATA_BE, 146s id="np BE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s ByteRecordLe, 146s BYTE_ENCODED_DATA_LE, 146s id="np LE", 146s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeMsb, 146s BIT_ENCODED_DATA_BE_MSB, 146s id="bs BE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeMsb, 146s BIT_ENCODED_DATA_LE_MSB, 146s id="bs LE MSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordBeLsb, 146s BIT_ENCODED_DATA_BE_LSB, 146s id="bs BE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_bs, 146s BitRecordLeLsb, 146s BIT_ENCODED_DATA_LE_LSB, 146s id="bs LE LSB", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 146s record = Record() 146s 146s > record_type = backend.encoder(Record) 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________ test_bit_decoder_decorator_frombytes[bs] ___________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", BITS_BACKENDS) 146s def test_bit_decoder_decorator_frombytes(backend): 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:747: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ____________________ test_bit_encoder_decorator_tobytes[bs] ____________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ) 146s ], 146s ) 146s def test_bit_encoder_decorator_tobytes(backend): 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:783: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s __________________ test_byte_decoder_decorator_frombytes[st] ___________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 146s def test_byte_decoder_decorator_frombytes(backend): 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:805: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________ test_byte_encoder_decorator_tobytes[st] ____________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 146s def test_byte_encoder_decorator_tobytes(backend): 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:825: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ test_byte_decoder_native_byteorder_frombytes[st] _______________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 146s def test_byte_decoder_native_byteorder_frombytes(backend): 146s size = 4 146s value = 1 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:862: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________________ test_byte_encoder_native_byteorder_tobytes[st] ________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 146s def test_byte_encoder_native_byteorder_tobytes(backend): 146s size = 4 146s value = 1 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:876: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ test_bit_decoder_native_byteorder_frombytes[bs] ________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ) 146s ], 146s ) 146s def test_bit_decoder_native_byteorder_frombytes(backend): 146s size = 64 146s value = 1 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:900: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________________ test_bit_encoder_native_byteorder_tobytes[bs] _________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ) 146s ], 146s ) 146s def test_bit_encoder_native_byteorder_tobytes(backend): 146s size = 64 146s value = 1 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:927: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ test_bit_decoder_default_byteorder_frombytes[bs] _______________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", BITS_BACKENDS) 146s def test_bit_decoder_default_byteorder_frombytes(backend): 146s size = 64 146s value = 1 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:946: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________________ test_bit_encoder_default_byteorder_tobytes[bs] ________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ) 146s ], 146s ) 146s def test_bit_encoder_default_byteorder_tobytes(backend): 146s size = 64 146s value = 1 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:974: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_enum_decoding_bytes[bs] _________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", ALL_BACKENDS) 146s def test_enum_decoding_bytes(backend): 146s class EStrEnumType(enum.Enum): 146s A = "a" 146s B = "b" 146s 146s class EBytesEnumType(enum.Enum): 146s A = b"a" 146s B = b"b" 146s 146s class EIntEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s class EFlagEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s ssize = 1 146s isize = 1 146s encoded_data = b"".join( 146s [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 146s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 146s ] 146s ) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s ssize = 8 146s isize = 4 146s encoded_data = b"".join( 146s [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s bytes([0b00010001]), 146s ] 146s ) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_enum_decoding_bytes[st] _________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize("backend", ALL_BACKENDS) 146s def test_enum_decoding_bytes(backend): 146s class EStrEnumType(enum.Enum): 146s A = "a" 146s B = "b" 146s 146s class EBytesEnumType(enum.Enum): 146s A = b"a" 146s B = b"b" 146s 146s class EIntEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s class EFlagEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s ssize = 1 146s isize = 1 146s encoded_data = b"".join( 146s [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 146s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 146s ] 146s ) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s ssize = 8 146s isize = 4 146s encoded_data = b"".join( 146s [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s bytes([0b00010001]), 146s ] 146s ) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_enum_encoding_bytes[st] _________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s id="np", 146s marks=skipif(not bpack_np, reason="not available"), 146s ), 146s ], 146s ) 146s def test_enum_encoding_bytes(backend): 146s class EStrEnumType(enum.Enum): 146s A = "a" 146s B = "b" 146s 146s class EBytesEnumType(enum.Enum): 146s A = b"a" 146s B = b"b" 146s 146s class EIntEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s class EFlagEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s ssize = 1 146s isize = 1 146s encoded_data = [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 146s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 146s ] 146s encoded_data = b"".join(encoded_data) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s ssize = 8 146s isize = 4 146s encoded_data = [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s bytes([0b00010001]), 146s ] 146s encoded_data = b"".join(encoded_data) 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1126: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _________________________ test_enum_encoding_bytes[bs] _________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ), 146s pytest.param( 146s bpack_np, 146s id="np", 146s marks=skipif(not bpack_np, reason="not available"), 146s ), 146s ], 146s ) 146s def test_enum_encoding_bytes(backend): 146s class EStrEnumType(enum.Enum): 146s A = "a" 146s B = "b" 146s 146s class EBytesEnumType(enum.Enum): 146s A = b"a" 146s B = b"b" 146s 146s class EIntEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s class EFlagEnumType(enum.Enum): 146s A = 1 146s B = 2 146s 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s ssize = 1 146s isize = 1 146s encoded_data = [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 146s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 146s ] 146s encoded_data = b"".join(encoded_data) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s ssize = 8 146s isize = 4 146s encoded_data = [ 146s EStrEnumType.A.value.encode("ascii"), 146s EBytesEnumType.A.value, 146s bytes([0b00010001]), 146s ] 146s encoded_data = b"".join(encoded_data) 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1126: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_decode_sequence[st] ___________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decode_sequence(backend): 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s size = 1 146s repeat = 2 146s encoded_data = bytes([3, 3, 4, 4]) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s size = 4 146s repeat = 2 146s encoded_data = bytes([0b00110011, 0b01000100]) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1166: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_decode_sequence[bs] ___________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_decode_sequence(backend): 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s size = 1 146s repeat = 2 146s encoded_data = bytes([3, 3, 4, 4]) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s size = 4 146s repeat = 2 146s encoded_data = bytes([0b00110011, 0b01000100]) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1166: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_encode_sequence[st] ___________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encode_sequence(backend): 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s size = 1 146s repeat = 2 146s encoded_data = bytes([3, 3, 4, 4]) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s size = 4 146s repeat = 2 146s encoded_data = bytes([0b00110011, 0b01000100]) 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1208: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ___________________________ test_encode_sequence[bs] ___________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_encode_sequence(backend): 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 146s bitorder = None 146s size = 1 146s repeat = 2 146s encoded_data = bytes([3, 3, 4, 4]) 146s else: 146s bitorder = bpack.EBitOrder.MSB 146s size = 4 146s repeat = 2 146s encoded_data = bytes([0b00110011, 0b01000100]) 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1208: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ TestNestedRecord.test_nested_record_decoder[st] ________________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_decoder(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s > @backend.decoder # NOTE: this is a decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1260: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ TestNestedRecord.test_nested_record_decoder[bs] ________________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_decoder(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s > @backend.decoder # NOTE: this is a decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1260: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ TestNestedRecord.test_nested_record_encoder[st] ________________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_encoder(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s > @backend.encoder # NOTE: this is an encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1279: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ TestNestedRecord.test_nested_record_encoder[bs] ________________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_encoder(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s > @backend.encoder # NOTE: this is an encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1279: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ______________ TestNestedRecord.test_nested_record_frombytes[st] _______________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_frombytes(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s # NOTE: this time the inner record is not a decoder 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class Record: 146s field_1: int = bpack.field(size=4, default=1) 146s field_2: int = bpack.field(size=4, default=2) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1305: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ______________ TestNestedRecord.test_nested_record_frombytes[bs] _______________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_frombytes(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s # NOTE: this time the inner record is not a decoder 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class Record: 146s field_1: int = bpack.field(size=4, default=1) 146s field_2: int = bpack.field(size=4, default=2) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1305: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ TestNestedRecord.test_nested_record_tobytes[st] ________________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_tobytes(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s # NOTE: this time the inner record is not a decoder 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class Record: 146s field_1: int = bpack.field(size=4, default=1) 146s field_2: int = bpack.field(size=4, default=2) 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1324: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______________ TestNestedRecord.test_nested_record_tobytes[bs] ________________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_tobytes(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s 146s # NOTE: this time the inner record is not a decoder 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class Record: 146s field_1: int = bpack.field(size=4, default=1) 146s field_2: int = bpack.field(size=4, default=2) 146s 146s > @backend.encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1324: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s __________ TestNestedRecord.test_nested_record_decoder_with_order[st] __________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_decoder_with_order(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 146s kwargs = dict(bitorder=">", byteorder=">") 146s else: 146s # TODO: use the default byteorder (see get_encoded_data) 146s kwargs = dict(byteorder=bpack.EByteOrder.LE) 146s 146s > @backend.decoder # NOTE: this is a decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1343: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s __________ TestNestedRecord.test_nested_record_decoder_with_order[bs] __________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_decoder_with_order(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 146s kwargs = dict(bitorder=">", byteorder=">") 146s else: 146s # TODO: use the default byteorder (see get_encoded_data) 146s kwargs = dict(byteorder=bpack.EByteOrder.LE) 146s 146s > @backend.decoder # NOTE: this is a decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1343: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s __________ TestNestedRecord.test_nested_record_encoder_with_order[st] __________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_encoder_with_order(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 146s kwargs = dict(bitorder=">", byteorder=">") 146s else: 146s # TODO: use the default byteorder (see get_encoded_data) 146s kwargs = dict(byteorder=bpack.EByteOrder.LE) 146s 146s > @backend.encoder # NOTE: this is a encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1367: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s __________ TestNestedRecord.test_nested_record_encoder_with_order[bs] __________ 146s 146s self = 146s backend = 146s 146s def test_nested_record_encoder_with_order(self, backend): 146s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 146s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 146s kwargs = dict(bitorder=">", byteorder=">") 146s else: 146s # TODO: use the default byteorder (see get_encoded_data) 146s kwargs = dict(byteorder=bpack.EByteOrder.LE) 146s 146s > @backend.encoder # NOTE: this is a encoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1367: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[st] ________ 146s 146s self = 146s backend = 146s 146s def test_decode_nested_record_two_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s FOUR = 4 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_02: int = bpack.field(size=4, default=2) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1454: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[bs] ________ 146s 146s self = 146s backend = 146s 146s def test_decode_nested_record_two_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s FOUR = 4 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_02: int = bpack.field(size=4, default=2) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1454: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[st] ________ 146s 146s self = 146s backend = 146s 146s def test_encode_nested_record_two_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s FOUR = 4 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_02: int = bpack.field(size=4, default=2) 146s 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1478: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[bs] ________ 146s 146s self = 146s backend = 146s 146s def test_encode_nested_record_two_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s FOUR = 4 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_02: int = bpack.field(size=4, default=2) 146s 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1478: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[st] _______ 146s 146s self = 146s backend = 146s 146s def test_decode_nested_record_three_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s TWO = 2 146s SEVEN = 7 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 146s ) 146s field_03: int = bpack.field(size=4, default=4) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1511: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[bs] _______ 146s 146s self = 146s backend = 146s 146s def test_decode_nested_record_three_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s TWO = 2 146s SEVEN = 7 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 146s ) 146s field_03: int = bpack.field(size=4, default=4) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1511: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[st] _______ 146s 146s self = 146s backend = 146s 146s def test_encode_nested_record_three_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s TWO = 2 146s SEVEN = 7 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 146s ) 146s field_03: int = bpack.field(size=4, default=4) 146s 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1546: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[bs] _______ 146s 146s self = 146s backend = 146s 146s def test_encode_nested_record_three_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s TWO = 2 146s SEVEN = 7 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 146s ) 146s field_03: int = bpack.field(size=4, default=4) 146s 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1546: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[st] ________ 146s 146s self = 146s backend = 146s 146s def test_decode_nested_record_four_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s THREE = 3 146s TEN = 10 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel04: 146s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_0002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: int = bpack.field(size=4, default=1) 146s field_002: RecordLevel04 = bpack.field( 146s default_factory=RecordLevel04 146s ) 146s field_003: int = bpack.field(size=4, default=3) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial( 146s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 146s ) 146s ) 146s field_03: int = bpack.field(size=4, default=6) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1591: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[bs] ________ 146s 146s self = 146s backend = 146s 146s def test_decode_nested_record_four_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s THREE = 3 146s TEN = 10 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel04: 146s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_0002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: int = bpack.field(size=4, default=1) 146s field_002: RecordLevel04 = bpack.field( 146s default_factory=RecordLevel04 146s ) 146s field_003: int = bpack.field(size=4, default=3) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial( 146s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 146s ) 146s ) 146s field_03: int = bpack.field(size=4, default=6) 146s 146s > @backend.decoder 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1591: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[st] ________ 146s 146s self = 146s backend = 146s 146s def test_encode_nested_record_four_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s THREE = 3 146s TEN = 10 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel04: 146s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_0002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: int = bpack.field(size=4, default=1) 146s field_002: RecordLevel04 = bpack.field( 146s default_factory=RecordLevel04 146s ) 146s field_003: int = bpack.field(size=4, default=3) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial( 146s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 146s ) 146s ) 146s field_03: int = bpack.field(size=4, default=6) 146s 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1639: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[bs] ________ 146s 146s self = 146s backend = 146s 146s def test_encode_nested_record_four_levels(self, backend): 146s class EEnum(enum.Enum): 146s ONE = 1 146s THREE = 3 146s TEN = 10 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel04: 146s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 146s field_0002: int = bpack.field(size=4, default=2) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel03: 146s field_001: int = bpack.field(size=4, default=1) 146s field_002: RecordLevel04 = bpack.field( 146s default_factory=RecordLevel04 146s ) 146s field_003: int = bpack.field(size=4, default=3) 146s 146s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 146s class RecordLevel02: 146s field_01: int = bpack.field(size=4, default=1) 146s field_02: RecordLevel03 = bpack.field( 146s default_factory=functools.partial( 146s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 146s ) 146s ) 146s field_03: int = bpack.field(size=4, default=6) 146s 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1639: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ____________________________ test_codec_helpers[st] ____________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_codec_helpers(backend): 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_codecs.py:27: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s ____________________________ test_codec_helpers[bs] ____________________________ 146s 146s backend = 146s 146s @pytest.mark.parametrize( 146s "backend", 146s [ 146s pytest.param(bpack.st, id="st"), 146s pytest.param( 146s bpack_bs, 146s id="bs", 146s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 146s ), 146s ], 146s ) 146s def test_codec_helpers(backend): 146s > @backend.codec 146s 146s /usr/lib/python3/dist-packages/bpack/tests/test_codecs.py:27: 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 146s return wrap(cls) 146s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 146s return func(klass, **kwargs) 146s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 146s decode_func = bpack.utils.create_fn( 146s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 146s 146s name = 'frombytes', args = ('cls', 'data') 146s body = ['return cls.__bpack_decoder__.decode(data)'] 146s 146s def create_fn( 146s name, 146s args, 146s body, 146s *, 146s globals=None, # noqa: A002 146s locals=None, # noqa: A002 146s return_type=dataclasses.MISSING, 146s ): 146s """Create a function object.""" 146s > return dataclasses._create_fn( 146s name, 146s args, 146s body, 146s globals=globals, 146s locals=locals, 146s return_type=return_type, 146s ) 146s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 146s 146s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 146s =============================== warnings summary =============================== 146s ../../../../usr/lib/python3/dist-packages/bpack/tests/test_decoder_np.py:9 146s /usr/lib/python3/dist-packages/bpack/tests/test_decoder_np.py:9: PytestDeprecationWarning: 146s Module 'bpack.np' was found, but when imported by pytest it raised: 146s ImportError('Error importing numpy: you should not try to import numpy from\n its source directory; please exit the numpy source tree, and relaunch\n your python interpreter from there.') 146s In pytest 9.1 this warning will become an error by default. 146s You can fix the underlying problem, or alternatively overwrite this behavior and silence this warning by passing exc_type=ImportError explicitly. 146s See https://docs.pytest.org/en/stable/deprecations.html#pytest-importorskip-default-behavior-regarding-importerror 146s bpack_np = pytest.importorskip("bpack.np") 146s 146s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 146s =========================== short test summary info ============================ 146s FAILED tests/test_backends_codec.py::test_attrs[bs] - AttributeError: module ... 146s FAILED tests/test_backends_codec.py::test_attrs[st] - AttributeError: module ... 146s FAILED tests/test_backends_codec.py::test_decoder_func[st BE] - AttributeErro... 146s FAILED tests/test_backends_codec.py::test_decoder_func[st LE] - AttributeErro... 146s FAILED tests/test_backends_codec.py::test_decoder_func[bs BE MSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_decoder_func[bs LE MSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_decoder_func[bs BE LSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_decoder_func[bs LE LSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_encoder_func[st BE] - AttributeErro... 146s FAILED tests/test_backends_codec.py::test_encoder_func[st LE] - AttributeErro... 146s FAILED tests/test_backends_codec.py::test_encoder_func[bs BE MSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_encoder_func[bs LE MSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_encoder_func[bs BE LSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_encoder_func[bs LE LSB] - Attribute... 146s FAILED tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[bs] 146s FAILED tests/test_backends_codec.py::test_bit_encoder_decorator_tobytes[bs] 146s FAILED tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[st] 146s FAILED tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[st] 146s FAILED tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[st] 146s FAILED tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[st] 146s FAILED tests/test_backends_codec.py::test_bit_decoder_native_byteorder_frombytes[bs] 146s FAILED tests/test_backends_codec.py::test_bit_encoder_native_byteorder_tobytes[bs] 146s FAILED tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[bs] 146s FAILED tests/test_backends_codec.py::test_bit_encoder_default_byteorder_tobytes[bs] 146s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[bs] - Attribute... 146s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[st] - Attribute... 146s FAILED tests/test_backends_codec.py::test_enum_encoding_bytes[st] - Attribute... 146s FAILED tests/test_backends_codec.py::test_enum_encoding_bytes[bs] - Attribute... 146s FAILED tests/test_backends_codec.py::test_decode_sequence[st] - AttributeErro... 146s FAILED tests/test_backends_codec.py::test_decode_sequence[bs] - AttributeErro... 146s FAILED tests/test_backends_codec.py::test_encode_sequence[st] - AttributeErro... 146s FAILED tests/test_backends_codec.py::test_encode_sequence[bs] - AttributeErro... 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[st] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[bs] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[st] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[bs] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[st] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[bs] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[st] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[bs] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[st] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[bs] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[st] 146s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[bs] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[st] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[bs] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[st] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[bs] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[st] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[bs] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[st] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[bs] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[st] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[bs] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[st] 146s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[bs] 146s FAILED tests/test_codecs.py::test_codec_helpers[st] - AttributeError: module ... 146s FAILED tests/test_codecs.py::test_codec_helpers[bs] - AttributeError: module ... 146s =========== 58 failed, 376 passed, 1269 skipped, 1 warning in 4.45s ============ 146s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.C3W8i2/autopkgtest_tmp/build; python3.13 -m pytest --pyargs bpack 146s I: pybuild base:311: cd /tmp/autopkgtest.C3W8i2/autopkgtest_tmp/build; python3.12 -m pytest --pyargs bpack 147s ============================= test session starts ============================== 147s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 147s rootdir: /tmp/autopkgtest.C3W8i2/autopkgtest_tmp/build 147s configfile: pyproject.toml 147s plugins: typeguard-4.4.1 147s collected 1709 items 147s 147s tests/test_backends_codec.py ........................................... [ 2%] 148s ................................................................ [ 6%] 148s tests/test_codecs.py .. [ 6%] 148s tests/test_decoder_ba.py ....... [ 6%] 148s tests/test_decoder_np.py . [ 6%] 148s tests/test_desctiptor_utils.py ......................... [ 8%] 148s tests/test_field_descriptor.py ......................................... [ 10%] 148s ............... [ 11%] 148s tests/test_packbits.py ................................................. [ 14%] 148s ........................................................................ [ 18%] 148s ........................................................................ [ 22%] 148s ........................................................................ [ 27%] 149s ........................................................................ [ 31%] 149s ........................................................................ [ 35%] 150s ........................................................................ [ 39%] 150s ........................................................................ [ 43%] 150s ........................................................................ [ 48%] 151s ........................................................................ [ 52%] 151s ........................................................................ [ 56%] 151s ........................................................................ [ 60%] 151s ........................................................................ [ 65%] 151s ........................................................................ [ 69%] 152s ........................................................................ [ 73%] 152s ........................................................................ [ 77%] 152s ........................................................................ [ 81%] 152s ........................................................ [ 85%] 152s tests/test_record_descriptor.py ........................................ [ 87%] 153s ................... [ 88%] 153s tests/test_typing.py ................................................... [ 91%] 153s ........................................................................ [ 95%] 153s .................................................... [ 98%] 153s tests/test_utils.py .................... [100%] 153s 153s ============================= 1709 passed in 5.97s ============================= 153s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 153s make: *** [/tmp/sn9sExXki7/run:4: pybuild-autopkgtest] Error 25 153s pybuild-autopkgtest: error: /tmp/sn9sExXki7/run pybuild-autopkgtest returned exit code 2 153s autopkgtest [08:53:30]: test pybuild-autopkgtest: -----------------------] 154s pybuild-autopkgtest FAIL non-zero exit status 25 154s autopkgtest [08:53:31]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 154s autopkgtest [08:53:31]: @@@@@@@@@@@@@@@@@@@@ summary 154s pybuild-autopkgtest FAIL non-zero exit status 25 260s nova [W] Skipping flock in bos03-arm64 260s Creating nova instance adt-plucky-arm64-bpack-20241113-085056-juju-7f2275-prod-proposed-migration-environment-20-6bb3637f-cbbf-478a-b7ab-f22ab2d7e473 from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)...