Running as unit: rb-build-amd64_16-39595.service ==================================================================================== Fri Nov 22 20:42:11 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_amd64_16) on jenkins, called using "ionos15-amd64 ionos11-amd64" as arguments. Fri Nov 22 20:42:11 UTC 2024 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-tdHiev6Y" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Fri Nov 22 20:42:11 UTC 2024 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Fri Nov 22 20:42:11 UTC 2024 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-uXswuE' Fri Nov 22 20:42:12 UTC 2024 - checking /var/lib/jenkins/offline_nodes if ionos11-amd64.debian.net is marked as down. Fri Nov 22 20:42:12 UTC 2024 - checking via ssh if ionos11-amd64.debian.net is up. removed '/tmp/read-only-fs-test-d3C3vy' ok, let's check if bpack is building anywhere yet… ok, bpack is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of bpack in unstable on amd64 on jenkins now. 1st build will be done on ionos15-amd64.debian.net. 2nd build will be done on ionos11-amd64.debian.net. ============================================================================= Fri Nov 22 20:42:29 UTC 2024 I: starting to build bpack/unstable/amd64 on jenkins on '2024-11-22 20:42' Fri Nov 22 20:42:29 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_16/39595/console.log 1732308149 amd64 unstable bpack Fri Nov 22 20:42:29 UTC 2024 I: Downloading source for unstable/bpack=1.1.0-2 --2024-11-22 20:42:29-- http://deb.debian.org/debian/pool/main/b/bpack/bpack_1.1.0-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 3063 (3.0K) [text/prs.lines.tag] Saving to: ‘bpack_1.1.0-2.dsc’ 0K .. 100% 355M=0s 2024-11-22 20:42:29 (355 MB/s) - ‘bpack_1.1.0-2.dsc’ saved [3063/3063] --2024-11-22 20:42:29-- http://deb.debian.org/debian/pool/main/b/bpack/bpack_1.1.0-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 3063 (3.0K) [text/prs.lines.tag] Saving to: ‘bpack_1.1.0-2.dsc’ 0K .. 100% 355M=0s 2024-11-22 20:42:29 (355 MB/s) - ‘bpack_1.1.0-2.dsc’ saved [3063/3063] Fri Nov 22 20:42:29 UTC 2024 I: bpack_1.1.0-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: bpack Binary: python3-bpack, python-bpack-doc Architecture: all Version: 1.1.0-2 Maintainer: Debian GIS Project Uploaders: Antonio Valentino Homepage: https://github.com/avalentino/bpack Description: Binary data structures (un-)packing library The *bpack* Python package provides tools to describe and encode/decode binary data. . Binary data are assumed to be organized in *records*, each composed by a sequence of fields. Fields are characterized by a known size, offset (w.r.t. the beginning of the record) and datatype. . The package provides classes and functions that can be used to: . * describe binary data structures in a declarative way (structures can be specified up to the bit level) * automatically generate encoders/decoders for a specified data descriptor . Encoders/decoders (*backends*) rely on well known Python packages like: . * struct (form the standard library) * bitstruct (optional) * numpy (optional) * bitarray (optional) - partial implementation Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/debian-gis-team/bpack Vcs-Git: https://salsa.debian.org/debian-gis-team/bpack.git Testsuite: autopkgtest-pkg-pybuild Build-Depends: debhelper-compat (= 13), dh-sequence-python3, dh-sequence-sphinxdoc, pybuild-plugin-pyproject, python3-all, python3-bitarray, python3-bitstruct, python3-numpy, python3-pytest , python3-setuptools, python3-sphinx , python3-sphinx-rtd-theme Package-List: python-bpack-doc deb doc optional arch=all python3-bpack deb python optional arch=all Checksums-Sha1: 8fce21c5d40a41d543b4e8edfc7f299fb83ac5cb 62019 bpack_1.1.0.orig.tar.gz 516b6d4ee44e4888477968a30ab1ee3cd57f0b6b 3532 bpack_1.1.0-2.debian.tar.xz Checksums-Sha256: 0be1723df930ba3decdf5daabdd1ac1bbc16dbe08f49ebaf8c354ccfc7f00479 62019 bpack_1.1.0.orig.tar.gz 3a15551cc7dfa6498625a88b067f784a86f6ea64a04bce2186c70bf516c59206 3532 bpack_1.1.0-2.debian.tar.xz Files: c38a0c1ec3c513f2498ff06ea90682a2 62019 bpack_1.1.0.orig.tar.gz a71b81f64edbb957e06051edaa8ca853 3532 bpack_1.1.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmZx+RoACgkQZ1DxCuiN SvGwBxAAlUT/wF55O+NLYC3GP9twdhSZ2kQJOfyybEylU2R6leXmT1dxd0wp88X2 oyZRNEG3e0V72hzCYZfyH41RCv895pJpBPZEVl8KKtFXcOt3nDHYAg5eRquYVV2i 6cepEMSJTYp1wKUs1aSFQ8o0AkFbCyDIN8p6oYWHqV1emWN9Eab/dI4qs+JV1Ka9 ifyshvMkQdfr5zcIO0OMpJWhKwrajAMznRvqTDkuCm+h8Q2nuNsESK2UTbVMwHyT NYw0XHRd8DmH4wTNy8gL/s1qCOaxbgCbCQ84ygaQ0ae+Ougy4w8Ns/qvflq2UIz5 kJv5et5tWdCtAKUTXbQVBzYT2277UlNXVCc1LrgsMiKPv/7DLqDgJMa0Qd15z8h3 do9uhXAZBxZoes8AtPRev9GPyUOGl8IMNHrJKFtOdP0uo9gG6/e4DyCtaVt/Us+k Jv5HqHoNI8Ug2iGngmgAs+OJ6rItGtzRm6lzW/d2mDeC8LrPdygdD0hE96BFzEjP qNKeRoUxVXFcoSC1ILH6rYLMCWkXpPv626w2uxc+EPi0MQs4QC6nXM2qwWMTdks/ 92p0MrHocS80Z9umNLiC+ZNhgB2mht4GbWn+P79D13To0iFJjWwjDQBGit8Na3Mn PyeKc91/PmSYAXK4/W90ByyBaDcihajY/N9JyXoUTA8OOFJ+eMY= =+sJQ -----END PGP SIGNATURE----- Fri Nov 22 20:42:29 UTC 2024 I: Checking whether the package is not for us Fri Nov 22 20:42:29 UTC 2024 I: Starting 1st build on remote node ionos15-amd64.debian.net. Fri Nov 22 20:42:29 UTC 2024 I: Preparing to do remote build '1' on ionos15-amd64.debian.net. Fri Nov 22 20:42:29 UTC 2024 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Fri Nov 22 20:42:29 UTC 2024 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-f0xIg1' ==================================================================================== Fri Dec 26 03:05:30 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos15-amd64, called using "1 bpack unstable /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7 1.1.0-2" as arguments. Fri Dec 26 03:05:30 UTC 2025 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-U8pnvxba" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Fri Dec 26 03:05:30 UTC 2025 I: Downloading source for unstable/bpack=1.1.0-2 Reading package lists... NOTICE: 'bpack' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian-gis-team/bpack.git Please use: git clone https://salsa.debian.org/debian-gis-team/bpack.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 68.6 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main bpack 1.1.0-2 (dsc) [3063 B] Get:2 http://deb.debian.org/debian unstable/main bpack 1.1.0-2 (tar) [62.0 kB] Get:3 http://deb.debian.org/debian unstable/main bpack 1.1.0-2 (diff) [3532 B] Fetched 68.6 kB in 0s (1664 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'bpack' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian-gis-team/bpack.git Please use: git clone https://salsa.debian.org/debian-gis-team/bpack.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 68.6 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main bpack 1.1.0-2 (dsc) [3063 B] Get:2 http://deb.debian.org/debian unstable/main bpack 1.1.0-2 (tar) [62.0 kB] Get:3 http://deb.debian.org/debian unstable/main bpack 1.1.0-2 (diff) [3532 B] Fetched 68.6 kB in 0s (1664 kB/s) Download complete and in download only mode ============================================================================= Building bpack in unstable on amd64 on ionos15-amd64 now. Date: Fri Dec 26 03:05:30 UTC 2025 Date UTC: Fri Dec 26 03:05:30 UTC 2025 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Thu Dec 25 15:05:30 -12 2025 I: pbuilder-time-stamp: 1766718330 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [bpack_1.1.0-2.dsc] I: copying [./bpack_1.1.0.orig.tar.gz] I: copying [./bpack_1.1.0-2.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Jun 18 21:16:10 2024 gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./bpack_1.1.0-2.dsc: no acceptable signature found dpkg-source: info: extracting bpack in bpack-1.1.0 dpkg-source: info: unpacking bpack_1.1.0.orig.tar.gz dpkg-source: info: unpacking bpack_1.1.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Fix-privacy-breach.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/448276/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='c93d7e323c874e0a8face824252205c1' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='448276' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7/pbuilderrc_CP7D --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7/b1 --logfile b1/build.log bpack_1.1.0-2.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/448276/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-sequence-python3, dh-sequence-sphinxdoc, pybuild-plugin-pyproject, python3-all, python3-bitarray, python3-bitstruct, python3-numpy, python3-pytest, python3-setuptools, python3-sphinx, python3-sphinx-rtd-theme dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19966 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-sphinxdoc; however: Package dh-sequence-sphinxdoc is not installed. pbuilder-satisfydepends-dummy depends on pybuild-plugin-pyproject; however: Package pybuild-plugin-pyproject is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-bitarray; however: Package python3-bitarray is not installed. pbuilder-satisfydepends-dummy depends on python3-bitstruct; however: Package python3-bitstruct is not installed. pbuilder-satisfydepends-dummy depends on python3-numpy; however: Package python3-numpy is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx; however: Package python3-sphinx is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx-rtd-theme; however: Package python3-sphinx-rtd-theme is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} docutils-common{a} dwz{a} file{a} fonts-font-awesome{a} fonts-lato{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libblas3{a} libcom-err2{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libgfortran5{a} libgssapi-krb5-2{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libjson-perl{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} liblapack3{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpython3-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libtirpc-common{a} libtirpc3t64{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} po-debconf{a} pybuild-plugin-pyproject{a} python-babel-localedata{a} python3{a} python3-alabaster{a} python3-all{a} python3-autocommand{a} python3-babel{a} python3-bitarray{a} python3-bitstruct{a} python3-build{a} python3-certifi{a} python3-chardet{a} python3-charset-normalizer{a} python3-defusedxml{a} python3-docutils{a} python3-idna{a} python3-imagesize{a} python3-inflect{a} python3-iniconfig{a} python3-installer{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-jinja2{a} python3-markupsafe{a} python3-minimal{a} python3-more-itertools{a} python3-numpy{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-pygments{a} python3-pyproject-hooks{a} python3-pytest{a} python3-requests{a} python3-roman{a} python3-setuptools{a} python3-snowballstemmer{a} python3-sphinx{a} python3-sphinx-rtd-theme{a} python3-sphinxcontrib.jquery{a} python3-toml{a} python3-typeguard{a} python3-typing-extensions{a} python3-urllib3{a} python3-wheel{a} python3-zipp{a} python3.12{a} python3.12-minimal{a} python3.13{a} python3.13-minimal{a} readline-common{a} sensible-utils{a} sgml-base{a} sphinx-common{a} sphinx-rtd-theme-common{a} tzdata{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl javascript-common krb5-locales libarchive-cpio-perl libjson-xs-perl libltdl-dev libmail-sendmail-perl libpaper-utils lynx python3-pil wget 0 packages upgraded, 117 newly installed, 0 to remove and 0 not upgraded. Need to get 58.5 MB of archives. After unpacking 253 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 fonts-lato all 2.015-1 [2780 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libpython3.12-minimal amd64 3.12.7-3 [815 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libexpat1 amd64 2.6.4-1 [106 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 python3.12-minimal amd64 3.12.7-3 [2162 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 python3-minimal amd64 3.12.7-1 [26.8 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 media-types all 10.1.0 [26.9 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 netbase all 6.4 [12.8 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 tzdata all 2024b-3 [255 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libkrb5support0 amd64 1.21.3-3 [32.5 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 libcom-err2 amd64 1.47.1-1+b1 [23.2 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 libk5crypto3 amd64 1.21.3-3 [79.9 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 libkeyutils1 amd64 1.6.3-4 [9092 B] Get: 13 http://deb.debian.org/debian unstable/main amd64 libkrb5-3 amd64 1.21.3-3 [324 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 libgssapi-krb5-2 amd64 1.21.3-3 [136 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libtirpc3t64 amd64 1.3.4+ds-1.3+b1 [83.1 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libnsl2 amd64 1.3.0-3+b3 [40.6 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 readline-common all 8.2-5 [69.3 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libreadline8t64 amd64 8.2-5 [169 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libpython3.12-stdlib amd64 3.12.7-3 [1966 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 python3.12 amd64 3.12.7-3 [671 kB] Get: 22 http://deb.debian.org/debian unstable/main amd64 libpython3-stdlib amd64 3.12.7-1 [9712 B] Get: 23 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.12.7-1 [27.8 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libpython3.13-minimal amd64 3.13.0-2 [856 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 python3.13-minimal amd64 3.13.0-2 [2038 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 sgml-base all 1.31 [15.4 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 openssl amd64 3.3.2-2 [1382 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 ca-certificates all 20240203 [158 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 33 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 34 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-11 [91.5 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 41 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 42 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 43 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 44 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 45 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-8 [517 kB] Get: 46 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 47 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 48 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 49 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 50 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 51 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 52 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5+b1 [9423 kB] Get: 53 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB] Get: 54 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 55 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 56 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 57 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 58 http://deb.debian.org/debian unstable/main amd64 python3-autocommand all 2.2.2-3 [13.6 kB] Get: 59 http://deb.debian.org/debian unstable/main amd64 python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 60 http://deb.debian.org/debian unstable/main amd64 python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 61 http://deb.debian.org/debian unstable/main amd64 python3-typeguard all 4.4.1-1 [37.0 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 python3-inflect all 7.3.1-2 [32.4 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.context all 6.0.0-1 [7984 B] Get: 64 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 65 http://deb.debian.org/debian unstable/main amd64 python3-pkg-resources all 75.2.0-1 [213 kB] Get: 66 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 67 http://deb.debian.org/debian unstable/main amd64 python3-zipp all 3.21.0-1 [10.6 kB] Get: 68 http://deb.debian.org/debian unstable/main amd64 python3-setuptools all 75.2.0-1 [731 kB] Get: 69 http://deb.debian.org/debian unstable/main amd64 dh-python all 6.20241024 [109 kB] Get: 70 http://deb.debian.org/debian unstable/main amd64 xml-core all 0.19 [20.1 kB] Get: 71 http://deb.debian.org/debian unstable/main amd64 docutils-common all 0.21.2+dfsg-2 [128 kB] Get: 72 http://deb.debian.org/debian unstable/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [517 kB] Get: 73 http://deb.debian.org/debian unstable/main amd64 libblas3 amd64 3.12.0-4 [152 kB] Get: 74 http://deb.debian.org/debian unstable/main amd64 libgfortran5 amd64 14.2.0-8 [836 kB] Get: 75 http://deb.debian.org/debian unstable/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 76 http://deb.debian.org/debian unstable/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 77 http://deb.debian.org/debian unstable/main amd64 libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 78 http://deb.debian.org/debian unstable/main amd64 libjson-perl all 4.10000-1 [87.5 kB] Get: 79 http://deb.debian.org/debian unstable/main amd64 liblapack3 amd64 3.12.0-4 [2450 kB] Get: 80 http://deb.debian.org/debian unstable/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [1992 kB] Get: 81 http://deb.debian.org/debian unstable/main amd64 python3-packaging all 24.2-1 [55.3 kB] Get: 82 http://deb.debian.org/debian unstable/main amd64 python3-pyproject-hooks all 1.2.0-1 [11.7 kB] Get: 83 http://deb.debian.org/debian unstable/main amd64 python3-toml all 0.10.2-1 [16.2 kB] Get: 84 http://deb.debian.org/debian unstable/main amd64 python3-wheel all 0.45.0-1 [56.7 kB] Get: 85 http://deb.debian.org/debian unstable/main amd64 python3-build all 1.2.2-1 [36.0 kB] Get: 86 http://deb.debian.org/debian unstable/main amd64 python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 87 http://deb.debian.org/debian unstable/main amd64 pybuild-plugin-pyproject all 6.20241024 [11.4 kB] Get: 88 http://deb.debian.org/debian unstable/main amd64 python-babel-localedata all 2.16.0-1 [5696 kB] Get: 89 http://deb.debian.org/debian unstable/main amd64 python3-alabaster all 0.7.16-0.1 [27.9 kB] Get: 90 http://deb.debian.org/debian unstable/main amd64 python3.13 amd64 3.13.0-2 [730 kB] Get: 91 http://deb.debian.org/debian unstable/main amd64 python3-all amd64 3.12.7-1 [1052 B] Get: 92 http://deb.debian.org/debian unstable/main amd64 python3-babel all 2.16.0-1 [114 kB] Get: 93 http://deb.debian.org/debian unstable/main amd64 python3-bitarray amd64 2.9.2-1+b2 [156 kB] Get: 94 http://deb.debian.org/debian unstable/main amd64 python3-bitstruct amd64 8.19.0-1+b2 [23.7 kB] Get: 95 http://deb.debian.org/debian unstable/main amd64 python3-certifi all 2024.8.30+dfsg-1 [9576 B] Get: 96 http://deb.debian.org/debian unstable/main amd64 python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 97 http://deb.debian.org/debian unstable/main amd64 python3-charset-normalizer amd64 3.4.0-1+b1 [140 kB] Get: 98 http://deb.debian.org/debian unstable/main amd64 python3-defusedxml all 0.7.1-2 [43.3 kB] Get: 99 http://deb.debian.org/debian unstable/main amd64 python3-roman all 4.2-1 [10.4 kB] Get: 100 http://deb.debian.org/debian unstable/main amd64 python3-docutils all 0.21.2+dfsg-2 [403 kB] Get: 101 http://deb.debian.org/debian unstable/main amd64 python3-idna all 3.8-2 [41.6 kB] Get: 102 http://deb.debian.org/debian unstable/main amd64 python3-imagesize all 1.4.1-1 [6688 B] Get: 103 http://deb.debian.org/debian unstable/main amd64 python3-iniconfig all 1.1.1-2 [6396 B] Get: 104 http://deb.debian.org/debian unstable/main amd64 python3-markupsafe amd64 2.1.5-1+b2 [13.9 kB] Get: 105 http://deb.debian.org/debian unstable/main amd64 python3-jinja2 all 3.1.3-1 [119 kB] Get: 106 http://deb.debian.org/debian unstable/main amd64 python3-numpy amd64 1:1.26.4+ds-12 [4738 kB] Get: 107 http://deb.debian.org/debian unstable/main amd64 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 108 http://deb.debian.org/debian unstable/main amd64 python3-pygments all 2.18.0+dfsg-1 [836 kB] Get: 109 http://deb.debian.org/debian unstable/main amd64 python3-pytest all 8.3.3-1 [249 kB] Get: 110 http://deb.debian.org/debian unstable/main amd64 python3-urllib3 all 2.0.7-2 [111 kB] Get: 111 http://deb.debian.org/debian unstable/main amd64 python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 112 http://deb.debian.org/debian unstable/main amd64 python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 113 http://deb.debian.org/debian unstable/main amd64 sphinx-common all 7.4.7-4 [731 kB] Get: 114 http://deb.debian.org/debian unstable/main amd64 python3-sphinx all 7.4.7-4 [588 kB] Get: 115 http://deb.debian.org/debian unstable/main amd64 sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1023 kB] Get: 116 http://deb.debian.org/debian unstable/main amd64 python3-sphinxcontrib.jquery all 4.1-5 [7348 B] Get: 117 http://deb.debian.org/debian unstable/main amd64 python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [29.5 kB] Fetched 58.5 MB in 3s (18.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package fonts-lato. (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 ... 19966 files and directories currently installed.) Preparing to unpack .../fonts-lato_2.015-1_all.deb ... Unpacking fonts-lato (2.015-1) ... Selecting previously unselected package libpython3.12-minimal:amd64. Preparing to unpack .../libpython3.12-minimal_3.12.7-3_amd64.deb ... Unpacking libpython3.12-minimal:amd64 (3.12.7-3) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.6.4-1_amd64.deb ... Unpacking libexpat1:amd64 (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.7-3_amd64.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:amd64 (3.12.7-3) ... Setting up libexpat1:amd64 (2.6.4-1) ... Setting up python3.12-minimal (3.12.7-3) ... Selecting previously unselected package python3-minimal. (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 ... 20312 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_amd64.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../03-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../04-libkrb5support0_1.21.3-3_amd64.deb ... Unpacking libkrb5support0:amd64 (1.21.3-3) ... Selecting previously unselected package libcom-err2:amd64. Preparing to unpack .../05-libcom-err2_1.47.1-1+b1_amd64.deb ... Unpacking libcom-err2:amd64 (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../06-libk5crypto3_1.21.3-3_amd64.deb ... Unpacking libk5crypto3:amd64 (1.21.3-3) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../07-libkeyutils1_1.6.3-4_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6.3-4) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../08-libkrb5-3_1.21.3-3_amd64.deb ... Unpacking libkrb5-3:amd64 (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../10-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:amd64. Preparing to unpack .../11-libtirpc3t64_1.3.4+ds-1.3+b1_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3 to /lib/x86_64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3.0.0 to /lib/x86_64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:amd64. Preparing to unpack .../12-libnsl2_1.3.0-3+b3_amd64.deb ... Unpacking libnsl2:amd64 (1.3.0-3+b3) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../14-libreadline8t64_8.2-5_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:amd64. Preparing to unpack .../15-libpython3.12-stdlib_3.12.7-3_amd64.deb ... Unpacking libpython3.12-stdlib:amd64 (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../16-python3.12_3.12.7-3_amd64.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../17-libpython3-stdlib_3.12.7-1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.12.7-1) ... Setting up python3-minimal (3.12.7-1) ... Selecting previously unselected package python3. (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 ... 21374 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_amd64.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:amd64. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_amd64.deb ... Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_amd64.deb ... Unpacking python3.13-minimal (3.13.0-2) ... Selecting previously unselected package sgml-base. Preparing to unpack .../03-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../04-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package openssl. Preparing to unpack .../05-openssl_3.3.2-2_amd64.deb ... Unpacking openssl (3.3.2-2) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../06-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../08-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../11-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../12-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../13-bsdextrautils_2.40.2-11_amd64.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../14-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../15-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../16-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../17-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../18-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../19-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../20-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../21-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../22-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../23-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../24-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../25-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../26-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../27-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../28-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../29-libicu72_72.1-5+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-5+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../30-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../32-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../33-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../34-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../35-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../36-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../37-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../38-python3-typeguard_4.4.1-1_all.deb ... Unpacking python3-typeguard (4.4.1-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../39-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../40-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../41-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../42-python3-pkg-resources_75.2.0-1_all.deb ... Unpacking python3-pkg-resources (75.2.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../43-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../44-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../45-python3-setuptools_75.2.0-1_all.deb ... Unpacking python3-setuptools (75.2.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../46-dh-python_6.20241024_all.deb ... Unpacking dh-python (6.20241024) ... Selecting previously unselected package xml-core. Preparing to unpack .../47-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package docutils-common. Preparing to unpack .../48-docutils-common_0.21.2+dfsg-2_all.deb ... Unpacking docutils-common (0.21.2+dfsg-2) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../49-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Selecting previously unselected package libblas3:amd64. Preparing to unpack .../50-libblas3_3.12.0-4_amd64.deb ... Unpacking libblas3:amd64 (3.12.0-4) ... Selecting previously unselected package libgfortran5:amd64. Preparing to unpack .../51-libgfortran5_14.2.0-8_amd64.deb ... Unpacking libgfortran5:amd64 (14.2.0-8) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../52-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../53-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../54-libjs-sphinxdoc_7.4.7-4_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-4) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../55-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package liblapack3:amd64. Preparing to unpack .../56-liblapack3_3.12.0-4_amd64.deb ... Unpacking liblapack3:amd64 (3.12.0-4) ... Selecting previously unselected package libpython3.13-stdlib:amd64. Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_amd64.deb ... Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../58-python3-packaging_24.2-1_all.deb ... Unpacking python3-packaging (24.2-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../59-python3-pyproject-hooks_1.2.0-1_all.deb ... Unpacking python3-pyproject-hooks (1.2.0-1) ... Selecting previously unselected package python3-toml. Preparing to unpack .../60-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../61-python3-wheel_0.45.0-1_all.deb ... Unpacking python3-wheel (0.45.0-1) ... Selecting previously unselected package python3-build. Preparing to unpack .../62-python3-build_1.2.2-1_all.deb ... Unpacking python3-build (1.2.2-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../63-python3-installer_0.7.0+dfsg1-3_all.deb ... Unpacking python3-installer (0.7.0+dfsg1-3) ... Selecting previously unselected package pybuild-plugin-pyproject. Preparing to unpack .../64-pybuild-plugin-pyproject_6.20241024_all.deb ... Unpacking pybuild-plugin-pyproject (6.20241024) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../65-python-babel-localedata_2.16.0-1_all.deb ... Unpacking python-babel-localedata (2.16.0-1) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../66-python3-alabaster_0.7.16-0.1_all.deb ... Unpacking python3-alabaster (0.7.16-0.1) ... Selecting previously unselected package python3.13. Preparing to unpack .../67-python3.13_3.13.0-2_amd64.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../68-python3-all_3.12.7-1_amd64.deb ... Unpacking python3-all (3.12.7-1) ... Selecting previously unselected package python3-babel. Preparing to unpack .../69-python3-babel_2.16.0-1_all.deb ... Unpacking python3-babel (2.16.0-1) ... Selecting previously unselected package python3-bitarray. Preparing to unpack .../70-python3-bitarray_2.9.2-1+b2_amd64.deb ... Unpacking python3-bitarray (2.9.2-1+b2) ... Selecting previously unselected package python3-bitstruct. Preparing to unpack .../71-python3-bitstruct_8.19.0-1+b2_amd64.deb ... Unpacking python3-bitstruct (8.19.0-1+b2) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../72-python3-certifi_2024.8.30+dfsg-1_all.deb ... Unpacking python3-certifi (2024.8.30+dfsg-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../73-python3-chardet_5.2.0+dfsg-1_all.deb ... Unpacking python3-chardet (5.2.0+dfsg-1) ... Selecting previously unselected package python3-charset-normalizer. Preparing to unpack .../74-python3-charset-normalizer_3.4.0-1+b1_amd64.deb ... Unpacking python3-charset-normalizer (3.4.0-1+b1) ... Selecting previously unselected package python3-defusedxml. Preparing to unpack .../75-python3-defusedxml_0.7.1-2_all.deb ... Unpacking python3-defusedxml (0.7.1-2) ... Selecting previously unselected package python3-roman. Preparing to unpack .../76-python3-roman_4.2-1_all.deb ... Unpacking python3-roman (4.2-1) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../77-python3-docutils_0.21.2+dfsg-2_all.deb ... Unpacking python3-docutils (0.21.2+dfsg-2) ... Selecting previously unselected package python3-idna. Preparing to unpack .../78-python3-idna_3.8-2_all.deb ... Unpacking python3-idna (3.8-2) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../79-python3-imagesize_1.4.1-1_all.deb ... Unpacking python3-imagesize (1.4.1-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../80-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../81-python3-markupsafe_2.1.5-1+b2_amd64.deb ... Unpacking python3-markupsafe (2.1.5-1+b2) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../82-python3-jinja2_3.1.3-1_all.deb ... Unpacking python3-jinja2 (3.1.3-1) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../83-python3-numpy_1%3a1.26.4+ds-12_amd64.deb ... Unpacking python3-numpy (1:1.26.4+ds-12) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../84-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../85-python3-pygments_2.18.0+dfsg-1_all.deb ... Unpacking python3-pygments (2.18.0+dfsg-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../86-python3-pytest_8.3.3-1_all.deb ... Unpacking python3-pytest (8.3.3-1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../87-python3-urllib3_2.0.7-2_all.deb ... Unpacking python3-urllib3 (2.0.7-2) ... Selecting previously unselected package python3-requests. Preparing to unpack .../88-python3-requests_2.32.3+dfsg-1_all.deb ... Unpacking python3-requests (2.32.3+dfsg-1) ... Selecting previously unselected package python3-snowballstemmer. Preparing to unpack .../89-python3-snowballstemmer_2.2.0-4_all.deb ... Unpacking python3-snowballstemmer (2.2.0-4) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../90-sphinx-common_7.4.7-4_all.deb ... Unpacking sphinx-common (7.4.7-4) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../91-python3-sphinx_7.4.7-4_all.deb ... Unpacking python3-sphinx (7.4.7-4) ... Selecting previously unselected package sphinx-rtd-theme-common. Preparing to unpack .../92-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... Selecting previously unselected package python3-sphinxcontrib.jquery. Preparing to unpack .../93-python3-sphinxcontrib.jquery_4.1-5_all.deb ... Unpacking python3-sphinxcontrib.jquery (4.1-5) ... Selecting previously unselected package python3-sphinx-rtd-theme. Preparing to unpack .../94-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libkeyutils1:amd64 (1.6.3-4) ... Setting up fonts-lato (2.015-1) ... Setting up libicu72:amd64 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:amd64 (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up python-babel-localedata (2.16.0-1) ... Setting up libkrb5support0:amd64 (1.21.3-3) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Fri Dec 26 03:06:07 UTC 2025. Universal Time is now: Fri Dec 26 03:06:07 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:amd64 (3.12.0-4) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode Setting up autopoint (0.22.5-2) ... Setting up libk5crypto3:amd64 (1.21.3-3) ... Setting up libgfortran5:amd64 (14.2.0-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libjson-perl (4.10000-1) ... Setting up python3.13-minimal (3.13.0-2) ... Setting up netbase (6.4) ... Setting up sgml-base (1.31) ... Setting up libkrb5-3:amd64 (1.21.3-3) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up openssl (3.3.2-2) ... Setting up readline-common (8.2-5) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up liblapack3:amd64 (3.12.0-4) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 146 added, 0 removed; done. Setting up libgssapi-krb5-2:amd64 (1.21.3-3) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:amd64 (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up xml-core (0.19) ... Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... Setting up libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.0-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up sphinx-common (7.4.7-4) ... Setting up libnsl2:amd64 (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:amd64 (3.12.7-3) ... Setting up python3.12 (3.12.7-3) ... Setting up debhelper (13.20) ... Setting up libpython3-stdlib:amd64 (3.12.7-1) ... Setting up python3 (3.12.7-1) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-markupsafe (2.1.5-1+b2) ... Setting up python3-wheel (0.45.0-1) ... Setting up python3-bitarray (2.9.2-1+b2) ... Setting up python3-roman (4.2-1) ... Setting up python3-jinja2 (3.1.3-1) ... Setting up python3-packaging (24.2-1) ... Setting up python3-pyproject-hooks (1.2.0-1) ... Setting up python3-certifi (2024.8.30+dfsg-1) ... Setting up python3-snowballstemmer (2.2.0-4) ... Setting up python3-idna (3.8-2) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-bitstruct (8.19.0-1+b2) ... Setting up python3-urllib3 (2.0.7-2) ... Setting up python3-pluggy (1.5.0-1) ... Setting up python3-build (1.2.2-1) ... Setting up python3-imagesize (1.4.1-1) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-defusedxml (0.7.1-2) ... Setting up python3-charset-normalizer (3.4.0-1+b1) ... Setting up python3-pytest (8.3.3-1) ... Setting up python3-alabaster (0.7.16-0.1) ... Setting up python3-typeguard (4.4.1-1) ... Setting up python3-all (3.12.7-1) ... Setting up python3-inflect (7.3.1-2) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-pkg-resources (75.2.0-1) ... Setting up python3-setuptools (75.2.0-1) ... Setting up python3-babel (2.16.0-1) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python3-pygments (2.18.0+dfsg-1) ... Setting up python3-chardet (5.2.0+dfsg-1) ... Setting up python3-requests (2.32.3+dfsg-1) ... Setting up python3-numpy (1:1.26.4+ds-12) ... Setting up dh-python (6.20241024) ... Setting up pybuild-plugin-pyproject (6.20241024) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for sgml-base (1.31) ... Setting up docutils-common (0.21.2+dfsg-2) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.21.2+dfsg-2) ... Setting up python3-sphinx (7.4.7-4) ... Setting up python3-sphinxcontrib.jquery (4.1-5) ... Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/bpack-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../bpack_1.1.0-2_source.changes dpkg-buildpackage: info: source package bpack dpkg-buildpackage: info: source version 1.1.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bas Couwenberg dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from bpack-1.1.0/debian/source/options: --extend-diff-ignore=^[^/]+.(egg-info|dist-info)/ debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack * Building wheel... running bdist_wheel running build running build_py creating build/lib/bpack copying bpack/np.py -> build/lib/bpack copying bpack/st.py -> build/lib/bpack copying bpack/codecs.py -> build/lib/bpack copying bpack/utils.py -> build/lib/bpack copying bpack/enums.py -> build/lib/bpack copying bpack/ba.py -> build/lib/bpack copying bpack/typing.py -> build/lib/bpack copying bpack/bs.py -> build/lib/bpack copying bpack/__init__.py -> build/lib/bpack copying bpack/descriptors.py -> build/lib/bpack creating build/lib/bpack/tests copying bpack/tests/test_packbits.py -> build/lib/bpack/tests copying bpack/tests/test_codecs.py -> build/lib/bpack/tests copying bpack/tests/test_backends_codec.py -> build/lib/bpack/tests copying bpack/tests/test_record_descriptor.py -> build/lib/bpack/tests copying bpack/tests/__init__.py -> build/lib/bpack/tests copying bpack/tests/test_decoder_ba.py -> build/lib/bpack/tests copying bpack/tests/test_utils.py -> build/lib/bpack/tests copying bpack/tests/test_desctiptor_utils.py -> build/lib/bpack/tests copying bpack/tests/test_typing.py -> build/lib/bpack/tests copying bpack/tests/test_field_descriptor.py -> build/lib/bpack/tests copying bpack/tests/test_decoder_np.py -> build/lib/bpack/tests running egg_info creating bpack.egg-info writing bpack.egg-info/PKG-INFO writing dependency_links to bpack.egg-info/dependency_links.txt writing requirements to bpack.egg-info/requires.txt writing top-level names to bpack.egg-info/top_level.txt writing manifest file 'bpack.egg-info/SOURCES.txt' reading manifest file 'bpack.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.gitignore' no previously-included directories found matching '.github' adding license file 'LICENSE' writing manifest file 'bpack.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/bpack copying build/lib/bpack/np.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/st.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/codecs.py -> build/bdist.linux-x86_64/wheel/./bpack creating build/bdist.linux-x86_64/wheel/bpack/tests copying build/lib/bpack/tests/test_packbits.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_codecs.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_backends_codec.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_record_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_ba.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_desctiptor_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_typing.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_field_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_np.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/utils.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/enums.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/ba.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/typing.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/bs.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/descriptors.py -> build/bdist.linux-x86_64/wheel/./bpack running install_egg_info Copying bpack.egg-info to build/bdist.linux-x86_64/wheel/./bpack-1.1.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/bpack-1.1.0.dist-info/WHEEL creating '/build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/.tmp-sarxtjqw/bpack-1.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'bpack/__init__.py' adding 'bpack/ba.py' adding 'bpack/bs.py' adding 'bpack/codecs.py' adding 'bpack/descriptors.py' adding 'bpack/enums.py' adding 'bpack/np.py' adding 'bpack/st.py' adding 'bpack/typing.py' adding 'bpack/utils.py' adding 'bpack/tests/__init__.py' adding 'bpack/tests/test_backends_codec.py' adding 'bpack/tests/test_codecs.py' adding 'bpack/tests/test_decoder_ba.py' adding 'bpack/tests/test_decoder_np.py' adding 'bpack/tests/test_desctiptor_utils.py' adding 'bpack/tests/test_field_descriptor.py' adding 'bpack/tests/test_packbits.py' adding 'bpack/tests/test_record_descriptor.py' adding 'bpack/tests/test_typing.py' adding 'bpack/tests/test_utils.py' adding 'bpack-1.1.0.dist-info/LICENSE' adding 'bpack-1.1.0.dist-info/METADATA' adding 'bpack-1.1.0.dist-info/WHEEL' adding 'bpack-1.1.0.dist-info/top_level.txt' adding 'bpack-1.1.0.dist-info/zip-safe' adding 'bpack-1.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built bpack-1.1.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack * Building wheel... running bdist_wheel running build running build_py running egg_info writing bpack.egg-info/PKG-INFO writing dependency_links to bpack.egg-info/dependency_links.txt writing requirements to bpack.egg-info/requires.txt writing top-level names to bpack.egg-info/top_level.txt reading manifest file 'bpack.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.gitignore' no previously-included directories found matching '.github' adding license file 'LICENSE' writing manifest file 'bpack.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/bpack copying build/lib/bpack/np.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/st.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/codecs.py -> build/bdist.linux-x86_64/wheel/./bpack creating build/bdist.linux-x86_64/wheel/bpack/tests copying build/lib/bpack/tests/test_packbits.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_codecs.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_backends_codec.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_record_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_ba.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_desctiptor_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_typing.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_field_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_np.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/utils.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/enums.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/ba.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/typing.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/bs.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/descriptors.py -> build/bdist.linux-x86_64/wheel/./bpack running install_egg_info Copying bpack.egg-info to build/bdist.linux-x86_64/wheel/./bpack-1.1.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/bpack-1.1.0.dist-info/WHEEL creating '/build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack/.tmp-u7lnm3bu/bpack-1.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'bpack/__init__.py' adding 'bpack/ba.py' adding 'bpack/bs.py' adding 'bpack/codecs.py' adding 'bpack/descriptors.py' adding 'bpack/enums.py' adding 'bpack/np.py' adding 'bpack/st.py' adding 'bpack/typing.py' adding 'bpack/utils.py' adding 'bpack/tests/__init__.py' adding 'bpack/tests/test_backends_codec.py' adding 'bpack/tests/test_codecs.py' adding 'bpack/tests/test_decoder_ba.py' adding 'bpack/tests/test_decoder_np.py' adding 'bpack/tests/test_desctiptor_utils.py' adding 'bpack/tests/test_field_descriptor.py' adding 'bpack/tests/test_packbits.py' adding 'bpack/tests/test_record_descriptor.py' adding 'bpack/tests/test_typing.py' adding 'bpack/tests/test_utils.py' adding 'bpack-1.1.0.dist-info/LICENSE' adding 'bpack-1.1.0.dist-info/METADATA' adding 'bpack-1.1.0.dist-info/WHEEL' adding 'bpack-1.1.0.dist-info/top_level.txt' adding 'bpack-1.1.0.dist-info/zip-safe' adding 'bpack-1.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built bpack-1.1.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module debian/rules execute_after_dh_auto_build-indep make[1]: Entering directory '/build/reproducible-path/bpack-1.1.0' cd docs && \ PYTHONPATH=/build/reproducible-path/bpack-1.1.0 http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \ sphinx-build -N -E -T -b html . /build/reproducible-path/bpack-1.1.0/.pybuild/docs/html/ Running Sphinx v7.4.7 loading translations [en]... done WARNING: html_static_path entry '_static' does not exist WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: `intersphinx_mapping = {'': ('https://docs.python.org/3/', None)}`.https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: `intersphinx_mapping = {'': ('https://numpy.org/doc/stable/', None)}`.https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping loading intersphinx inventory 'main_inventory' from https://docs.python.org/3/objects.inv... loading intersphinx inventory 'main_inventory' from https://numpy.org/doc/stable/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 20 source files that are out of date updating environment: [new config] 20 added, 0 changed, 0 removed reading sources... [ 5%] TODO reading sources... [ 10%] api/bpack reading sources... [ 15%] api/bpack.ba reading sources... [ 20%] api/bpack.bs reading sources... [ 25%] api/bpack.codecs reading sources... [ 30%] api/bpack.descriptors reading sources... [ 35%] api/bpack.enums reading sources... [ 40%] api/bpack.np reading sources... [ 45%] api/bpack.st reading sources... [ 50%] api/bpack.typing reading sources... [ 55%] api/bpack.utils reading sources... [ 60%] bpack reading sources... [ 65%] development reading sources... [ 70%] index reading sources... [ 75%] indices reading sources... [ 80%] installation reading sources... [ 85%] license reading sources... [ 90%] overview reading sources... [ 95%] release_notes reading sources... [100%] userguide looking for now-outdated files... none found pickling environment... done checking consistency... /build/reproducible-path/bpack-1.1.0/docs/api/bpack.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- api/bpack /build/reproducible-path/bpack-1.1.0/docs/development.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- development /build/reproducible-path/bpack-1.1.0/docs/installation.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- installation /build/reproducible-path/bpack-1.1.0/docs/license.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- license /build/reproducible-path/bpack-1.1.0/docs/overview.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- overview /build/reproducible-path/bpack-1.1.0/docs/release_notes.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- release_notes /build/reproducible-path/bpack-1.1.0/docs/userguide.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- userguide done preparing documents... done copying assets... copying static files... done copying extra files... done copying assets: done writing output... [ 5%] TODO writing output... [ 10%] api/bpack writing output... [ 15%] api/bpack.ba writing output... [ 20%] api/bpack.bs writing output... [ 25%] api/bpack.codecs writing output... [ 30%] api/bpack.descriptors writing output... [ 35%] api/bpack.enums writing output... [ 40%] api/bpack.np writing output... [ 45%] api/bpack.st writing output... [ 50%] api/bpack.typing writing output... [ 55%] api/bpack.utils writing output... [ 60%] bpack writing output... [ 65%] development writing output... [ 70%] index writing output... [ 75%] indices writing output... [ 80%] installation writing output... [ 85%] license writing output... [ 90%] overview writing output... [ 95%] release_notes writing output... [100%] userguide generating indices... genindex py-modindex done highlighting module code... [ 10%] bpack.ba highlighting module code... [ 20%] bpack.bs highlighting module code... [ 30%] bpack.codecs highlighting module code... [ 40%] bpack.descriptors highlighting module code... [ 50%] bpack.enums highlighting module code... [ 60%] bpack.np highlighting module code... [ 70%] bpack.st highlighting module code... [ 80%] bpack.typing highlighting module code... [ 90%] bpack.utils highlighting module code... [100%] dataclasses writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 5 warnings. The HTML pages are in ../.pybuild/docs/html. rm -rf /build/reproducible-path/bpack-1.1.0/.pybuild/docs/html/.doctrees make[1]: Leaving directory '/build/reproducible-path/bpack-1.1.0' dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/build; python3.13 -m pytest --pyargs bpack ============================= test session starts ============================== platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 rootdir: /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/build configfile: pyproject.toml plugins: typeguard-4.4.1 collected 1709 items bpack/tests/test_backends_codec.py ....FFFF.........FFFFFFFFF........FFF [ 2%] FFFFFFFFFFFF....FFFFFFFFF....FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 6%] bpack/tests/test_codecs.py FF [ 6%] bpack/tests/test_decoder_ba.py FFF.... [ 6%] bpack/tests/test_decoder_np.py F [ 6%] bpack/tests/test_desctiptor_utils.py ......................... [ 8%] bpack/tests/test_field_descriptor.py ................................... [ 10%] ..................... [ 11%] bpack/tests/test_packbits.py ........................................... [ 14%] ........................................................................ [ 18%] ........................................................................ [ 22%] ........................................................................ [ 26%] ........................................................................ [ 30%] ........................................................................ [ 35%] ........................................................................ [ 39%] ........................................................................ [ 43%] ........................................................................ [ 47%] ........................................................................ [ 52%] ........................................................................ [ 56%] ........................................................................ [ 60%] ........................................................................ [ 64%] ........................................................................ [ 68%] ........................................................................ [ 73%] ........................................................................ [ 77%] ........................................................................ [ 81%] .............................................................. [ 85%] bpack/tests/test_record_descriptor.py .................................. [ 87%] ......................... [ 88%] bpack/tests/test_typing.py ............................................. [ 91%] ........................................................................ [ 95%] .......................................................... [ 98%] bpack/tests/test_utils.py .................... [100%] =================================== FAILURES =================================== ________________________________ test_attrs[bs] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________________________ test_attrs[ba] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________________________ test_attrs[st] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________________________ test_attrs[np] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[st BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[st LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[np BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[np LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs BE MSB] _________________________ backend = Record = encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs LE MSB] _________________________ backend = Record = encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs BE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs LE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[ba BE MSB] _________________________ backend = Record = encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[st BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[st LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[np BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[np LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs BE MSB] _________________________ backend = Record = encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs LE MSB] _________________________ backend = Record = encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs BE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs LE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_bit_decoder_decorator_frombytes[bs] ___________________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_bit_decoder_decorator_frombytes[ba] ___________________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ____________________ test_bit_encoder_decorator_tobytes[bs] ____________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_encoder_decorator_tobytes(backend): > @backend.encoder bpack/tests/test_backends_codec.py:783: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________________ test_byte_decoder_decorator_frombytes[st] ___________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________________ test_byte_decoder_decorator_frombytes[np] ___________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_byte_encoder_decorator_tobytes[st] ____________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_decorator_tobytes(backend): > @backend.encoder bpack/tests/test_backends_codec.py:825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_byte_encoder_decorator_tobytes[np] ____________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_decorator_tobytes(backend): > @backend.encoder bpack/tests/test_backends_codec.py:825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_byte_decoder_native_byteorder_frombytes[st] _______________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_native_byteorder_frombytes(backend): size = 4 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:862: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_byte_decoder_native_byteorder_frombytes[np] _______________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_native_byteorder_frombytes(backend): size = 4 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:862: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_byte_encoder_native_byteorder_tobytes[st] ________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_native_byteorder_tobytes(backend): size = 4 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:876: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_byte_encoder_native_byteorder_tobytes[np] ________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_native_byteorder_tobytes(backend): size = 4 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:876: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_bit_decoder_native_byteorder_frombytes[bs] ________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_decoder_native_byteorder_frombytes(backend): size = 64 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:900: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_bit_encoder_native_byteorder_tobytes[bs] _________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_encoder_native_byteorder_tobytes(backend): size = 64 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_bit_decoder_default_byteorder_frombytes[bs] _______________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_default_byteorder_frombytes(backend): size = 64 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:946: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_bit_decoder_default_byteorder_frombytes[ba] _______________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_default_byteorder_frombytes(backend): size = 64 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:946: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_bit_encoder_default_byteorder_tobytes[bs] ________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_encoder_default_byteorder_tobytes(backend): size = 64 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:974: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[bs] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[ba] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[st] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[np] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_encoding_bytes[st] _________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_np, id="np", marks=skipif(not bpack_np, reason="not available"), ), ], ) def test_enum_encoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] encoded_data = b"".join(encoded_data) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] encoded_data = b"".join(encoded_data) > @backend.encoder bpack/tests/test_backends_codec.py:1126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_encoding_bytes[bs] _________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_np, id="np", marks=skipif(not bpack_np, reason="not available"), ), ], ) def test_enum_encoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] encoded_data = b"".join(encoded_data) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] encoded_data = b"".join(encoded_data) > @backend.encoder bpack/tests/test_backends_codec.py:1126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_encoding_bytes[np] _________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_np, id="np", marks=skipif(not bpack_np, reason="not available"), ), ], ) def test_enum_encoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] encoded_data = b"".join(encoded_data) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] encoded_data = b"".join(encoded_data) > @backend.encoder bpack/tests/test_backends_codec.py:1126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decode_sequence[st] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_decode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.decoder bpack/tests/test_backends_codec.py:1166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decode_sequence[bs] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_decode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.decoder bpack/tests/test_backends_codec.py:1166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encode_sequence[st] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_encode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.encoder bpack/tests/test_backends_codec.py:1208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encode_sequence[bs] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_encode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.encoder bpack/tests/test_backends_codec.py:1208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_decoder[st] ________________ self = backend = def test_nested_record_decoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_decoder[bs] ________________ self = backend = def test_nested_record_decoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_decoder[np] ________________ self = backend = def test_nested_record_decoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_encoder[st] ________________ self = backend = def test_nested_record_encoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.encoder # NOTE: this is an encoder bpack/tests/test_backends_codec.py:1279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_encoder[bs] ________________ self = backend = def test_nested_record_encoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.encoder # NOTE: this is an encoder bpack/tests/test_backends_codec.py:1279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_encoder[np] ________________ self = backend = def test_nested_record_encoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.encoder # NOTE: this is an encoder bpack/tests/test_backends_codec.py:1279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ______________ TestNestedRecord.test_nested_record_frombytes[st] _______________ self = backend = def test_nested_record_frombytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ______________ TestNestedRecord.test_nested_record_frombytes[bs] _______________ self = backend = def test_nested_record_frombytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ______________ TestNestedRecord.test_nested_record_frombytes[np] _______________ self = backend = def test_nested_record_frombytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_tobytes[st] ________________ self = backend = def test_nested_record_tobytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.encoder bpack/tests/test_backends_codec.py:1324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_tobytes[bs] ________________ self = backend = def test_nested_record_tobytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.encoder bpack/tests/test_backends_codec.py:1324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_tobytes[np] ________________ self = backend = def test_nested_record_tobytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.encoder bpack/tests/test_backends_codec.py:1324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_decoder_with_order[st] __________ self = backend = def test_nested_record_decoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_decoder_with_order[bs] __________ self = backend = def test_nested_record_decoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_decoder_with_order[np] __________ self = backend = def test_nested_record_decoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_encoder_with_order[st] __________ self = backend = def test_nested_record_encoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.encoder # NOTE: this is a encoder bpack/tests/test_backends_codec.py:1367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_encoder_with_order[bs] __________ self = backend = def test_nested_record_encoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.encoder # NOTE: this is a encoder bpack/tests/test_backends_codec.py:1367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_encoder_with_order[np] __________ self = backend = def test_nested_record_encoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.encoder # NOTE: this is a encoder bpack/tests/test_backends_codec.py:1367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[st] ________ self = backend = def test_decode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[bs] ________ self = backend = def test_decode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[st] ________ self = backend = def test_encode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.codec bpack/tests/test_backends_codec.py:1478: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[bs] ________ self = backend = def test_encode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.codec bpack/tests/test_backends_codec.py:1478: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[st] _______ self = backend = def test_decode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.decoder bpack/tests/test_backends_codec.py:1511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[bs] _______ self = backend = def test_decode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.decoder bpack/tests/test_backends_codec.py:1511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[st] _______ self = backend = def test_encode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.codec bpack/tests/test_backends_codec.py:1546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[bs] _______ self = backend = def test_encode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.codec bpack/tests/test_backends_codec.py:1546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[st] ________ self = backend = def test_decode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.decoder bpack/tests/test_backends_codec.py:1591: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[bs] ________ self = backend = def test_decode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.decoder bpack/tests/test_backends_codec.py:1591: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[st] ________ self = backend = def test_encode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.codec bpack/tests/test_backends_codec.py:1639: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[bs] ________ self = backend = def test_encode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.codec bpack/tests/test_backends_codec.py:1639: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ____________________________ test_codec_helpers[st] ____________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_codec_helpers(backend): > @backend.codec bpack/tests/test_codecs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ____________________________ test_codec_helpers[bs] ____________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_codec_helpers(backend): > @backend.codec bpack/tests/test_codecs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_float[float16] ______________________________ size = 16, data = b'<\x00' @pytest.mark.parametrize( "size, data", [ # fmt: off (16, bytes([0b00111100, 0b00000000])), (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000])), # fmt: on ], ids=["float16", "float32", "float64"], ) def test_float(size, data): backend = bpack_ba codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_decoder_ba.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_float[float32] ______________________________ size = 32, data = b'?\x80\x00\x00' @pytest.mark.parametrize( "size, data", [ # fmt: off (16, bytes([0b00111100, 0b00000000])), (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000])), # fmt: on ], ids=["float16", "float32", "float64"], ) def test_float(size, data): backend = bpack_ba codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_decoder_ba.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_float[float64] ______________________________ size = 64, data = b'?\xf0\x00\x00\x00\x00\x00\x00' @pytest.mark.parametrize( "size, data", [ # fmt: off (16, bytes([0b00111100, 0b00000000])), (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000])), # fmt: on ], ids=["float16", "float32", "float64"], ) def test_float(size, data): backend = bpack_ba codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_decoder_ba.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_decode_sequence _____________________________ def test_decode_sequence(): backend = bpack_np bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) > @backend.decoder bpack/tests/test_decoder_np.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError =========================== short test summary info ============================ FAILED bpack/tests/test_backends_codec.py::test_attrs[bs] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_attrs[ba] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_attrs[st] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_attrs[np] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[st BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[st LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[np BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[np LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs BE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs LE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs BE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs LE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[ba BE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[st BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[st LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[np BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[np LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs BE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs LE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs BE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs LE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[ba] FAILED bpack/tests/test_backends_codec.py::test_bit_encoder_decorator_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[np] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[np] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[np] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[np] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_native_byteorder_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_encoder_native_byteorder_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[ba] FAILED bpack/tests/test_backends_codec.py::test_bit_encoder_default_byteorder_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[bs] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[ba] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[st] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[np] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_encoding_bytes[st] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_encoding_bytes[bs] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_encoding_bytes[np] - Att... FAILED bpack/tests/test_backends_codec.py::test_decode_sequence[st] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decode_sequence[bs] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encode_sequence[st] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encode_sequence[bs] - Attribu... FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[np] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[bs] FAILED bpack/tests/test_codecs.py::test_codec_helpers[st] - AttributeError: m... FAILED bpack/tests/test_codecs.py::test_codec_helpers[bs] - AttributeError: m... FAILED bpack/tests/test_decoder_ba.py::test_float[float16] - AttributeError: ... FAILED bpack/tests/test_decoder_ba.py::test_float[float32] - AttributeError: ... FAILED bpack/tests/test_decoder_ba.py::test_float[float64] - AttributeError: ... FAILED bpack/tests/test_decoder_np.py::test_decode_sequence - AttributeError:... ======================= 84 failed, 1625 passed in 8.31s ======================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/build; python3.13 -m pytest --pyargs bpack I: pybuild base:311: cd /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack/build; python3.12 -m pytest --pyargs bpack ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack/build configfile: pyproject.toml plugins: typeguard-4.4.1 collected 1709 items bpack/tests/test_backends_codec.py ..................................... [ 2%] ...................................................................... [ 6%] bpack/tests/test_codecs.py .. [ 6%] bpack/tests/test_decoder_ba.py ....... [ 6%] bpack/tests/test_decoder_np.py . [ 6%] bpack/tests/test_desctiptor_utils.py ......................... [ 8%] bpack/tests/test_field_descriptor.py ................................... [ 10%] ..................... [ 11%] bpack/tests/test_packbits.py ........................................... [ 14%] ........................................................................ [ 18%] ........................................................................ [ 22%] ........................................................................ [ 26%] ........................................................................ [ 30%] ........................................................................ [ 35%] ........................................................................ [ 39%] ........................................................................ [ 43%] ........................................................................ [ 47%] ........................................................................ [ 52%] ........................................................................ [ 56%] ........................................................................ [ 60%] ........................................................................ [ 64%] ........................................................................ [ 68%] ........................................................................ [ 73%] ........................................................................ [ 77%] ........................................................................ [ 81%] .............................................................. [ 85%] bpack/tests/test_record_descriptor.py .................................. [ 87%] ......................... [ 88%] bpack/tests/test_typing.py ............................................. [ 91%] ........................................................................ [ 95%] .......................................................... [ 98%] bpack/tests/test_utils.py .................... [100%] ============================= 1709 passed in 8.01s ============================= dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/448276 and its subdirectories Starting cleanup. All cleanup done. Fri Dec 26 03:07:03 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-U8pnvxba, removing. /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7: total 20 drwxr-xr-x 2 jenkins jenkins 4096 Nov 22 20:44 b1 drwxr-xr-x 2 jenkins jenkins 4096 Nov 22 20:42 b2 -rw-r--r-- 1 jenkins jenkins 3063 Jun 18 21:27 bpack_1.1.0-2.dsc -rw------- 1 jenkins jenkins 4151 Nov 22 20:42 rbuildlog.XyPSO3t /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7/b1: total 256 -rw-r--r-- 1 jenkins jenkins 260065 Nov 22 20:44 build.log /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7/b2: total 0 Fri Nov 22 20:44:04 UTC 2024 I: Deleting $TMPDIR on ionos15-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Dec 25 15:05:30 -12 2025 I: pbuilder-time-stamp: 1766718330 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [bpack_1.1.0-2.dsc] I: copying [./bpack_1.1.0.orig.tar.gz] I: copying [./bpack_1.1.0-2.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Jun 18 21:16:10 2024 gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./bpack_1.1.0-2.dsc: no acceptable signature found dpkg-source: info: extracting bpack in bpack-1.1.0 dpkg-source: info: unpacking bpack_1.1.0.orig.tar.gz dpkg-source: info: unpacking bpack_1.1.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Fix-privacy-breach.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/448276/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='c93d7e323c874e0a8face824252205c1' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='448276' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7/pbuilderrc_CP7D --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.C17iwaq7/b1 --logfile b1/build.log bpack_1.1.0-2.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/448276/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-sequence-python3, dh-sequence-sphinxdoc, pybuild-plugin-pyproject, python3-all, python3-bitarray, python3-bitstruct, python3-numpy, python3-pytest, python3-setuptools, python3-sphinx, python3-sphinx-rtd-theme dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19966 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-sphinxdoc; however: Package dh-sequence-sphinxdoc is not installed. pbuilder-satisfydepends-dummy depends on pybuild-plugin-pyproject; however: Package pybuild-plugin-pyproject is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-bitarray; however: Package python3-bitarray is not installed. pbuilder-satisfydepends-dummy depends on python3-bitstruct; however: Package python3-bitstruct is not installed. pbuilder-satisfydepends-dummy depends on python3-numpy; however: Package python3-numpy is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx; however: Package python3-sphinx is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx-rtd-theme; however: Package python3-sphinx-rtd-theme is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} docutils-common{a} dwz{a} file{a} fonts-font-awesome{a} fonts-lato{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libblas3{a} libcom-err2{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libgfortran5{a} libgssapi-krb5-2{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libjson-perl{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} liblapack3{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpython3-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libtirpc-common{a} libtirpc3t64{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} po-debconf{a} pybuild-plugin-pyproject{a} python-babel-localedata{a} python3{a} python3-alabaster{a} python3-all{a} python3-autocommand{a} python3-babel{a} python3-bitarray{a} python3-bitstruct{a} python3-build{a} python3-certifi{a} python3-chardet{a} python3-charset-normalizer{a} python3-defusedxml{a} python3-docutils{a} python3-idna{a} python3-imagesize{a} python3-inflect{a} python3-iniconfig{a} python3-installer{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-jinja2{a} python3-markupsafe{a} python3-minimal{a} python3-more-itertools{a} python3-numpy{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-pygments{a} python3-pyproject-hooks{a} python3-pytest{a} python3-requests{a} python3-roman{a} python3-setuptools{a} python3-snowballstemmer{a} python3-sphinx{a} python3-sphinx-rtd-theme{a} python3-sphinxcontrib.jquery{a} python3-toml{a} python3-typeguard{a} python3-typing-extensions{a} python3-urllib3{a} python3-wheel{a} python3-zipp{a} python3.12{a} python3.12-minimal{a} python3.13{a} python3.13-minimal{a} readline-common{a} sensible-utils{a} sgml-base{a} sphinx-common{a} sphinx-rtd-theme-common{a} tzdata{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl javascript-common krb5-locales libarchive-cpio-perl libjson-xs-perl libltdl-dev libmail-sendmail-perl libpaper-utils lynx python3-pil wget 0 packages upgraded, 117 newly installed, 0 to remove and 0 not upgraded. Need to get 58.5 MB of archives. After unpacking 253 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 fonts-lato all 2.015-1 [2780 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libpython3.12-minimal amd64 3.12.7-3 [815 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libexpat1 amd64 2.6.4-1 [106 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 python3.12-minimal amd64 3.12.7-3 [2162 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 python3-minimal amd64 3.12.7-1 [26.8 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 media-types all 10.1.0 [26.9 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 netbase all 6.4 [12.8 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 tzdata all 2024b-3 [255 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libkrb5support0 amd64 1.21.3-3 [32.5 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 libcom-err2 amd64 1.47.1-1+b1 [23.2 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 libk5crypto3 amd64 1.21.3-3 [79.9 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 libkeyutils1 amd64 1.6.3-4 [9092 B] Get: 13 http://deb.debian.org/debian unstable/main amd64 libkrb5-3 amd64 1.21.3-3 [324 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 libgssapi-krb5-2 amd64 1.21.3-3 [136 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libtirpc3t64 amd64 1.3.4+ds-1.3+b1 [83.1 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libnsl2 amd64 1.3.0-3+b3 [40.6 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 readline-common all 8.2-5 [69.3 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libreadline8t64 amd64 8.2-5 [169 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libpython3.12-stdlib amd64 3.12.7-3 [1966 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 python3.12 amd64 3.12.7-3 [671 kB] Get: 22 http://deb.debian.org/debian unstable/main amd64 libpython3-stdlib amd64 3.12.7-1 [9712 B] Get: 23 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.12.7-1 [27.8 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libpython3.13-minimal amd64 3.13.0-2 [856 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 python3.13-minimal amd64 3.13.0-2 [2038 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 sgml-base all 1.31 [15.4 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 openssl amd64 3.3.2-2 [1382 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 ca-certificates all 20240203 [158 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 33 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 34 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-11 [91.5 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 41 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 42 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 43 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 44 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 45 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-8 [517 kB] Get: 46 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 47 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 48 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 49 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 50 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 51 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 52 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5+b1 [9423 kB] Get: 53 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB] Get: 54 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 55 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 56 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 57 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 58 http://deb.debian.org/debian unstable/main amd64 python3-autocommand all 2.2.2-3 [13.6 kB] Get: 59 http://deb.debian.org/debian unstable/main amd64 python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 60 http://deb.debian.org/debian unstable/main amd64 python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 61 http://deb.debian.org/debian unstable/main amd64 python3-typeguard all 4.4.1-1 [37.0 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 python3-inflect all 7.3.1-2 [32.4 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.context all 6.0.0-1 [7984 B] Get: 64 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 65 http://deb.debian.org/debian unstable/main amd64 python3-pkg-resources all 75.2.0-1 [213 kB] Get: 66 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 67 http://deb.debian.org/debian unstable/main amd64 python3-zipp all 3.21.0-1 [10.6 kB] Get: 68 http://deb.debian.org/debian unstable/main amd64 python3-setuptools all 75.2.0-1 [731 kB] Get: 69 http://deb.debian.org/debian unstable/main amd64 dh-python all 6.20241024 [109 kB] Get: 70 http://deb.debian.org/debian unstable/main amd64 xml-core all 0.19 [20.1 kB] Get: 71 http://deb.debian.org/debian unstable/main amd64 docutils-common all 0.21.2+dfsg-2 [128 kB] Get: 72 http://deb.debian.org/debian unstable/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [517 kB] Get: 73 http://deb.debian.org/debian unstable/main amd64 libblas3 amd64 3.12.0-4 [152 kB] Get: 74 http://deb.debian.org/debian unstable/main amd64 libgfortran5 amd64 14.2.0-8 [836 kB] Get: 75 http://deb.debian.org/debian unstable/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 76 http://deb.debian.org/debian unstable/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 77 http://deb.debian.org/debian unstable/main amd64 libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 78 http://deb.debian.org/debian unstable/main amd64 libjson-perl all 4.10000-1 [87.5 kB] Get: 79 http://deb.debian.org/debian unstable/main amd64 liblapack3 amd64 3.12.0-4 [2450 kB] Get: 80 http://deb.debian.org/debian unstable/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [1992 kB] Get: 81 http://deb.debian.org/debian unstable/main amd64 python3-packaging all 24.2-1 [55.3 kB] Get: 82 http://deb.debian.org/debian unstable/main amd64 python3-pyproject-hooks all 1.2.0-1 [11.7 kB] Get: 83 http://deb.debian.org/debian unstable/main amd64 python3-toml all 0.10.2-1 [16.2 kB] Get: 84 http://deb.debian.org/debian unstable/main amd64 python3-wheel all 0.45.0-1 [56.7 kB] Get: 85 http://deb.debian.org/debian unstable/main amd64 python3-build all 1.2.2-1 [36.0 kB] Get: 86 http://deb.debian.org/debian unstable/main amd64 python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 87 http://deb.debian.org/debian unstable/main amd64 pybuild-plugin-pyproject all 6.20241024 [11.4 kB] Get: 88 http://deb.debian.org/debian unstable/main amd64 python-babel-localedata all 2.16.0-1 [5696 kB] Get: 89 http://deb.debian.org/debian unstable/main amd64 python3-alabaster all 0.7.16-0.1 [27.9 kB] Get: 90 http://deb.debian.org/debian unstable/main amd64 python3.13 amd64 3.13.0-2 [730 kB] Get: 91 http://deb.debian.org/debian unstable/main amd64 python3-all amd64 3.12.7-1 [1052 B] Get: 92 http://deb.debian.org/debian unstable/main amd64 python3-babel all 2.16.0-1 [114 kB] Get: 93 http://deb.debian.org/debian unstable/main amd64 python3-bitarray amd64 2.9.2-1+b2 [156 kB] Get: 94 http://deb.debian.org/debian unstable/main amd64 python3-bitstruct amd64 8.19.0-1+b2 [23.7 kB] Get: 95 http://deb.debian.org/debian unstable/main amd64 python3-certifi all 2024.8.30+dfsg-1 [9576 B] Get: 96 http://deb.debian.org/debian unstable/main amd64 python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 97 http://deb.debian.org/debian unstable/main amd64 python3-charset-normalizer amd64 3.4.0-1+b1 [140 kB] Get: 98 http://deb.debian.org/debian unstable/main amd64 python3-defusedxml all 0.7.1-2 [43.3 kB] Get: 99 http://deb.debian.org/debian unstable/main amd64 python3-roman all 4.2-1 [10.4 kB] Get: 100 http://deb.debian.org/debian unstable/main amd64 python3-docutils all 0.21.2+dfsg-2 [403 kB] Get: 101 http://deb.debian.org/debian unstable/main amd64 python3-idna all 3.8-2 [41.6 kB] Get: 102 http://deb.debian.org/debian unstable/main amd64 python3-imagesize all 1.4.1-1 [6688 B] Get: 103 http://deb.debian.org/debian unstable/main amd64 python3-iniconfig all 1.1.1-2 [6396 B] Get: 104 http://deb.debian.org/debian unstable/main amd64 python3-markupsafe amd64 2.1.5-1+b2 [13.9 kB] Get: 105 http://deb.debian.org/debian unstable/main amd64 python3-jinja2 all 3.1.3-1 [119 kB] Get: 106 http://deb.debian.org/debian unstable/main amd64 python3-numpy amd64 1:1.26.4+ds-12 [4738 kB] Get: 107 http://deb.debian.org/debian unstable/main amd64 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 108 http://deb.debian.org/debian unstable/main amd64 python3-pygments all 2.18.0+dfsg-1 [836 kB] Get: 109 http://deb.debian.org/debian unstable/main amd64 python3-pytest all 8.3.3-1 [249 kB] Get: 110 http://deb.debian.org/debian unstable/main amd64 python3-urllib3 all 2.0.7-2 [111 kB] Get: 111 http://deb.debian.org/debian unstable/main amd64 python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 112 http://deb.debian.org/debian unstable/main amd64 python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 113 http://deb.debian.org/debian unstable/main amd64 sphinx-common all 7.4.7-4 [731 kB] Get: 114 http://deb.debian.org/debian unstable/main amd64 python3-sphinx all 7.4.7-4 [588 kB] Get: 115 http://deb.debian.org/debian unstable/main amd64 sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1023 kB] Get: 116 http://deb.debian.org/debian unstable/main amd64 python3-sphinxcontrib.jquery all 4.1-5 [7348 B] Get: 117 http://deb.debian.org/debian unstable/main amd64 python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [29.5 kB] Fetched 58.5 MB in 3s (18.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package fonts-lato. (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 ... 19966 files and directories currently installed.) Preparing to unpack .../fonts-lato_2.015-1_all.deb ... Unpacking fonts-lato (2.015-1) ... Selecting previously unselected package libpython3.12-minimal:amd64. Preparing to unpack .../libpython3.12-minimal_3.12.7-3_amd64.deb ... Unpacking libpython3.12-minimal:amd64 (3.12.7-3) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.6.4-1_amd64.deb ... Unpacking libexpat1:amd64 (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.7-3_amd64.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:amd64 (3.12.7-3) ... Setting up libexpat1:amd64 (2.6.4-1) ... Setting up python3.12-minimal (3.12.7-3) ... Selecting previously unselected package python3-minimal. (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 ... 20312 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_amd64.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../03-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../04-libkrb5support0_1.21.3-3_amd64.deb ... Unpacking libkrb5support0:amd64 (1.21.3-3) ... Selecting previously unselected package libcom-err2:amd64. Preparing to unpack .../05-libcom-err2_1.47.1-1+b1_amd64.deb ... Unpacking libcom-err2:amd64 (1.47.1-1+b1) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../06-libk5crypto3_1.21.3-3_amd64.deb ... Unpacking libk5crypto3:amd64 (1.21.3-3) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../07-libkeyutils1_1.6.3-4_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6.3-4) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../08-libkrb5-3_1.21.3-3_amd64.deb ... Unpacking libkrb5-3:amd64 (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../10-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:amd64. Preparing to unpack .../11-libtirpc3t64_1.3.4+ds-1.3+b1_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3 to /lib/x86_64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3.0.0 to /lib/x86_64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:amd64. Preparing to unpack .../12-libnsl2_1.3.0-3+b3_amd64.deb ... Unpacking libnsl2:amd64 (1.3.0-3+b3) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../14-libreadline8t64_8.2-5_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:amd64. Preparing to unpack .../15-libpython3.12-stdlib_3.12.7-3_amd64.deb ... Unpacking libpython3.12-stdlib:amd64 (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../16-python3.12_3.12.7-3_amd64.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../17-libpython3-stdlib_3.12.7-1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.12.7-1) ... Setting up python3-minimal (3.12.7-1) ... Selecting previously unselected package python3. (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 ... 21374 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_amd64.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:amd64. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_amd64.deb ... Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_amd64.deb ... Unpacking python3.13-minimal (3.13.0-2) ... Selecting previously unselected package sgml-base. Preparing to unpack .../03-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../04-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package openssl. Preparing to unpack .../05-openssl_3.3.2-2_amd64.deb ... Unpacking openssl (3.3.2-2) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../06-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../08-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../11-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../12-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../13-bsdextrautils_2.40.2-11_amd64.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../14-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../15-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../16-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../17-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../18-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../19-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../20-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../21-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../22-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../23-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../24-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../25-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../26-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../27-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../28-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../29-libicu72_72.1-5+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-5+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../30-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../32-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../33-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../34-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../35-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../36-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../37-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../38-python3-typeguard_4.4.1-1_all.deb ... Unpacking python3-typeguard (4.4.1-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../39-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../40-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../41-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../42-python3-pkg-resources_75.2.0-1_all.deb ... Unpacking python3-pkg-resources (75.2.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../43-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../44-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../45-python3-setuptools_75.2.0-1_all.deb ... Unpacking python3-setuptools (75.2.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../46-dh-python_6.20241024_all.deb ... Unpacking dh-python (6.20241024) ... Selecting previously unselected package xml-core. Preparing to unpack .../47-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package docutils-common. Preparing to unpack .../48-docutils-common_0.21.2+dfsg-2_all.deb ... Unpacking docutils-common (0.21.2+dfsg-2) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../49-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Selecting previously unselected package libblas3:amd64. Preparing to unpack .../50-libblas3_3.12.0-4_amd64.deb ... Unpacking libblas3:amd64 (3.12.0-4) ... Selecting previously unselected package libgfortran5:amd64. Preparing to unpack .../51-libgfortran5_14.2.0-8_amd64.deb ... Unpacking libgfortran5:amd64 (14.2.0-8) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../52-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../53-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../54-libjs-sphinxdoc_7.4.7-4_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-4) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../55-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package liblapack3:amd64. Preparing to unpack .../56-liblapack3_3.12.0-4_amd64.deb ... Unpacking liblapack3:amd64 (3.12.0-4) ... Selecting previously unselected package libpython3.13-stdlib:amd64. Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_amd64.deb ... Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../58-python3-packaging_24.2-1_all.deb ... Unpacking python3-packaging (24.2-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../59-python3-pyproject-hooks_1.2.0-1_all.deb ... Unpacking python3-pyproject-hooks (1.2.0-1) ... Selecting previously unselected package python3-toml. Preparing to unpack .../60-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../61-python3-wheel_0.45.0-1_all.deb ... Unpacking python3-wheel (0.45.0-1) ... Selecting previously unselected package python3-build. Preparing to unpack .../62-python3-build_1.2.2-1_all.deb ... Unpacking python3-build (1.2.2-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../63-python3-installer_0.7.0+dfsg1-3_all.deb ... Unpacking python3-installer (0.7.0+dfsg1-3) ... Selecting previously unselected package pybuild-plugin-pyproject. Preparing to unpack .../64-pybuild-plugin-pyproject_6.20241024_all.deb ... Unpacking pybuild-plugin-pyproject (6.20241024) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../65-python-babel-localedata_2.16.0-1_all.deb ... Unpacking python-babel-localedata (2.16.0-1) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../66-python3-alabaster_0.7.16-0.1_all.deb ... Unpacking python3-alabaster (0.7.16-0.1) ... Selecting previously unselected package python3.13. Preparing to unpack .../67-python3.13_3.13.0-2_amd64.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../68-python3-all_3.12.7-1_amd64.deb ... Unpacking python3-all (3.12.7-1) ... Selecting previously unselected package python3-babel. Preparing to unpack .../69-python3-babel_2.16.0-1_all.deb ... Unpacking python3-babel (2.16.0-1) ... Selecting previously unselected package python3-bitarray. Preparing to unpack .../70-python3-bitarray_2.9.2-1+b2_amd64.deb ... Unpacking python3-bitarray (2.9.2-1+b2) ... Selecting previously unselected package python3-bitstruct. Preparing to unpack .../71-python3-bitstruct_8.19.0-1+b2_amd64.deb ... Unpacking python3-bitstruct (8.19.0-1+b2) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../72-python3-certifi_2024.8.30+dfsg-1_all.deb ... Unpacking python3-certifi (2024.8.30+dfsg-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../73-python3-chardet_5.2.0+dfsg-1_all.deb ... Unpacking python3-chardet (5.2.0+dfsg-1) ... Selecting previously unselected package python3-charset-normalizer. Preparing to unpack .../74-python3-charset-normalizer_3.4.0-1+b1_amd64.deb ... Unpacking python3-charset-normalizer (3.4.0-1+b1) ... Selecting previously unselected package python3-defusedxml. Preparing to unpack .../75-python3-defusedxml_0.7.1-2_all.deb ... Unpacking python3-defusedxml (0.7.1-2) ... Selecting previously unselected package python3-roman. Preparing to unpack .../76-python3-roman_4.2-1_all.deb ... Unpacking python3-roman (4.2-1) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../77-python3-docutils_0.21.2+dfsg-2_all.deb ... Unpacking python3-docutils (0.21.2+dfsg-2) ... Selecting previously unselected package python3-idna. Preparing to unpack .../78-python3-idna_3.8-2_all.deb ... Unpacking python3-idna (3.8-2) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../79-python3-imagesize_1.4.1-1_all.deb ... Unpacking python3-imagesize (1.4.1-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../80-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../81-python3-markupsafe_2.1.5-1+b2_amd64.deb ... Unpacking python3-markupsafe (2.1.5-1+b2) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../82-python3-jinja2_3.1.3-1_all.deb ... Unpacking python3-jinja2 (3.1.3-1) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../83-python3-numpy_1%3a1.26.4+ds-12_amd64.deb ... Unpacking python3-numpy (1:1.26.4+ds-12) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../84-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../85-python3-pygments_2.18.0+dfsg-1_all.deb ... Unpacking python3-pygments (2.18.0+dfsg-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../86-python3-pytest_8.3.3-1_all.deb ... Unpacking python3-pytest (8.3.3-1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../87-python3-urllib3_2.0.7-2_all.deb ... Unpacking python3-urllib3 (2.0.7-2) ... Selecting previously unselected package python3-requests. Preparing to unpack .../88-python3-requests_2.32.3+dfsg-1_all.deb ... Unpacking python3-requests (2.32.3+dfsg-1) ... Selecting previously unselected package python3-snowballstemmer. Preparing to unpack .../89-python3-snowballstemmer_2.2.0-4_all.deb ... Unpacking python3-snowballstemmer (2.2.0-4) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../90-sphinx-common_7.4.7-4_all.deb ... Unpacking sphinx-common (7.4.7-4) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../91-python3-sphinx_7.4.7-4_all.deb ... Unpacking python3-sphinx (7.4.7-4) ... Selecting previously unselected package sphinx-rtd-theme-common. Preparing to unpack .../92-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... Selecting previously unselected package python3-sphinxcontrib.jquery. Preparing to unpack .../93-python3-sphinxcontrib.jquery_4.1-5_all.deb ... Unpacking python3-sphinxcontrib.jquery (4.1-5) ... Selecting previously unselected package python3-sphinx-rtd-theme. Preparing to unpack .../94-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libkeyutils1:amd64 (1.6.3-4) ... Setting up fonts-lato (2.015-1) ... Setting up libicu72:amd64 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:amd64 (1.47.1-1+b1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up python-babel-localedata (2.16.0-1) ... Setting up libkrb5support0:amd64 (1.21.3-3) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Fri Dec 26 03:06:07 UTC 2025. Universal Time is now: Fri Dec 26 03:06:07 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:amd64 (3.12.0-4) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode Setting up autopoint (0.22.5-2) ... Setting up libk5crypto3:amd64 (1.21.3-3) ... Setting up libgfortran5:amd64 (14.2.0-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libjson-perl (4.10000-1) ... Setting up python3.13-minimal (3.13.0-2) ... Setting up netbase (6.4) ... Setting up sgml-base (1.31) ... Setting up libkrb5-3:amd64 (1.21.3-3) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up openssl (3.3.2-2) ... Setting up readline-common (8.2-5) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up liblapack3:amd64 (3.12.0-4) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 146 added, 0 removed; done. Setting up libgssapi-krb5-2:amd64 (1.21.3-3) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:amd64 (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up xml-core (0.19) ... Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... Setting up libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.0-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up sphinx-common (7.4.7-4) ... Setting up libnsl2:amd64 (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:amd64 (3.12.7-3) ... Setting up python3.12 (3.12.7-3) ... Setting up debhelper (13.20) ... Setting up libpython3-stdlib:amd64 (3.12.7-1) ... Setting up python3 (3.12.7-1) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-markupsafe (2.1.5-1+b2) ... Setting up python3-wheel (0.45.0-1) ... Setting up python3-bitarray (2.9.2-1+b2) ... Setting up python3-roman (4.2-1) ... Setting up python3-jinja2 (3.1.3-1) ... Setting up python3-packaging (24.2-1) ... Setting up python3-pyproject-hooks (1.2.0-1) ... Setting up python3-certifi (2024.8.30+dfsg-1) ... Setting up python3-snowballstemmer (2.2.0-4) ... Setting up python3-idna (3.8-2) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-bitstruct (8.19.0-1+b2) ... Setting up python3-urllib3 (2.0.7-2) ... Setting up python3-pluggy (1.5.0-1) ... Setting up python3-build (1.2.2-1) ... Setting up python3-imagesize (1.4.1-1) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-defusedxml (0.7.1-2) ... Setting up python3-charset-normalizer (3.4.0-1+b1) ... Setting up python3-pytest (8.3.3-1) ... Setting up python3-alabaster (0.7.16-0.1) ... Setting up python3-typeguard (4.4.1-1) ... Setting up python3-all (3.12.7-1) ... Setting up python3-inflect (7.3.1-2) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-pkg-resources (75.2.0-1) ... Setting up python3-setuptools (75.2.0-1) ... Setting up python3-babel (2.16.0-1) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python3-pygments (2.18.0+dfsg-1) ... Setting up python3-chardet (5.2.0+dfsg-1) ... Setting up python3-requests (2.32.3+dfsg-1) ... Setting up python3-numpy (1:1.26.4+ds-12) ... Setting up dh-python (6.20241024) ... Setting up pybuild-plugin-pyproject (6.20241024) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for sgml-base (1.31) ... Setting up docutils-common (0.21.2+dfsg-2) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.21.2+dfsg-2) ... Setting up python3-sphinx (7.4.7-4) ... Setting up python3-sphinxcontrib.jquery (4.1-5) ... Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/bpack-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../bpack_1.1.0-2_source.changes dpkg-buildpackage: info: source package bpack dpkg-buildpackage: info: source version 1.1.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bas Couwenberg dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from bpack-1.1.0/debian/source/options: --extend-diff-ignore=^[^/]+.(egg-info|dist-info)/ debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack * Building wheel... running bdist_wheel running build running build_py creating build/lib/bpack copying bpack/np.py -> build/lib/bpack copying bpack/st.py -> build/lib/bpack copying bpack/codecs.py -> build/lib/bpack copying bpack/utils.py -> build/lib/bpack copying bpack/enums.py -> build/lib/bpack copying bpack/ba.py -> build/lib/bpack copying bpack/typing.py -> build/lib/bpack copying bpack/bs.py -> build/lib/bpack copying bpack/__init__.py -> build/lib/bpack copying bpack/descriptors.py -> build/lib/bpack creating build/lib/bpack/tests copying bpack/tests/test_packbits.py -> build/lib/bpack/tests copying bpack/tests/test_codecs.py -> build/lib/bpack/tests copying bpack/tests/test_backends_codec.py -> build/lib/bpack/tests copying bpack/tests/test_record_descriptor.py -> build/lib/bpack/tests copying bpack/tests/__init__.py -> build/lib/bpack/tests copying bpack/tests/test_decoder_ba.py -> build/lib/bpack/tests copying bpack/tests/test_utils.py -> build/lib/bpack/tests copying bpack/tests/test_desctiptor_utils.py -> build/lib/bpack/tests copying bpack/tests/test_typing.py -> build/lib/bpack/tests copying bpack/tests/test_field_descriptor.py -> build/lib/bpack/tests copying bpack/tests/test_decoder_np.py -> build/lib/bpack/tests running egg_info creating bpack.egg-info writing bpack.egg-info/PKG-INFO writing dependency_links to bpack.egg-info/dependency_links.txt writing requirements to bpack.egg-info/requires.txt writing top-level names to bpack.egg-info/top_level.txt writing manifest file 'bpack.egg-info/SOURCES.txt' reading manifest file 'bpack.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.gitignore' no previously-included directories found matching '.github' adding license file 'LICENSE' writing manifest file 'bpack.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/bpack copying build/lib/bpack/np.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/st.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/codecs.py -> build/bdist.linux-x86_64/wheel/./bpack creating build/bdist.linux-x86_64/wheel/bpack/tests copying build/lib/bpack/tests/test_packbits.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_codecs.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_backends_codec.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_record_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_ba.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_desctiptor_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_typing.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_field_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_np.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/utils.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/enums.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/ba.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/typing.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/bs.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/descriptors.py -> build/bdist.linux-x86_64/wheel/./bpack running install_egg_info Copying bpack.egg-info to build/bdist.linux-x86_64/wheel/./bpack-1.1.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/bpack-1.1.0.dist-info/WHEEL creating '/build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/.tmp-sarxtjqw/bpack-1.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'bpack/__init__.py' adding 'bpack/ba.py' adding 'bpack/bs.py' adding 'bpack/codecs.py' adding 'bpack/descriptors.py' adding 'bpack/enums.py' adding 'bpack/np.py' adding 'bpack/st.py' adding 'bpack/typing.py' adding 'bpack/utils.py' adding 'bpack/tests/__init__.py' adding 'bpack/tests/test_backends_codec.py' adding 'bpack/tests/test_codecs.py' adding 'bpack/tests/test_decoder_ba.py' adding 'bpack/tests/test_decoder_np.py' adding 'bpack/tests/test_desctiptor_utils.py' adding 'bpack/tests/test_field_descriptor.py' adding 'bpack/tests/test_packbits.py' adding 'bpack/tests/test_record_descriptor.py' adding 'bpack/tests/test_typing.py' adding 'bpack/tests/test_utils.py' adding 'bpack-1.1.0.dist-info/LICENSE' adding 'bpack-1.1.0.dist-info/METADATA' adding 'bpack-1.1.0.dist-info/WHEEL' adding 'bpack-1.1.0.dist-info/top_level.txt' adding 'bpack-1.1.0.dist-info/zip-safe' adding 'bpack-1.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built bpack-1.1.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack * Building wheel... running bdist_wheel running build running build_py running egg_info writing bpack.egg-info/PKG-INFO writing dependency_links to bpack.egg-info/dependency_links.txt writing requirements to bpack.egg-info/requires.txt writing top-level names to bpack.egg-info/top_level.txt reading manifest file 'bpack.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.gitignore' no previously-included directories found matching '.github' adding license file 'LICENSE' writing manifest file 'bpack.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/bpack copying build/lib/bpack/np.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/st.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/codecs.py -> build/bdist.linux-x86_64/wheel/./bpack creating build/bdist.linux-x86_64/wheel/bpack/tests copying build/lib/bpack/tests/test_packbits.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_codecs.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_backends_codec.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_record_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_ba.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_desctiptor_utils.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_typing.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_field_descriptor.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/tests/test_decoder_np.py -> build/bdist.linux-x86_64/wheel/./bpack/tests copying build/lib/bpack/utils.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/enums.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/ba.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/typing.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/bs.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/__init__.py -> build/bdist.linux-x86_64/wheel/./bpack copying build/lib/bpack/descriptors.py -> build/bdist.linux-x86_64/wheel/./bpack running install_egg_info Copying bpack.egg-info to build/bdist.linux-x86_64/wheel/./bpack-1.1.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/bpack-1.1.0.dist-info/WHEEL creating '/build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack/.tmp-u7lnm3bu/bpack-1.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'bpack/__init__.py' adding 'bpack/ba.py' adding 'bpack/bs.py' adding 'bpack/codecs.py' adding 'bpack/descriptors.py' adding 'bpack/enums.py' adding 'bpack/np.py' adding 'bpack/st.py' adding 'bpack/typing.py' adding 'bpack/utils.py' adding 'bpack/tests/__init__.py' adding 'bpack/tests/test_backends_codec.py' adding 'bpack/tests/test_codecs.py' adding 'bpack/tests/test_decoder_ba.py' adding 'bpack/tests/test_decoder_np.py' adding 'bpack/tests/test_desctiptor_utils.py' adding 'bpack/tests/test_field_descriptor.py' adding 'bpack/tests/test_packbits.py' adding 'bpack/tests/test_record_descriptor.py' adding 'bpack/tests/test_typing.py' adding 'bpack/tests/test_utils.py' adding 'bpack-1.1.0.dist-info/LICENSE' adding 'bpack-1.1.0.dist-info/METADATA' adding 'bpack-1.1.0.dist-info/WHEEL' adding 'bpack-1.1.0.dist-info/top_level.txt' adding 'bpack-1.1.0.dist-info/zip-safe' adding 'bpack-1.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built bpack-1.1.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module debian/rules execute_after_dh_auto_build-indep make[1]: Entering directory '/build/reproducible-path/bpack-1.1.0' cd docs && \ PYTHONPATH=/build/reproducible-path/bpack-1.1.0 http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \ sphinx-build -N -E -T -b html . /build/reproducible-path/bpack-1.1.0/.pybuild/docs/html/ Running Sphinx v7.4.7 loading translations [en]... done WARNING: html_static_path entry '_static' does not exist WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: `intersphinx_mapping = {'': ('https://docs.python.org/3/', None)}`.https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: `intersphinx_mapping = {'': ('https://numpy.org/doc/stable/', None)}`.https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping loading intersphinx inventory 'main_inventory' from https://docs.python.org/3/objects.inv... loading intersphinx inventory 'main_inventory' from https://numpy.org/doc/stable/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 20 source files that are out of date updating environment: [new config] 20 added, 0 changed, 0 removed reading sources... [ 5%] TODO reading sources... [ 10%] api/bpack reading sources... [ 15%] api/bpack.ba reading sources... [ 20%] api/bpack.bs reading sources... [ 25%] api/bpack.codecs reading sources... [ 30%] api/bpack.descriptors reading sources... [ 35%] api/bpack.enums reading sources... [ 40%] api/bpack.np reading sources... [ 45%] api/bpack.st reading sources... [ 50%] api/bpack.typing reading sources... [ 55%] api/bpack.utils reading sources... [ 60%] bpack reading sources... [ 65%] development reading sources... [ 70%] index reading sources... [ 75%] indices reading sources... [ 80%] installation reading sources... [ 85%] license reading sources... [ 90%] overview reading sources... [ 95%] release_notes reading sources... [100%] userguide looking for now-outdated files... none found pickling environment... done checking consistency... /build/reproducible-path/bpack-1.1.0/docs/api/bpack.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- api/bpack /build/reproducible-path/bpack-1.1.0/docs/development.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- development /build/reproducible-path/bpack-1.1.0/docs/installation.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- installation /build/reproducible-path/bpack-1.1.0/docs/license.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- license /build/reproducible-path/bpack-1.1.0/docs/overview.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- overview /build/reproducible-path/bpack-1.1.0/docs/release_notes.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- release_notes /build/reproducible-path/bpack-1.1.0/docs/userguide.rst: document is referenced in multiple toctrees: ['bpack', 'index'], selecting: index <- userguide done preparing documents... done copying assets... copying static files... done copying extra files... done copying assets: done writing output... [ 5%] TODO writing output... [ 10%] api/bpack writing output... [ 15%] api/bpack.ba writing output... [ 20%] api/bpack.bs writing output... [ 25%] api/bpack.codecs writing output... [ 30%] api/bpack.descriptors writing output... [ 35%] api/bpack.enums writing output... [ 40%] api/bpack.np writing output... [ 45%] api/bpack.st writing output... [ 50%] api/bpack.typing writing output... [ 55%] api/bpack.utils writing output... [ 60%] bpack writing output... [ 65%] development writing output... [ 70%] index writing output... [ 75%] indices writing output... [ 80%] installation writing output... [ 85%] license writing output... [ 90%] overview writing output... [ 95%] release_notes writing output... [100%] userguide generating indices... genindex py-modindex done highlighting module code... [ 10%] bpack.ba highlighting module code... [ 20%] bpack.bs highlighting module code... [ 30%] bpack.codecs highlighting module code... [ 40%] bpack.descriptors highlighting module code... [ 50%] bpack.enums highlighting module code... [ 60%] bpack.np highlighting module code... [ 70%] bpack.st highlighting module code... [ 80%] bpack.typing highlighting module code... [ 90%] bpack.utils highlighting module code... [100%] dataclasses writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 5 warnings. The HTML pages are in ../.pybuild/docs/html. rm -rf /build/reproducible-path/bpack-1.1.0/.pybuild/docs/html/.doctrees make[1]: Leaving directory '/build/reproducible-path/bpack-1.1.0' dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/build; python3.13 -m pytest --pyargs bpack ============================= test session starts ============================== platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 rootdir: /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/build configfile: pyproject.toml plugins: typeguard-4.4.1 collected 1709 items bpack/tests/test_backends_codec.py ....FFFF.........FFFFFFFFF........FFF [ 2%] FFFFFFFFFFFF....FFFFFFFFF....FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 6%] bpack/tests/test_codecs.py FF [ 6%] bpack/tests/test_decoder_ba.py FFF.... [ 6%] bpack/tests/test_decoder_np.py F [ 6%] bpack/tests/test_desctiptor_utils.py ......................... [ 8%] bpack/tests/test_field_descriptor.py ................................... [ 10%] ..................... [ 11%] bpack/tests/test_packbits.py ........................................... [ 14%] ........................................................................ [ 18%] ........................................................................ [ 22%] ........................................................................ [ 26%] ........................................................................ [ 30%] ........................................................................ [ 35%] ........................................................................ [ 39%] ........................................................................ [ 43%] ........................................................................ [ 47%] ........................................................................ [ 52%] ........................................................................ [ 56%] ........................................................................ [ 60%] ........................................................................ [ 64%] ........................................................................ [ 68%] ........................................................................ [ 73%] ........................................................................ [ 77%] ........................................................................ [ 81%] .............................................................. [ 85%] bpack/tests/test_record_descriptor.py .................................. [ 87%] ......................... [ 88%] bpack/tests/test_typing.py ............................................. [ 91%] ........................................................................ [ 95%] .......................................................... [ 98%] bpack/tests/test_utils.py .................... [100%] =================================== FAILURES =================================== ________________________________ test_attrs[bs] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________________________ test_attrs[ba] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________________________ test_attrs[st] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________________________ test_attrs[np] ________________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_attrs(backend): codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_backends_codec.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[st BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[st LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[np BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decoder_func[np LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs BE MSB] _________________________ backend = Record = encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs LE MSB] _________________________ backend = Record = encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs BE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[bs LE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_decoder_func[ba BE MSB] _________________________ backend = Record = encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_ba, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="ba BE MSB", marks=pytest.mark.skipif(not bpack_ba, reason="not available"), ), ], ) def test_decoder_func(backend, Record, encoded_data): # noqa: N803 decoded_data = Record() > record_type = backend.decoder(Record) bpack/tests/test_backends_codec.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[st BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[st LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[np BE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encoder_func[np LE] ___________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs BE MSB] _________________________ backend = Record = encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs LE MSB] _________________________ backend = Record = encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs BE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_encoder_func[bs LE LSB] _________________________ backend = Record = 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' @pytest.mark.parametrize( "backend, Record, encoded_data", [ pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), pytest.param( bpack_np, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="np BE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_np, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="np LE", marks=pytest.mark.skipif(not bpack_np, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeMsb, BIT_ENCODED_DATA_BE_MSB, id="bs BE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeMsb, BIT_ENCODED_DATA_LE_MSB, id="bs LE MSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordBeLsb, BIT_ENCODED_DATA_BE_LSB, id="bs BE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_bs, BitRecordLeLsb, BIT_ENCODED_DATA_LE_LSB, id="bs LE LSB", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_encoder_func(backend, Record, encoded_data): # noqa: N803 record = Record() > record_type = backend.encoder(Record) bpack/tests/test_backends_codec.py:732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_bit_decoder_decorator_frombytes[bs] ___________________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_bit_decoder_decorator_frombytes[ba] ___________________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ____________________ test_bit_encoder_decorator_tobytes[bs] ____________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_encoder_decorator_tobytes(backend): > @backend.encoder bpack/tests/test_backends_codec.py:783: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________________ test_byte_decoder_decorator_frombytes[st] ___________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________________ test_byte_decoder_decorator_frombytes[np] ___________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_decorator_frombytes(backend): > @backend.decoder bpack/tests/test_backends_codec.py:805: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_byte_encoder_decorator_tobytes[st] ____________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_decorator_tobytes(backend): > @backend.encoder bpack/tests/test_backends_codec.py:825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________ test_byte_encoder_decorator_tobytes[np] ____________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_decorator_tobytes(backend): > @backend.encoder bpack/tests/test_backends_codec.py:825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_byte_decoder_native_byteorder_frombytes[st] _______________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_native_byteorder_frombytes(backend): size = 4 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:862: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_byte_decoder_native_byteorder_frombytes[np] _______________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_decoder_native_byteorder_frombytes(backend): size = 4 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:862: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_byte_encoder_native_byteorder_tobytes[st] ________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_native_byteorder_tobytes(backend): size = 4 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:876: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_byte_encoder_native_byteorder_tobytes[np] ________________ backend = @pytest.mark.parametrize("backend", BYTES_BACKENDS) def test_byte_encoder_native_byteorder_tobytes(backend): size = 4 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:876: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_bit_decoder_native_byteorder_frombytes[bs] ________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_decoder_native_byteorder_frombytes(backend): size = 64 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:900: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_bit_encoder_native_byteorder_tobytes[bs] _________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_encoder_native_byteorder_tobytes(backend): size = 64 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_bit_decoder_default_byteorder_frombytes[bs] _______________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_default_byteorder_frombytes(backend): size = 64 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:946: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ test_bit_decoder_default_byteorder_frombytes[ba] _______________ backend = @pytest.mark.parametrize("backend", BITS_BACKENDS) def test_bit_decoder_default_byteorder_frombytes(backend): size = 64 value = 1 > @backend.decoder bpack/tests/test_backends_codec.py:946: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________________ test_bit_encoder_default_byteorder_tobytes[bs] ________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ) ], ) def test_bit_encoder_default_byteorder_tobytes(backend): size = 64 value = 1 > @backend.encoder bpack/tests/test_backends_codec.py:974: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[bs] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[ba] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[st] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_decoding_bytes[np] _________________________ backend = @pytest.mark.parametrize("backend", ALL_BACKENDS) def test_enum_decoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] ) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = b"".join( [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] ) > @backend.decoder bpack/tests/test_backends_codec.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_encoding_bytes[st] _________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_np, id="np", marks=skipif(not bpack_np, reason="not available"), ), ], ) def test_enum_encoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] encoded_data = b"".join(encoded_data) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] encoded_data = b"".join(encoded_data) > @backend.encoder bpack/tests/test_backends_codec.py:1126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_encoding_bytes[bs] _________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_np, id="np", marks=skipif(not bpack_np, reason="not available"), ), ], ) def test_enum_encoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] encoded_data = b"".join(encoded_data) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] encoded_data = b"".join(encoded_data) > @backend.encoder bpack/tests/test_backends_codec.py:1126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _________________________ test_enum_encoding_bytes[np] _________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), pytest.param( bpack_np, id="np", marks=skipif(not bpack_np, reason="not available"), ), ], ) def test_enum_encoding_bytes(backend): class EStrEnumType(enum.Enum): A = "a" B = "b" class EBytesEnumType(enum.Enum): A = b"a" B = b"b" class EIntEnumType(enum.Enum): A = 1 B = 2 class EFlagEnumType(enum.Enum): A = 1 B = 2 if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None ssize = 1 isize = 1 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, EIntEnumType.A.value.to_bytes(1, "little", signed=False), EFlagEnumType.A.value.to_bytes(1, "little", signed=False), ] encoded_data = b"".join(encoded_data) else: bitorder = bpack.EBitOrder.MSB ssize = 8 isize = 4 encoded_data = [ EStrEnumType.A.value.encode("ascii"), EBytesEnumType.A.value, bytes([0b00010001]), ] encoded_data = b"".join(encoded_data) > @backend.encoder bpack/tests/test_backends_codec.py:1126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decode_sequence[st] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_decode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.decoder bpack/tests/test_backends_codec.py:1166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_decode_sequence[bs] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_decode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.decoder bpack/tests/test_backends_codec.py:1166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encode_sequence[st] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_encode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.encoder bpack/tests/test_backends_codec.py:1208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ___________________________ test_encode_sequence[bs] ___________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=skipif(not bpack_bs, reason="not available"), ), ], ) def test_encode_sequence(backend): if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) else: bitorder = bpack.EBitOrder.MSB size = 4 repeat = 2 encoded_data = bytes([0b00110011, 0b01000100]) > @backend.encoder bpack/tests/test_backends_codec.py:1208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_decoder[st] ________________ self = backend = def test_nested_record_decoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_decoder[bs] ________________ self = backend = def test_nested_record_decoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_decoder[np] ________________ self = backend = def test_nested_record_decoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_encoder[st] ________________ self = backend = def test_nested_record_encoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.encoder # NOTE: this is an encoder bpack/tests/test_backends_codec.py:1279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_encoder[bs] ________________ self = backend = def test_nested_record_encoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.encoder # NOTE: this is an encoder bpack/tests/test_backends_codec.py:1279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_encoder[np] ________________ self = backend = def test_nested_record_encoder(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) > @backend.encoder # NOTE: this is an encoder bpack/tests/test_backends_codec.py:1279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ______________ TestNestedRecord.test_nested_record_frombytes[st] _______________ self = backend = def test_nested_record_frombytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ______________ TestNestedRecord.test_nested_record_frombytes[bs] _______________ self = backend = def test_nested_record_frombytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ______________ TestNestedRecord.test_nested_record_frombytes[np] _______________ self = backend = def test_nested_record_frombytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_tobytes[st] ________________ self = backend = def test_nested_record_tobytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.encoder bpack/tests/test_backends_codec.py:1324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_tobytes[bs] ________________ self = backend = def test_nested_record_tobytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.encoder bpack/tests/test_backends_codec.py:1324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______________ TestNestedRecord.test_nested_record_tobytes[np] ________________ self = backend = def test_nested_record_tobytes(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) # NOTE: this time the inner record is not a decoder @bpack.descriptor(baseunits=backend.Decoder.baseunits) class Record: field_1: int = bpack.field(size=4, default=1) field_2: int = bpack.field(size=4, default=2) > @backend.encoder bpack/tests/test_backends_codec.py:1324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_decoder_with_order[st] __________ self = backend = def test_nested_record_decoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_decoder_with_order[bs] __________ self = backend = def test_nested_record_decoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_decoder_with_order[np] __________ self = backend = def test_nested_record_decoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.decoder # NOTE: this is a decoder bpack/tests/test_backends_codec.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_encoder_with_order[st] __________ self = backend = def test_nested_record_encoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.encoder # NOTE: this is a encoder bpack/tests/test_backends_codec.py:1367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_encoder_with_order[bs] __________ self = backend = def test_nested_record_encoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.encoder # NOTE: this is a encoder bpack/tests/test_backends_codec.py:1367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError __________ TestNestedRecord.test_nested_record_encoder_with_order[np] __________ self = backend = def test_nested_record_encoder_with_order(self, backend): encoded_data = self.get_encoded_data(backend.Decoder.baseunits) if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: kwargs = dict(bitorder=">", byteorder=">") else: # TODO: use the default byteorder (see get_encoded_data) kwargs = dict(byteorder=bpack.EByteOrder.LE) > @backend.encoder # NOTE: this is a encoder bpack/tests/test_backends_codec.py:1367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[st] ________ self = backend = def test_decode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[bs] ________ self = backend = def test_decode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.decoder bpack/tests/test_backends_codec.py:1454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[st] ________ self = backend = def test_encode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.codec bpack/tests/test_backends_codec.py:1478: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[bs] ________ self = backend = def test_encode_nested_record_two_levels(self, backend): class EEnum(enum.Enum): ONE = 1 FOUR = 4 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) field_02: int = bpack.field(size=4, default=2) > @backend.codec bpack/tests/test_backends_codec.py:1478: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[st] _______ self = backend = def test_decode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.decoder bpack/tests/test_backends_codec.py:1511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[bs] _______ self = backend = def test_decode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.decoder bpack/tests/test_backends_codec.py:1511: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[st] _______ self = backend = def test_encode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.codec bpack/tests/test_backends_codec.py:1546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[bs] _______ self = backend = def test_encode_nested_record_three_levels(self, backend): class EEnum(enum.Enum): ONE = 1 TWO = 2 SEVEN = 7 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) ) field_03: int = bpack.field(size=4, default=4) > @backend.codec bpack/tests/test_backends_codec.py:1546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[st] ________ self = backend = def test_decode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.decoder bpack/tests/test_backends_codec.py:1591: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[bs] ________ self = backend = def test_decode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.decoder bpack/tests/test_backends_codec.py:1591: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[st] ________ self = backend = def test_encode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.codec bpack/tests/test_backends_codec.py:1639: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[bs] ________ self = backend = def test_encode_nested_record_four_levels(self, backend): class EEnum(enum.Enum): ONE = 1 THREE = 3 TEN = 10 @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel04: field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) field_0002: int = bpack.field(size=4, default=2) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel03: field_001: int = bpack.field(size=4, default=1) field_002: RecordLevel04 = bpack.field( default_factory=RecordLevel04 ) field_003: int = bpack.field(size=4, default=3) @bpack.descriptor(baseunits=backend.Decoder.baseunits) class RecordLevel02: field_01: int = bpack.field(size=4, default=1) field_02: RecordLevel03 = bpack.field( default_factory=functools.partial( RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 ) ) field_03: int = bpack.field(size=4, default=6) > @backend.codec bpack/tests/test_backends_codec.py:1639: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ____________________________ test_codec_helpers[st] ____________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_codec_helpers(backend): > @backend.codec bpack/tests/test_codecs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError ____________________________ test_codec_helpers[bs] ____________________________ backend = @pytest.mark.parametrize( "backend", [ pytest.param(bpack.st, id="st"), pytest.param( bpack_bs, id="bs", marks=pytest.mark.skipif(not bpack_bs, reason="not available"), ), ], ) def test_codec_helpers(backend): > @backend.codec bpack/tests/test_codecs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_float[float16] ______________________________ size = 16, data = b'<\x00' @pytest.mark.parametrize( "size, data", [ # fmt: off (16, bytes([0b00111100, 0b00000000])), (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000])), # fmt: on ], ids=["float16", "float32", "float64"], ) def test_float(size, data): backend = bpack_ba codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_decoder_ba.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_float[float32] ______________________________ size = 32, data = b'?\x80\x00\x00' @pytest.mark.parametrize( "size, data", [ # fmt: off (16, bytes([0b00111100, 0b00000000])), (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000])), # fmt: on ], ids=["float16", "float32", "float64"], ) def test_float(size, data): backend = bpack_ba codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_decoder_ba.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_float[float64] ______________________________ size = 64, data = b'?\xf0\x00\x00\x00\x00\x00\x00' @pytest.mark.parametrize( "size, data", [ # fmt: off (16, bytes([0b00111100, 0b00000000])), (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000, 0b00000000])), # fmt: on ], ids=["float16", "float32", "float64"], ) def test_float(size, data): backend = bpack_ba codec = getattr(backend, "codec", backend.decoder) > @codec bpack/tests/test_decoder_ba.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError _____________________________ test_decode_sequence _____________________________ def test_decode_sequence(): backend = bpack_np bitorder = None size = 1 repeat = 2 encoded_data = bytes([3, 3, 4, 4]) > @backend.decoder bpack/tests/test_decoder_np.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ bpack/utils.py:27: in wrapper return wrap(cls) bpack/utils.py:19: in wrap return func(klass, **kwargs) bpack/codecs.py:89: in codec decode_func = bpack.utils.create_fn( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'frombytes', args = ('cls', 'data') body = ['return cls.__bpack_decoder__.decode(data)'] def create_fn( name, args, body, *, globals=None, # noqa: A002 locals=None, # noqa: A002 return_type=dataclasses.MISSING, ): """Create a function object.""" > return dataclasses._create_fn( name, args, body, globals=globals, locals=locals, return_type=return_type, ) E AttributeError: module 'dataclasses' has no attribute '_create_fn' bpack/utils.py:42: AttributeError =========================== short test summary info ============================ FAILED bpack/tests/test_backends_codec.py::test_attrs[bs] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_attrs[ba] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_attrs[st] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_attrs[np] - AttributeError: m... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[st BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[st LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[np BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[np LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs BE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs LE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs BE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[bs LE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_decoder_func[ba BE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[st BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[st LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[np BE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[np LE] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs BE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs LE MSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs BE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_encoder_func[bs LE LSB] - Att... FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[ba] FAILED bpack/tests/test_backends_codec.py::test_bit_encoder_decorator_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[np] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[np] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[np] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[st] FAILED bpack/tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[np] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_native_byteorder_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_encoder_native_byteorder_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[ba] FAILED bpack/tests/test_backends_codec.py::test_bit_encoder_default_byteorder_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[bs] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[ba] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[st] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_decoding_bytes[np] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_encoding_bytes[st] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_encoding_bytes[bs] - Att... FAILED bpack/tests/test_backends_codec.py::test_enum_encoding_bytes[np] - Att... FAILED bpack/tests/test_backends_codec.py::test_decode_sequence[st] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_decode_sequence[bs] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encode_sequence[st] - Attribu... FAILED bpack/tests/test_backends_codec.py::test_encode_sequence[bs] - Attribu... FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[np] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[st] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[bs] FAILED bpack/tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[np] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[bs] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[st] FAILED bpack/tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[bs] FAILED bpack/tests/test_codecs.py::test_codec_helpers[st] - AttributeError: m... FAILED bpack/tests/test_codecs.py::test_codec_helpers[bs] - AttributeError: m... FAILED bpack/tests/test_decoder_ba.py::test_float[float16] - AttributeError: ... FAILED bpack/tests/test_decoder_ba.py::test_float[float32] - AttributeError: ... FAILED bpack/tests/test_decoder_ba.py::test_float[float64] - AttributeError: ... FAILED bpack/tests/test_decoder_np.py::test_decode_sequence - AttributeError:... ======================= 84 failed, 1625 passed in 8.31s ======================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.13_bpack/build; python3.13 -m pytest --pyargs bpack I: pybuild base:311: cd /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack/build; python3.12 -m pytest --pyargs bpack ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /build/reproducible-path/bpack-1.1.0/.pybuild/cpython3_3.12_bpack/build configfile: pyproject.toml plugins: typeguard-4.4.1 collected 1709 items bpack/tests/test_backends_codec.py ..................................... [ 2%] ...................................................................... [ 6%] bpack/tests/test_codecs.py .. [ 6%] bpack/tests/test_decoder_ba.py ....... [ 6%] bpack/tests/test_decoder_np.py . [ 6%] bpack/tests/test_desctiptor_utils.py ......................... [ 8%] bpack/tests/test_field_descriptor.py ................................... [ 10%] ..................... [ 11%] bpack/tests/test_packbits.py ........................................... [ 14%] ........................................................................ [ 18%] ........................................................................ [ 22%] ........................................................................ [ 26%] ........................................................................ [ 30%] ........................................................................ [ 35%] ........................................................................ [ 39%] ........................................................................ [ 43%] ........................................................................ [ 47%] ........................................................................ [ 52%] ........................................................................ [ 56%] ........................................................................ [ 60%] ........................................................................ [ 64%] ........................................................................ [ 68%] ........................................................................ [ 73%] ........................................................................ [ 77%] ........................................................................ [ 81%] .............................................................. [ 85%] bpack/tests/test_record_descriptor.py .................................. [ 87%] ......................... [ 88%] bpack/tests/test_typing.py ............................................. [ 91%] ........................................................................ [ 95%] .......................................................... [ 98%] bpack/tests/test_utils.py .................... [100%] ============================= 1709 passed in 8.01s ============================= dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/448276 and its subdirectories bpack failed to build from source. removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/bpack_1.1.0-2.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/bpack_1.1.0-2.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/bpack_1.1.0-2.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/bpack_1.1.0-2.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/unstable/amd64/bpack_1.1.0-2_amd64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/bpack_1.1.0-2.diff.gz' Fri Nov 22 20:44:05 UTC 2024 W: No second build log, what happened? Compressing the 1st log... b1/build.log: 93.0% -- replaced with stdout Fri Nov 22 20:44:05 UTC 2024 I: https://tests.reproducible-builds.org/debian/unstable/amd64/bpack : reproducible ➤ FTBFS INSERT 0 1 INSERT 0 1 DELETE 1 [2024-11-22 20:44:06] INFO: Starting at 2024-11-22 20:44:06.507988 [2024-11-22 20:44:06] INFO: Generating the pages of 1 package(s) [2024-11-22 20:44:06] CRITICAL: https://tests.reproducible-builds.org/debian/unstable/amd64/bpack didn't produce a buildlog, even though it has been built. [2024-11-22 20:44:06] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/i386/bpack_1.1.0-2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/i386/bpack_1.1.0-2.diff.gz is missing [2024-11-22 20:44:06] INFO: Finished at 2024-11-22 20:44:06.691600, took: 0:00:00.183621 Fri Nov 22 20:44:06 UTC 2024 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/bpack.html [2024-11-22 20:44:07] INFO: Starting at 2024-11-22 20:44:07.061810 [2024-11-22 20:44:07] INFO: Scheduling packages in amd64/unstable [2024-11-22 20:44:07] INFO: jenkins scheduled in unstable/amd64, reason: 'reproducible ➤ FTBFS': bpack [2024-11-22 20:44:07] INFO: Finished at 2024-11-22 20:44:07.612798, took: 0:00:00.550997 Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/bpack_1.1.0-2.rbuild.log: 92.3% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/bpack_1.1.0-2.rbuild.log.gz [2024-11-22 20:44:08] INFO: Starting at 2024-11-22 20:44:08.022041 [2024-11-22 20:44:08] INFO: Generating the pages of 1 package(s) [2024-11-22 20:44:08] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/bpack_1.1.0-2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/bpack_1.1.0-2.diff.gz is missing [2024-11-22 20:44:08] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/i386/bpack_1.1.0-2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/i386/bpack_1.1.0-2.diff.gz is missing [2024-11-22 20:44:08] INFO: Finished at 2024-11-22 20:44:08.200415, took: 0:00:00.178382 All cleanup done. Fri Nov 22 20:44:08 UTC 2024 - total duration: 0h 1m 54s. Fri Nov 22 20:44:08 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-tdHiev6Y, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 1min 56.975s CPU time consumed: 5.707s