Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/pyjdata/pyjdata_0.3.6-1+b2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/pyjdata-0.3.6-1+b2i6l7dd8e/pyjdata_0.3.6-1+b2_amd64.buildinfo Get source package info: pyjdata=0.3.6-1 Source URL: http://snapshot.notset.fr/mr/package/pyjdata/0.3.6-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.0-7 binutils=2.35.1-2 binutils-common=2.35.1-2 binutils-x86-64-linux-gnu=2.35.1-2 bsdextrautils=2.36-3+b1 bsdutils=1:2.36-3+b1 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-15 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-python=4.20200925 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.2.0-1 g++-10=10.2.0-15 gcc=4:10.2.0-1 gcc-10=10.2.0-15 gcc-10-base=10.2.0-15 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-15 libatomic1=10.2.0-15 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35.1-2 libblas3=3.9.0-3 libblkid1=2.36-3+b1 libbz2-1.0=1.0.8-4 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-15 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-2 libctf0=2.35.1-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.254 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.181-1 libexpat1=2.2.10-1 libexpat1-dev=2.2.10-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-15 libgcc-s1=10.2.0-15 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgfortran5=10.2.0-15 libglib2.0-0=2.66.1-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-15 libgpg-error0=1.38-2 libgssapi-krb5-2=1.17-10 libicu67=67.1-4 libisl22=0.22.1-1 libitm1=10.2.0-15 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 liblapack3=3.9.0-3 liblsan0=10.2.0-15 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-3+b1 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncursesw6=6.2+20200918-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-3 libnss-nisplus=1.3-3 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libpython3-all-dev=3.8.6-1 libpython3-dev=3.8.6-1 libpython3-stdlib=3.8.6-1 libpython3.8=3.8.6-1 libpython3.8-dev=3.8.6-1 libpython3.8-minimal=3.8.6-1 libpython3.8-stdlib=3.8.6-1 libpython3.9=3.9.0-2 libpython3.9-dev=3.9.0-2 libpython3.9-minimal=3.9.0-2 libpython3.9-stdlib=3.9.0-2 libquadmath0=10.2.0-15 libreadline8=8.0-4 libseccomp2=2.4.4-1+b1 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36-3+b1 libsqlite3-0=3.33.0-1 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-15 libstdc++6=10.2.0-15 libsub-override-perl=0.09-2 libsystemd0=246.6-1 libtinfo6=6.2+20200918-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.0-15 libubsan1=10.2.0-15 libuchardet0=0.0.7-1 libudev1=246.6-1 libunistring2=0.9.10-4 libuuid1=2.36-3+b1 libxml2=2.9.10+dfsg-6.1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.8.14-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 python3=3.8.6-1 python3-all=3.8.6-1 python3-all-dev=3.8.6-1 python3-dev=3.8.6-1 python3-distutils=3.8.6-1 python3-lib2to3=3.8.6-1 python3-minimal=3.8.6-1 python3-numpy=1:1.19.2-2+b1 python3-pkg-resources=50.3.0-1 python3-setuptools=50.3.0-1 python3.8=3.8.6-1 python3.8-dev=3.8.6-1 python3.8-minimal=3.8.6-1 python3.9=3.9.0-2 python3.9-dev=3.9.0-2 python3.9-minimal=3.9.0-2 readline-common=8.0-4 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 util-linux=2.36-3+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201016T205404Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201015T090243Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d pyjdata=0.3.6-1 && mkdir -p /build/pyjdata-tEZs1a && dpkg-source --no-check -x /*.dsc /build/pyjdata-tEZs1a/pyjdata-0.3.6 && cd /build/pyjdata-tEZs1a/pyjdata-0.3.6 && { printf '%s' 'pyjdata (0.3.6-1+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Add Python 3.9 as supported version -- amd64 / i386 Build Daemon (x86-csail-01) Fri, 16 Oct 2020 12:40:16 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/pyjdata-tEZs1a" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pyjdata-tEZs1a/pyjdata-0.3.6 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1602852016" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/pyjdata-tEZs1a /tmp/pyjdata-0.3.6-1+b2i6l7dd8e bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201015T090243Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.AdhYR6VpSN as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.AdhYR6VpSN Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-3+b1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201015T090243Z unstable/main amd64 libfakeroot amd64 1.25.3-1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201015T090243Z unstable/main amd64 fakeroot amd64 1.25.3-1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1090 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4594 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1_amd64.deb ... Unpacking fakeroot (1.25.3-1) ... Setting up libfakeroot:amd64 (1.25.3-1) ... Setting up fakeroot (1.25.3-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201016T205404Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201015T090243Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.AdhYR6VpSN Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201016T205404Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201015T090243Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20201016T205404Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201016T205404Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201016T205404Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20201016T205404Z unstable/main amd64 Packages [11.4 MB] Fetched 34.1 MB in 28s (1200 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.AdhYR6VpSN I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d pyjdata=0.3.6-1 && mkdir -p /build/pyjdata-tEZs1a && dpkg-source --no-check -x /*.dsc /build/pyjdata-tEZs1a/pyjdata-0.3.6 && cd /build/pyjdata-tEZs1a/pyjdata-0.3.6 && { printf '%s' 'pyjdata (0.3.6-1+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Add Python 3.9 as supported version -- amd64 / i386 Build Daemon (x86-csail-01) Fri, 16 Oct 2020 12:40:16 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/pyjdata-tEZs1a"' exec /tmp/mmdebstrap.AdhYR6VpSN Reading package lists... NOTICE: 'pyjdata' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/science-team/pyjdata.git Please use: git clone https://salsa.debian.org/science-team/pyjdata.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 14.9 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pyjdata 0.3.6-1 (dsc) [2025 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pyjdata 0.3.6-1 (tar) [10.9 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pyjdata 0.3.6-1 (diff) [1980 B] Fetched 14.9 kB in 0s (104 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'pyjdata_0.3.6-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting pyjdata in /build/pyjdata-tEZs1a/pyjdata-0.3.6 dpkg-source: info: unpacking pyjdata_0.3.6.orig.tar.gz dpkg-source: info: unpacking pyjdata_0.3.6-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pyjdata-tEZs1a/pyjdata-0.3.6 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1602852016" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.AdhYR6VpSN dpkg-buildpackage: info: source package pyjdata dpkg-buildpackage: info: source version 0.3.6-1+b2 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python3.9 setup.py clean running clean removing '/build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.9' does not exist -- can't clean it I: pybuild base:217: python3.8 setup.py clean running clean removing '/build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.8' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules build-arch dh build-arch --with python3 --buildsystem=pybuild dh_update_autotools_config -a -O--buildsystem=pybuild dh_autoreconf -a -O--buildsystem=pybuild dh_auto_configure -a -O--buildsystem=pybuild I: pybuild base:217: python3.9 setup.py config running config I: pybuild base:217: python3.8 setup.py config running config dh_auto_build -a -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python3.9 setup.py build running build running build_py creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata copying jdata/__init__.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata copying jdata/cmd.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata copying jdata/jfile.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata copying jdata/jdata.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata I: pybuild base:217: /usr/bin/python3 setup.py build running build running build_py creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata copying jdata/__init__.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata copying jdata/cmd.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata copying jdata/jfile.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata copying jdata/jdata.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata dh_auto_test -a -O--buildsystem=pybuild I: pybuild base:217: cd /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build; python3.9 -m unittest discover -v test/ test_module (testjd.TestModule) ... /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/jdata.py:86: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. newobj['_ArrayZipData_']=np.asarray(newobj['_ArrayData_'],dtype=d.dtype).tostring(); ok ---------------------------------------------------------------------- Ran 1 test in 0.006s OK == Original Python native data == OrderedDict([('const', [2.0, 1, True, False, None, nan, -inf]), ('shortarray', [1, 2, 3]), ('a_complex', (1+2j)), ('object', [[[1], [2], [3]], None, False]), ('a_typedarray', array([9, 9, 9, 9], dtype=uint8)), ('a_ndarray', array([[1, 2, 3], [4, 5, 6], [7, 8, 9]], dtype=int32)), ('a_biginteger', 9007199254740991), ('a_map', {nan: 'one', 2: 'two', 'k': 'three'})]) == JData-annotated data == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": 1, "_ArrayIsComplex_": true, "_ArrayData_": [ 1.0, 2.0 ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayData_": [ 9, 9, 9, 9 ] }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayData_": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None == JData-annotated data exported to JSON with zlib compression == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": 1, "_ArrayIsComplex_": true, "_ArrayData_": [ 1.0, 2.0 ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayZipType_": "zlib", "_ArrayZipSize_": [ 1, 4 ], "_ArrayZipData_": null }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayZipType_": "zlib", "_ArrayZipSize_": [ 1, 9 ], "_ArrayZipData_": null }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None == Decoding a JData-encoded data and printed in JSON format == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": [ 1 ], "_ArrayIsComplex_": true, "_ArrayData_": [ [ 1.0 ], [ 2.0 ] ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayData_": [ 9, 9, 9, 9 ] }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayData_": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None == Saving encoded data to test.json == == Loading data from test.json and decode == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": [ 1 ], "_ArrayIsComplex_": true, "_ArrayData_": [ [ 1.0 ], [ 2.0 ] ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayData_": [ 9, 9, 9, 9 ] }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayData_": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None I: pybuild base:217: cd /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build; python3.8 -m unittest discover -v test/ test_module (testjd.TestModule) ... /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/jdata.py:86: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. newobj['_ArrayZipData_']=np.asarray(newobj['_ArrayData_'],dtype=d.dtype).tostring(); ok ---------------------------------------------------------------------- Ran 1 test in 0.006s OK == Original Python native data == OrderedDict([('const', [2.0, 1, True, False, None, nan, -inf]), ('shortarray', [1, 2, 3]), ('a_complex', (1+2j)), ('object', [[[1], [2], [3]], None, False]), ('a_typedarray', array([9, 9, 9, 9], dtype=uint8)), ('a_ndarray', array([[1, 2, 3], [4, 5, 6], [7, 8, 9]], dtype=int32)), ('a_biginteger', 9007199254740991), ('a_map', {nan: 'one', 2: 'two', 'k': 'three'})]) == JData-annotated data == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": 1, "_ArrayIsComplex_": true, "_ArrayData_": [ 1.0, 2.0 ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayData_": [ 9, 9, 9, 9 ] }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayData_": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None == JData-annotated data exported to JSON with zlib compression == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": 1, "_ArrayIsComplex_": true, "_ArrayData_": [ 1.0, 2.0 ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayZipType_": "zlib", "_ArrayZipSize_": [ 1, 4 ], "_ArrayZipData_": null }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayZipType_": "zlib", "_ArrayZipSize_": [ 1, 9 ], "_ArrayZipData_": null }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None == Decoding a JData-encoded data and printed in JSON format == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": [ 1 ], "_ArrayIsComplex_": true, "_ArrayData_": [ [ 1.0 ], [ 2.0 ] ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayData_": [ 9, 9, 9, 9 ] }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayData_": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None == Saving encoded data to test.json == == Loading data from test.json and decode == { "const": [ 2.0, 1, true, false, null, "_NaN_", "-_Inf_" ], "shortarray": [ 1, 2, 3 ], "a_complex": { "_ArrayType_": "double", "_ArraySize_": [ 1 ], "_ArrayIsComplex_": true, "_ArrayData_": [ [ 1.0 ], [ 2.0 ] ] }, "object": [ [ [ 1 ], [ 2 ], [ 3 ] ], null, false ], "a_typedarray": { "_ArrayType_": "uint8", "_ArraySize_": [ 4 ], "_ArrayData_": [ 9, 9, 9, 9 ] }, "a_ndarray": { "_ArrayType_": "int32", "_ArraySize_": [ 3, 3 ], "_ArrayData_": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }, "a_biginteger": 9007199254740991, "a_map": { "2": "two", "k": "three", "_NaN_": "one" } } None create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --with python3 --buildsystem=pybuild dh_testroot -a -O--buildsystem=pybuild dh_prep -a -O--buildsystem=pybuild dh_auto_install -a -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python3.9 setup.py install --root /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata running install running build running build_py running install_lib creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9 creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/__init__.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/cmd.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/jfile.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/jdata.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/__pycache__/jfile.cpython-39.pyc -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/__pycache__/__init__.cpython-39.pyc -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/jdata/__pycache__/jdata.cpython-39.pyc -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.9_jdata/build/test.json -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/__init__.py to __init__.cpython-39.pyc byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/cmd.py to cmd.cpython-39.pyc byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/jfile.py to jfile.cpython-39.pyc byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata/jdata.py to jdata.cpython-39.pyc running install_egg_info running egg_info creating jdata.egg-info writing jdata.egg-info/PKG-INFO writing dependency_links to jdata.egg-info/dependency_links.txt writing top-level names to jdata.egg-info/top_level.txt writing manifest file 'jdata.egg-info/SOURCES.txt' reading manifest file 'jdata.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'jdata.egg-info/SOURCES.txt' Copying jdata.egg-info to /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.9/dist-packages/jdata-0.3.5.egg-info Skipping SOURCES.txt running install_scripts I: pybuild base:217: /usr/bin/python3 setup.py install --root /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata running install running build running build_py running install_lib creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8 creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/__init__.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/cmd.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/jfile.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/jdata.py -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata creating /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/__pycache__/jdata.cpython-38.pyc -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/__pycache__/__init__.cpython-38.pyc -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/jdata/__pycache__/jfile.cpython-38.pyc -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/__pycache__ copying /build/pyjdata-tEZs1a/pyjdata-0.3.6/.pybuild/cpython3_3.8_jdata/build/test.json -> /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/__init__.py to __init__.cpython-38.pyc byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/cmd.py to cmd.cpython-38.pyc byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/jfile.py to jfile.cpython-38.pyc byte-compiling /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata/jdata.py to jdata.cpython-38.pyc running install_egg_info running egg_info writing jdata.egg-info/PKG-INFO writing dependency_links to jdata.egg-info/dependency_links.txt writing top-level names to jdata.egg-info/top_level.txt reading manifest file 'jdata.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'jdata.egg-info/SOURCES.txt' Copying jdata.egg-info to /build/pyjdata-tEZs1a/pyjdata-0.3.6/debian/python3-jdata/usr/lib/python3.8/dist-packages/jdata-0.3.5.egg-info Skipping SOURCES.txt running install_scripts dh_installdocs -a -O--buildsystem=pybuild dh_installchangelogs -a -O--buildsystem=pybuild dh_python3 -a -O--buildsystem=pybuild dh_installinit -a -O--buildsystem=pybuild dh_installsystemduser -a -O--buildsystem=pybuild dh_perl -a -O--buildsystem=pybuild dh_link -a -O--buildsystem=pybuild dh_strip_nondeterminism -a -O--buildsystem=pybuild dh_compress -a -O--buildsystem=pybuild dh_fixperms -a -O--buildsystem=pybuild dh_missing -a -O--buildsystem=pybuild dh_dwz -a -O--buildsystem=pybuild dh_strip -a -O--buildsystem=pybuild dh_makeshlibs -a -O--buildsystem=pybuild dh_shlibdeps -a -O--buildsystem=pybuild dh_installdeb -a -O--buildsystem=pybuild dh_gencontrol -a -O--buildsystem=pybuild dpkg-gencontrol: warning: Depends field of package python3-jdata: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -a -O--buildsystem=pybuild dh_builddeb -a -O--buildsystem=pybuild dpkg-deb: building package 'python3-jdata' in '../python3-jdata_0.3.6-1+b2_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../pyjdata_0.3.6-1+b2_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/pyjdata-tEZs1a /tmp/pyjdata-0.3.6-1+b2i6l7dd8e I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.AdhYR6VpSN... I: success in 352.2540 seconds md5: python3-jdata_0.3.6-1+b2_amd64.deb: OK sha1: python3-jdata_0.3.6-1+b2_amd64.deb: OK sha256: python3-jdata_0.3.6-1+b2_amd64.deb: OK Checksums: OK