I: pbuilder: network access will be disabled during build I: Current time: Sat Mar 28 22:13:55 -12 2026 I: pbuilder-time-stamp: 1774779235 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: using eatmydata during job I: Copying source file I: copying [python-easyenergy_2.1.2-1.dsc] I: copying [./python-easyenergy_2.1.2.orig.tar.xz] I: copying [./python-easyenergy_2.1.2-1.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./python-easyenergy_2.1.2-1.dsc: unsupported subcommand dpkg-source: info: extracting python-easyenergy in python-easyenergy-2.1.2 dpkg-source: info: unpacking python-easyenergy_2.1.2.orig.tar.xz dpkg-source: info: unpacking python-easyenergy_2.1.2-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/113984/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='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='90edc5d6858047eb944bab802351fb23' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' 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='113984' 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.TnCnzJ5p/pbuilderrc_2EFm --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.TnCnzJ5p/b1 --logfile b1/build.log python-easyenergy_2.1.2-1.dsc' SUDO_GID='112' SUDO_UID='107' 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 ionos6-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/113984/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: i386 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 (= 11), dh-python, openstack-pkg-tools, pybuild-plugin-pyproject, python3-all, python3-poetry-core, python3-setuptools, python3-aiodns, python3-aiohttp, python3-aresponses, python3-covdefaults, python3-pytest, python3-pytest-asyncio, python3-pytest-cov, python3-pytest-freezer, python3-tz, python3-yarl dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19761 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 (= 11); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on openstack-pkg-tools; however: Package openstack-pkg-tools 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-poetry-core; however: Package python3-poetry-core is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-aiodns; however: Package python3-aiodns is not installed. pbuilder-satisfydepends-dummy depends on python3-aiohttp; however: Package python3-aiohttp is not installed. pbuilder-satisfydepends-dummy depends on python3-aresponses; however: Package python3-aresponses is not installed. pbuilder-satisfydepends-dummy depends on python3-covdefaults; however: Package python3-covdefaults is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-asyncio; however: Package python3-pytest-asyncio is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-cov; however: Package python3-pytest-cov is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-freezer; however: Package python3-pytest-freezer is not installed. pbuilder-satisfydepends-dummy depends on python3-tz; however: Package python3-tz is not installed. pbuilder-satisfydepends-dummy depends on python3-yarl; however: Package python3-yarl 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} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} jq{a} libarchive-zip-perl{a} libcares2{a} libcom-err2{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libffi8{a} libfile-stripnondeterminism-perl{a} libgssapi-krb5-2{a} libicu72{a} libjq1{a} libjs-jquery{a} libjs-jquery-hotkeys{a} libjs-jquery-isonscreen{a} libjs-jquery-metadata{a} libjs-jquery-tablesorter{a} libjs-jquery-throttle-debounce{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libonig5{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} libunistring5{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} openstack-pkg-tools{a} po-debconf{a} pybuild-plugin-pyproject{a} python3{a} python3-aiodns{a} python3-aiohappyeyeballs{a} python3-aiohttp{a} python3-aiosignal{a} python3-all{a} python3-aresponses{a} python3-async-generator{a} python3-async-timeout{a} python3-attr{a} python3-autocommand{a} python3-build{a} python3-cffi-backend{a} python3-covdefaults{a} python3-coverage{a} python3-dateutil{a} python3-freezegun{a} python3-frozenlist{a} python3-idna{a} python3-inflect{a} python3-iniconfig{a} python3-installer{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-minimal{a} python3-more-itertools{a} python3-multidict{a} python3-packaging{a} python3-pip{a} python3-pkg-resources{a} python3-pluggy{a} python3-poetry-core{a} python3-pycares{a} python3-pyproject-hooks{a} python3-pytest{a} python3-pytest-asyncio{a} python3-pytest-cov{a} python3-pytest-freezer{a} python3-pytz{a} python3-setuptools{a} python3-toml{a} python3-typeguard{a} python3-typing-extensions{a} python3-tz{a} python3-wheel{a} python3-yarl{a} python3-zipp{a} python3.12{a} python3.12-minimal{a} python3.13{a} python3.13-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} The following packages are RECOMMENDED but will NOT be installed: autopkgtest curl javascript-common krb5-locales libarchive-cpio-perl libjs-sphinxdoc libltdl-dev libmail-sendmail-perl lynx madison-lite pristine-tar python3-dev python3-pygments wget 0 packages upgraded, 118 newly installed, 0 to remove and 0 not upgraded. Need to get 41.6 MB of archives. After unpacking 164 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 libpython3.13-minimal i386 3.13.2-1 [859 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libexpat1 i386 2.6.4-1 [107 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 python3.13-minimal i386 3.13.2-1 [2266 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 python3-minimal i386 3.13.1-2 [27.0 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 media-types all 12.0.0 [28.9 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 netbase all 6.4 [12.8 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 tzdata all 2025a-2 [259 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 libffi8 i386 3.4.7-1 [21.4 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 readline-common all 8.2-6 [69.4 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 libreadline8t64 i386 8.2-6 [173 kB] Get: 11 http://deb.debian.org/debian unstable/main i386 libpython3.13-stdlib i386 3.13.2-1 [1985 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 python3.13 i386 3.13.2-1 [745 kB] Get: 13 http://deb.debian.org/debian unstable/main i386 libpython3-stdlib i386 3.13.1-2 [9952 B] Get: 14 http://deb.debian.org/debian unstable/main i386 python3 i386 3.13.1-2 [28.0 kB] Get: 15 http://deb.debian.org/debian unstable/main i386 libpython3.12-minimal i386 3.12.9-1 [816 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 python3.12-minimal i386 3.12.9-1 [2238 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.24 [24.8 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 openssl i386 3.4.1-1 [1432 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 ca-certificates all 20241223 [164 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3+b1 [314 kB] Get: 21 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3+b1 [115 kB] Get: 22 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3+b1 [43.2 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.23.1-1 [245 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b2 [69.2 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-7 [1199 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.4-4 [96.4 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.8-1 [41.2 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 man-db i386 2.13.0-1 [1428 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-5 [301 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 autoconf all 2.72-3 [493 kB] Get: 31 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 32 http://deb.debian.org/debian unstable/main i386 automake all 1:1.17-3 [862 kB] Get: 33 http://deb.debian.org/debian unstable/main i386 autopoint all 0.23.1-1 [770 kB] Get: 34 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.24.1 [90.9 kB] Get: 35 http://deb.debian.org/debian unstable/main i386 libtool all 2.5.4-3 [539 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 37 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 38 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 39 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 40 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.192-4 [195 kB] Get: 41 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 42 http://deb.debian.org/debian unstable/main i386 libunistring5 i386 1.3-1 [458 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-6 [9582 kB] Get: 44 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.12.7+dfsg+really2.9.14-0.2+b1 [734 kB] Get: 45 http://deb.debian.org/debian unstable/main i386 gettext i386 0.23.1-1 [1714 kB] Get: 46 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 48 http://deb.debian.org/debian unstable/main i386 debhelper all 13.24.1 [920 kB] Get: 49 http://deb.debian.org/debian unstable/main i386 python3-autocommand all 2.2.2-3 [13.6 kB] Get: 50 http://deb.debian.org/debian unstable/main i386 python3-more-itertools all 10.6.0-1 [65.3 kB] Get: 51 http://deb.debian.org/debian unstable/main i386 python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 52 http://deb.debian.org/debian unstable/main i386 python3-typeguard all 4.4.2-1 [37.3 kB] Get: 53 http://deb.debian.org/debian unstable/main i386 python3-inflect all 7.3.1-2 [32.4 kB] Get: 54 http://deb.debian.org/debian unstable/main i386 python3-jaraco.context all 6.0.0-1 [7984 B] Get: 55 http://deb.debian.org/debian unstable/main i386 python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 56 http://deb.debian.org/debian unstable/main i386 python3-pkg-resources all 75.8.0-1 [222 kB] Get: 57 http://deb.debian.org/debian unstable/main i386 python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 58 http://deb.debian.org/debian unstable/main i386 python3-zipp all 3.21.0-1 [10.6 kB] Get: 59 http://deb.debian.org/debian unstable/main i386 python3-setuptools all 75.8.0-1 [724 kB] Get: 60 http://deb.debian.org/debian unstable/main i386 dh-python all 6.20250108 [113 kB] Get: 61 http://deb.debian.org/debian unstable/main i386 libonig5 i386 6.9.9-1+b1 [195 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 libjq1 i386 1.7.1-3+b1 [198 kB] Get: 63 http://deb.debian.org/debian unstable/main i386 jq i386 1.7.1-3+b1 [79.2 kB] Get: 64 http://deb.debian.org/debian unstable/main i386 libcares2 i386 1.34.4-2.1 [113 kB] Get: 65 http://deb.debian.org/debian unstable/main i386 libcom-err2 i386 1.47.2-1 [24.3 kB] Get: 66 http://deb.debian.org/debian unstable/main i386 libkrb5support0 i386 1.21.3-4 [35.0 kB] Get: 67 http://deb.debian.org/debian unstable/main i386 libk5crypto3 i386 1.21.3-4 [83.7 kB] Get: 68 http://deb.debian.org/debian unstable/main i386 libkeyutils1 i386 1.6.3-4 [9600 B] Get: 69 http://deb.debian.org/debian unstable/main i386 libkrb5-3 i386 1.21.3-4 [354 kB] Get: 70 http://deb.debian.org/debian unstable/main i386 libgssapi-krb5-2 i386 1.21.3-4 [149 kB] Get: 71 http://deb.debian.org/debian unstable/main i386 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 72 http://deb.debian.org/debian unstable/main i386 libjs-jquery-hotkeys all 0.2.0-1 [12.6 kB] Get: 73 http://deb.debian.org/debian unstable/main i386 libjs-jquery-isonscreen all 1.2.0-1.1 [3196 B] Get: 74 http://deb.debian.org/debian unstable/main i386 libjs-jquery-metadata all 12-4 [6532 B] Get: 75 http://deb.debian.org/debian unstable/main i386 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [184 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.2 kB] Get: 77 http://deb.debian.org/debian unstable/main i386 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 78 http://deb.debian.org/debian unstable/main i386 libtirpc3t64 i386 1.3.4+ds-1.3+b1 [90.5 kB] Get: 79 http://deb.debian.org/debian unstable/main i386 libnsl2 i386 1.3.0-3+b3 [42.7 kB] Get: 80 http://deb.debian.org/debian unstable/main i386 libpython3.12-stdlib i386 3.12.9-1 [1972 kB] Get: 81 http://deb.debian.org/debian unstable/main i386 python3-wheel all 0.45.1-1 [56.7 kB] Get: 82 http://deb.debian.org/debian unstable/main i386 python3-pip all 25.0+dfsg-1 [1454 kB] Get: 83 http://deb.debian.org/debian unstable/main i386 openstack-pkg-tools all 132 [96.6 kB] Get: 84 http://deb.debian.org/debian unstable/main i386 python3-packaging all 24.2-1 [55.3 kB] Get: 85 http://deb.debian.org/debian unstable/main i386 python3-pyproject-hooks all 1.2.0-1 [11.7 kB] Get: 86 http://deb.debian.org/debian unstable/main i386 python3-toml all 0.10.2-1 [16.2 kB] Get: 87 http://deb.debian.org/debian unstable/main i386 python3-build all 1.2.2-1 [36.0 kB] Get: 88 http://deb.debian.org/debian unstable/main i386 python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 89 http://deb.debian.org/debian unstable/main i386 pybuild-plugin-pyproject all 6.20250108 [11.6 kB] Get: 90 http://deb.debian.org/debian unstable/main i386 python3-idna all 3.10-1 [42.0 kB] Get: 91 http://deb.debian.org/debian unstable/main i386 python3-cffi-backend i386 1.17.1-2+b1 [95.5 kB] Get: 92 http://deb.debian.org/debian unstable/main i386 python3-pycares i386 4.4.0-2+b2 [29.3 kB] Get: 93 http://deb.debian.org/debian unstable/main i386 python3-aiodns all 3.2.0-2 [8216 B] Get: 94 http://deb.debian.org/debian unstable/main i386 python3-aiohappyeyeballs all 2.4.6-1 [13.5 kB] Get: 95 http://deb.debian.org/debian unstable/main i386 python3-multidict i386 6.1.0-1+b1 [40.5 kB] Get: 96 http://deb.debian.org/debian unstable/main i386 python3-yarl i386 1.13.1-1+b1 [119 kB] Get: 97 http://deb.debian.org/debian unstable/main i386 python3-async-timeout all 5.0.1-1 [8324 B] Get: 98 http://deb.debian.org/debian unstable/main i386 python3-frozenlist i386 1.5.0-1+b1 [57.8 kB] Get: 99 http://deb.debian.org/debian unstable/main i386 python3-aiosignal all 1.3.2-1 [6100 B] Get: 100 http://deb.debian.org/debian unstable/main i386 python3-attr all 25.1.0-1 [68.7 kB] Get: 101 http://deb.debian.org/debian unstable/main i386 python3-aiohttp i386 3.10.11-1 [366 kB] Get: 102 http://deb.debian.org/debian unstable/main i386 python3.12 i386 3.12.9-1 [681 kB] Get: 103 http://deb.debian.org/debian unstable/main i386 python3-all i386 3.13.1-2 [1052 B] Get: 104 http://deb.debian.org/debian unstable/main i386 python3-async-generator all 1.10-4 [17.4 kB] Get: 105 http://deb.debian.org/debian unstable/main i386 python3-iniconfig all 1.1.1-2 [6396 B] Get: 106 http://deb.debian.org/debian unstable/main i386 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 107 http://deb.debian.org/debian unstable/main i386 python3-pytest all 8.3.4-1 [250 kB] Get: 108 http://deb.debian.org/debian unstable/main i386 python3-pytest-asyncio all 0.25.1-1 [16.7 kB] Get: 109 http://deb.debian.org/debian unstable/main i386 python3-aresponses all 3.0.0-2 [13.5 kB] Get: 110 http://deb.debian.org/debian unstable/main i386 python3-coverage i386 7.6.0+dfsg1-2+b1 [177 kB] Get: 111 http://deb.debian.org/debian unstable/main i386 python3-covdefaults all 2.3.0-2 [7692 B] Get: 112 http://deb.debian.org/debian unstable/main i386 python3-dateutil all 2.9.0-3 [79.3 kB] Get: 113 http://deb.debian.org/debian unstable/main i386 python3-freezegun all 1.5.1-1.2 [17.2 kB] Get: 114 http://deb.debian.org/debian unstable/main i386 python3-poetry-core all 2.0.1-2 [225 kB] Get: 115 http://deb.debian.org/debian unstable/main i386 python3-pytest-cov all 5.0.0-1 [26.8 kB] Get: 116 http://deb.debian.org/debian unstable/main i386 python3-pytest-freezer all 0.4.9-1 [4544 B] Get: 117 http://deb.debian.org/debian unstable/main i386 python3-pytz all 2025.1-3 [150 kB] Get: 118 http://deb.debian.org/debian unstable/main i386 python3-tz all 2025.1-3 [4004 B] Fetched 41.6 MB in 0s (116 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (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 ... 19761 files and directories currently installed.) Preparing to unpack .../libpython3.13-minimal_3.13.2-1_i386.deb ... Unpacking libpython3.13-minimal:i386 (3.13.2-1) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../libexpat1_2.6.4-1_i386.deb ... Unpacking libexpat1:i386 (2.6.4-1) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../python3.13-minimal_3.13.2-1_i386.deb ... Unpacking python3.13-minimal (3.13.2-1) ... Setting up libpython3.13-minimal:i386 (3.13.2-1) ... Setting up libexpat1:i386 (2.6.4-1) ... Setting up python3.13-minimal (3.13.2-1) ... 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 ... 20095 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.13.1-2_i386.deb ... Unpacking python3-minimal (3.13.1-2) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_12.0.0_all.deb ... Unpacking media-types (12.0.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2025a-2_all.deb ... Unpacking tzdata (2025a-2) ... Selecting previously unselected package libffi8:i386. Preparing to unpack .../4-libffi8_3.4.7-1_i386.deb ... Unpacking libffi8:i386 (3.4.7-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../5-readline-common_8.2-6_all.deb ... Unpacking readline-common (8.2-6) ... Selecting previously unselected package libreadline8t64:i386. Preparing to unpack .../6-libreadline8t64_8.2-6_i386.deb ... Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8 to /lib/i386-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libhistory.so.8.2 to /lib/i386-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8 to /lib/i386-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/i386-linux-gnu/libreadline.so.8.2 to /lib/i386-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:i386 (8.2-6) ... Selecting previously unselected package libpython3.13-stdlib:i386. Preparing to unpack .../7-libpython3.13-stdlib_3.13.2-1_i386.deb ... Unpacking libpython3.13-stdlib:i386 (3.13.2-1) ... Selecting previously unselected package python3.13. Preparing to unpack .../8-python3.13_3.13.2-1_i386.deb ... Unpacking python3.13 (3.13.2-1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../9-libpython3-stdlib_3.13.1-2_i386.deb ... Unpacking libpython3-stdlib:i386 (3.13.1-2) ... Setting up python3-minimal (3.13.1-2) ... 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 ... 21105 files and directories currently installed.) Preparing to unpack .../000-python3_3.13.1-2_i386.deb ... Unpacking python3 (3.13.1-2) ... Selecting previously unselected package libpython3.12-minimal:i386. Preparing to unpack .../001-libpython3.12-minimal_3.12.9-1_i386.deb ... Unpacking libpython3.12-minimal:i386 (3.12.9-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../002-python3.12-minimal_3.12.9-1_i386.deb ... Unpacking python3.12-minimal (3.12.9-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../003-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package openssl. Preparing to unpack .../004-openssl_3.4.1-1_i386.deb ... Unpacking openssl (3.4.1-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../005-ca-certificates_20241223_all.deb ... Unpacking ca-certificates (20241223) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../006-libmagic-mgc_1%3a5.45-3+b1_i386.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:i386. Preparing to unpack .../007-libmagic1t64_1%3a5.45-3+b1_i386.deb ... Unpacking libmagic1t64:i386 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../008-file_1%3a5.45-3+b1_i386.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../009-gettext-base_0.23.1-1_i386.deb ... Unpacking gettext-base (0.23.1-1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../010-libuchardet0_0.0.8-1+b2_i386.deb ... Unpacking libuchardet0:i386 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../011-groff-base_1.23.0-7_i386.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../012-bsdextrautils_2.40.4-4_i386.deb ... Unpacking bsdextrautils (2.40.4-4) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../013-libpipeline1_1.5.8-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../014-man-db_2.13.0-1_i386.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../015-m4_1.4.19-5_i386.deb ... Unpacking m4 (1.4.19-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../016-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../017-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../018-automake_1%3a1.17-3_all.deb ... Unpacking automake (1:1.17-3) ... Selecting previously unselected package autopoint. Preparing to unpack .../019-autopoint_0.23.1-1_all.deb ... Unpacking autopoint (0.23.1-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../020-libdebhelper-perl_13.24.1_all.deb ... Unpacking libdebhelper-perl (13.24.1) ... Selecting previously unselected package libtool. Preparing to unpack .../021-libtool_2.5.4-3_all.deb ... Unpacking libtool (2.5.4-3) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../022-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../023-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 .../024-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../025-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:i386. Preparing to unpack .../026-libelf1t64_0.192-4_i386.deb ... Unpacking libelf1t64:i386 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../027-dwz_0.15-1+b1_i386.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:i386. Preparing to unpack .../028-libunistring5_1.3-1_i386.deb ... Unpacking libunistring5:i386 (1.3-1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../029-libicu72_72.1-6_i386.deb ... Unpacking libicu72:i386 (72.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../030-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_i386.deb ... Unpacking libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../031-gettext_0.23.1-1_i386.deb ... Unpacking gettext (0.23.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../032-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 .../033-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../034-debhelper_13.24.1_all.deb ... Unpacking debhelper (13.24.1) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../035-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 .../036-python3-more-itertools_10.6.0-1_all.deb ... Unpacking python3-more-itertools (10.6.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../037-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 .../038-python3-typeguard_4.4.2-1_all.deb ... Unpacking python3-typeguard (4.4.2-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../039-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 .../040-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 .../041-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 .../042-python3-pkg-resources_75.8.0-1_all.deb ... Unpacking python3-pkg-resources (75.8.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../043-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 .../044-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../045-python3-setuptools_75.8.0-1_all.deb ... Unpacking python3-setuptools (75.8.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../046-dh-python_6.20250108_all.deb ... Unpacking dh-python (6.20250108) ... Selecting previously unselected package libonig5:i386. Preparing to unpack .../047-libonig5_6.9.9-1+b1_i386.deb ... Unpacking libonig5:i386 (6.9.9-1+b1) ... Selecting previously unselected package libjq1:i386. Preparing to unpack .../048-libjq1_1.7.1-3+b1_i386.deb ... Unpacking libjq1:i386 (1.7.1-3+b1) ... Selecting previously unselected package jq. Preparing to unpack .../049-jq_1.7.1-3+b1_i386.deb ... Unpacking jq (1.7.1-3+b1) ... Selecting previously unselected package libcares2:i386. Preparing to unpack .../050-libcares2_1.34.4-2.1_i386.deb ... Unpacking libcares2:i386 (1.34.4-2.1) ... Selecting previously unselected package libcom-err2:i386. Preparing to unpack .../051-libcom-err2_1.47.2-1_i386.deb ... Unpacking libcom-err2:i386 (1.47.2-1) ... Selecting previously unselected package libkrb5support0:i386. Preparing to unpack .../052-libkrb5support0_1.21.3-4_i386.deb ... Unpacking libkrb5support0:i386 (1.21.3-4) ... Selecting previously unselected package libk5crypto3:i386. Preparing to unpack .../053-libk5crypto3_1.21.3-4_i386.deb ... Unpacking libk5crypto3:i386 (1.21.3-4) ... Selecting previously unselected package libkeyutils1:i386. Preparing to unpack .../054-libkeyutils1_1.6.3-4_i386.deb ... Unpacking libkeyutils1:i386 (1.6.3-4) ... Selecting previously unselected package libkrb5-3:i386. Preparing to unpack .../055-libkrb5-3_1.21.3-4_i386.deb ... Unpacking libkrb5-3:i386 (1.21.3-4) ... Selecting previously unselected package libgssapi-krb5-2:i386. Preparing to unpack .../056-libgssapi-krb5-2_1.21.3-4_i386.deb ... Unpacking libgssapi-krb5-2:i386 (1.21.3-4) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../057-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-jquery-hotkeys. Preparing to unpack .../058-libjs-jquery-hotkeys_0.2.0-1_all.deb ... Unpacking libjs-jquery-hotkeys (0.2.0-1) ... Selecting previously unselected package libjs-jquery-isonscreen. Preparing to unpack .../059-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... Selecting previously unselected package libjs-jquery-metadata. Preparing to unpack .../060-libjs-jquery-metadata_12-4_all.deb ... Unpacking libjs-jquery-metadata (12-4) ... Selecting previously unselected package libjs-jquery-tablesorter. Preparing to unpack .../061-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... Selecting previously unselected package libjs-jquery-throttle-debounce. Preparing to unpack .../062-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../063-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:i386. Preparing to unpack .../064-libtirpc3t64_1.3.4+ds-1.3+b1_i386.deb ... Adding 'diversion of /lib/i386-linux-gnu/libtirpc.so.3 to /lib/i386-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/i386-linux-gnu/libtirpc.so.3.0.0 to /lib/i386-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:i386 (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:i386. Preparing to unpack .../065-libnsl2_1.3.0-3+b3_i386.deb ... Unpacking libnsl2:i386 (1.3.0-3+b3) ... Selecting previously unselected package libpython3.12-stdlib:i386. Preparing to unpack .../066-libpython3.12-stdlib_3.12.9-1_i386.deb ... Unpacking libpython3.12-stdlib:i386 (3.12.9-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../067-python3-wheel_0.45.1-1_all.deb ... Unpacking python3-wheel (0.45.1-1) ... Selecting previously unselected package python3-pip. Preparing to unpack .../068-python3-pip_25.0+dfsg-1_all.deb ... Unpacking python3-pip (25.0+dfsg-1) ... Selecting previously unselected package openstack-pkg-tools. Preparing to unpack .../069-openstack-pkg-tools_132_all.deb ... Unpacking openstack-pkg-tools (132) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../070-python3-packaging_24.2-1_all.deb ... Unpacking python3-packaging (24.2-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../071-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 .../072-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-build. Preparing to unpack .../073-python3-build_1.2.2-1_all.deb ... Unpacking python3-build (1.2.2-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../074-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 .../075-pybuild-plugin-pyproject_6.20250108_all.deb ... Unpacking pybuild-plugin-pyproject (6.20250108) ... Selecting previously unselected package python3-idna. Preparing to unpack .../076-python3-idna_3.10-1_all.deb ... Unpacking python3-idna (3.10-1) ... Selecting previously unselected package python3-cffi-backend:i386. Preparing to unpack .../077-python3-cffi-backend_1.17.1-2+b1_i386.deb ... Unpacking python3-cffi-backend:i386 (1.17.1-2+b1) ... Selecting previously unselected package python3-pycares. Preparing to unpack .../078-python3-pycares_4.4.0-2+b2_i386.deb ... Unpacking python3-pycares (4.4.0-2+b2) ... Selecting previously unselected package python3-aiodns. Preparing to unpack .../079-python3-aiodns_3.2.0-2_all.deb ... Unpacking python3-aiodns (3.2.0-2) ... Selecting previously unselected package python3-aiohappyeyeballs. Preparing to unpack .../080-python3-aiohappyeyeballs_2.4.6-1_all.deb ... Unpacking python3-aiohappyeyeballs (2.4.6-1) ... Selecting previously unselected package python3-multidict. Preparing to unpack .../081-python3-multidict_6.1.0-1+b1_i386.deb ... Unpacking python3-multidict (6.1.0-1+b1) ... Selecting previously unselected package python3-yarl. Preparing to unpack .../082-python3-yarl_1.13.1-1+b1_i386.deb ... Unpacking python3-yarl (1.13.1-1+b1) ... Selecting previously unselected package python3-async-timeout. Preparing to unpack .../083-python3-async-timeout_5.0.1-1_all.deb ... Unpacking python3-async-timeout (5.0.1-1) ... Selecting previously unselected package python3-frozenlist. Preparing to unpack .../084-python3-frozenlist_1.5.0-1+b1_i386.deb ... Unpacking python3-frozenlist (1.5.0-1+b1) ... Selecting previously unselected package python3-aiosignal. Preparing to unpack .../085-python3-aiosignal_1.3.2-1_all.deb ... Unpacking python3-aiosignal (1.3.2-1) ... Selecting previously unselected package python3-attr. Preparing to unpack .../086-python3-attr_25.1.0-1_all.deb ... Unpacking python3-attr (25.1.0-1) ... Selecting previously unselected package python3-aiohttp. Preparing to unpack .../087-python3-aiohttp_3.10.11-1_i386.deb ... Unpacking python3-aiohttp (3.10.11-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../088-python3.12_3.12.9-1_i386.deb ... Unpacking python3.12 (3.12.9-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../089-python3-all_3.13.1-2_i386.deb ... Unpacking python3-all (3.13.1-2) ... Selecting previously unselected package python3-async-generator. Preparing to unpack .../090-python3-async-generator_1.10-4_all.deb ... Unpacking python3-async-generator (1.10-4) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../091-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../092-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../093-python3-pytest_8.3.4-1_all.deb ... Unpacking python3-pytest (8.3.4-1) ... Selecting previously unselected package python3-pytest-asyncio. Preparing to unpack .../094-python3-pytest-asyncio_0.25.1-1_all.deb ... Unpacking python3-pytest-asyncio (0.25.1-1) ... Selecting previously unselected package python3-aresponses. Preparing to unpack .../095-python3-aresponses_3.0.0-2_all.deb ... Unpacking python3-aresponses (3.0.0-2) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../096-python3-coverage_7.6.0+dfsg1-2+b1_i386.deb ... Unpacking python3-coverage (7.6.0+dfsg1-2+b1) ... Selecting previously unselected package python3-covdefaults. Preparing to unpack .../097-python3-covdefaults_2.3.0-2_all.deb ... Unpacking python3-covdefaults (2.3.0-2) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../098-python3-dateutil_2.9.0-3_all.deb ... Unpacking python3-dateutil (2.9.0-3) ... Selecting previously unselected package python3-freezegun. Preparing to unpack .../099-python3-freezegun_1.5.1-1.2_all.deb ... Unpacking python3-freezegun (1.5.1-1.2) ... Selecting previously unselected package python3-poetry-core. Preparing to unpack .../100-python3-poetry-core_2.0.1-2_all.deb ... Unpacking python3-poetry-core (2.0.1-2) ... Selecting previously unselected package python3-pytest-cov. Preparing to unpack .../101-python3-pytest-cov_5.0.0-1_all.deb ... Unpacking python3-pytest-cov (5.0.0-1) ... Selecting previously unselected package python3-pytest-freezer. Preparing to unpack .../102-python3-pytest-freezer_0.4.9-1_all.deb ... Unpacking python3-pytest-freezer (0.4.9-1) ... Selecting previously unselected package python3-pytz. Preparing to unpack .../103-python3-pytz_2025.1-3_all.deb ... Unpacking python3-pytz (2025.1-3) ... Selecting previously unselected package python3-tz. Preparing to unpack .../104-python3-tz_2025.1-3_all.deb ... Unpacking python3-tz (2025.1-3) ... Setting up media-types (12.0.0) ... Setting up libpipeline1:i386 (1.5.8-1) ... Setting up libkeyutils1:i386 (1.6.3-4) ... Setting up libicu72:i386 (72.1-6) ... Setting up bsdextrautils (2.40.4-4) ... 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.24.1) ... Setting up libmagic1t64:i386 (1:5.45-3+b1) ... Setting up libpython3.12-minimal:i386 (3.12.9-1) ... Setting up gettext-base (0.23.1-1) ... Setting up m4 (1.4.19-5) ... Setting up libcom-err2:i386 (1.47.2-1) ... Setting up file (1:5.45-3+b1) ... Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Setting up libelf1t64:i386 (0.192-4) ... Setting up libkrb5support0:i386 (1.21.3-4) ... Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Mar 29 10:14:15 UTC 2026. Universal Time is now: Sun Mar 29 10:14:15 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up libunistring5:i386 (1.3-1) ... Setting up libcares2:i386 (1.34.4-2.1) ... Setting up autopoint (0.23.1-1) ... Setting up libk5crypto3:i386 (1.21.3-4) ... Setting up autoconf (2.72-3) ... Setting up libffi8:i386 (3.4.7-1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:i386 (0.0.8-1+b2) ... Setting up netbase (6.4) ... Setting up libkrb5-3:i386 (1.21.3-4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libjs-jquery-hotkeys (0.2.0-1) ... Setting up openssl (3.4.1-1) ... Setting up readline-common (8.2-6) ... Setting up libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up libonig5:i386 (6.9.9-1+b1) ... Setting up automake (1:1.17-3) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up python3.12-minimal (3.12.9-1) ... Setting up gettext (0.23.1-1) ... Setting up libtool (2.5.4-3) ... Setting up libjq1:i386 (1.7.1-3+b1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20241223) ... Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done. Setting up libjs-jquery-metadata (12-4) ... Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... Setting up libgssapi-krb5-2:i386 (1.21.3-4) ... Setting up libreadline8t64:i386 (8.2-6) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... Setting up groff-base (1.23.0-7) ... Setting up jq (1.7.1-3+b1) ... Setting up libpython3.13-stdlib:i386 (3.13.2-1) ... Setting up libpython3-stdlib:i386 (3.13.1-2) ... Setting up libtirpc3t64:i386 (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.2-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up python3 (3.13.1-2) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up python3-wheel (0.45.1-1) ... Setting up python3-multidict (6.1.0-1+b1) ... Setting up python3-frozenlist (1.5.0-1+b1) ... Setting up python3-aiosignal (1.3.2-1) ... Setting up python3-async-timeout (5.0.1-1) ... Setting up python3-packaging (24.2-1) ... Setting up python3-pyproject-hooks (1.2.0-1) ... Setting up python3-poetry-core (2.0.1-2) ... Setting up python3-idna (3.10-1) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-aiohappyeyeballs (2.4.6-1) ... Setting up python3-pip (25.0+dfsg-1) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-pluggy (1.5.0-1) ... Setting up libnsl2:i386 (1.3.0-3+b3) ... Setting up python3-dateutil (2.9.0-3) ... Setting up python3-build (1.2.2-1) ... Setting up python3-yarl (1.13.1-1+b1) ... Setting up python3-freezegun (1.5.1-1.2) ... Setting up python3-cffi-backend:i386 (1.17.1-2+b1) ... Setting up python3-more-itertools (10.6.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-attr (25.1.0-1) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up libpython3.12-stdlib:i386 (3.12.9-1) ... Setting up python3-async-generator (1.10-4) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-pytest (8.3.4-1) ... Setting up python3.12 (3.12.9-1) ... Setting up python3-typeguard (4.4.2-1) ... Setting up python3-aiohttp (3.10.11-1) ... Setting up python3-all (3.13.1-2) ... Setting up python3-coverage (7.6.0+dfsg1-2+b1) ... Setting up debhelper (13.24.1) ... Setting up python3-pytz (2025.1-3) ... Setting up python3-pytest-cov (5.0.0-1) ... Setting up openstack-pkg-tools (132) ... Setting up python3-tz (2025.1-3) ... Setting up python3-inflect (7.3.1-2) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-pytest-freezer (0.4.9-1) ... Setting up python3-pytest-asyncio (0.25.1-1) ... Setting up python3-pycares (4.4.0-2+b2) ... Setting up python3-pkg-resources (75.8.0-1) ... Setting up python3-setuptools (75.8.0-1) ... Setting up python3-aresponses (3.0.0-2) ... Setting up python3-covdefaults (2.3.0-2) ... Setting up python3-aiodns (3.2.0-2) ... Setting up dh-python (6.20250108) ... Setting up pybuild-plugin-pyproject (6.20250108) ... Processing triggers for libc-bin (2.40-7) ... Processing triggers for ca-certificates (20241223) ... 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 Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.37-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/python-easyenergy-2.1.2/ && 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 > ../python-easyenergy_2.1.2-1_source.changes dpkg-buildpackage: info: source package python-easyenergy dpkg-buildpackage: info: source version 2.1.2-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Thomas Goirand dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 dpkg-source: info: using options from python-easyenergy-2.1.2/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ debian/rules clean make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=pybuild --with python3 dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=pybuild --with python3 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.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/python-easyenergy-2.1.2/.pybuild/cpython3_3.12 * Building wheel... Successfully built easyenergy-0.0.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module 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/python-easyenergy-2.1.2/.pybuild/cpython3_3.13 * Building wheel... Successfully built easyenergy-0.0.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /build/reproducible-path/python-easyenergy-2.1.2/.pybuild/cpython3_3.12/build; python3.12 -m pytest -v tests /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.12 cachedir: .pytest_cache rootdir: /build/reproducible-path/python-easyenergy-2.1.2/.pybuild/cpython3_3.12/build configfile: pyproject.toml plugins: pytest_freezer-0.4.9, typeguard-4.4.2, cov-5.0.0, aresponses-3.0.0, asyncio-0.25.1 asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None collecting ... collected 16 items tests/test_easyenergy.py::test_json_request FAILED [ 6%] tests/test_easyenergy.py::test_internal_session FAILED [ 12%] tests/test_easyenergy.py::test_timeout PASSED [ 18%] tests/test_easyenergy.py::test_content_type PASSED [ 25%] tests/test_easyenergy.py::test_client_error PASSED [ 31%] tests/test_easyenergy.py::test_dns_error PASSED [ 37%] tests/test_easyenergy.py::test_empty_dns_error PASSED [ 43%] tests/test_models.py::test_electricity_model_usage FAILED [ 50%] tests/test_models.py::test_electricity_model_return FAILED [ 56%] tests/test_models.py::test_electricity_midnight FAILED [ 62%] tests/test_models.py::test_electricity_none_data FAILED [ 68%] tests/test_models.py::test_no_electricity_data FAILED [ 75%] tests/test_models.py::test_gas_model FAILED [ 81%] tests/test_models.py::test_gas_morning_model FAILED [ 87%] tests/test_models.py::test_gas_none_data FAILED [ 93%] tests/test_models.py::test_no_gas_data FAILED [100%] =================================== FAILURES =================================== ______________________________ test_json_request _______________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_json_request(aresponses: ResponsesMockServer) -> None: """Test JSON response is handled correctly.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/test", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: client = EasyEnergy(session=session) > response = await client._request("test") tests/test_easyenergy.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ____________________________ test_internal_session _____________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=None, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_internal_session(aresponses: ResponsesMockServer) -> None: """Test internal session is handled correctly.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/test", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with EasyEnergy() as client: > await client._request("test") tests/test_easyenergy.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=None, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError _________________________ test_electricity_model_usage _________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-29 15:00:00+01:00") async def test_electricity_model_usage(aresponses: ResponsesMockServer) -> None: """Test the electricity model for usage at 15:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ________________________ test_electricity_model_return _________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-29 15:00:00+01:00") async def test_electricity_model_return(aresponses: ResponsesMockServer) -> None: """Test the electricity model for return at 15:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError __________________________ test_electricity_midnight ___________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-29 00:30:00+02:00") async def test_electricity_midnight(aresponses: ResponsesMockServer) -> None: """Test the electricity model between 00:00 and 01:00 with in CEST.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, ) tests/test_models.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError __________________________ test_electricity_none_data __________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_electricity_none_data(aresponses: ResponsesMockServer) -> None: """Test when there is no data for the current datetime.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, ) tests/test_models.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ___________________________ test_no_electricity_data ___________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_no_electricity_data(aresponses: ResponsesMockServer) -> None: """Test when there is no electricity data.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text="[]", ), ) async with ClientSession() as session: today = date(2022, 12, 16) client = EasyEnergy(session=session) with pytest.raises(EasyEnergyNoDataError): > await client.energy_prices(start_date=today, end_date=today) tests/test_models.py:166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ________________________________ test_gas_model ________________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-14 15:00:00+01:00") async def test_gas_model(aresponses: ResponsesMockServer) -> None: """Test the gas model - easyEnergy at 15:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("gas.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 14) client = EasyEnergy(session=session) > gas: Gas = await client.gas_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ____________________________ test_gas_morning_model ____________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-14 04:00:00+01:00") async def test_gas_morning_model(aresponses: ResponsesMockServer) -> None: """Test the gas model in the morning - easyEnergy at 04:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("gas.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 14) client = EasyEnergy(session=session) > gas: Gas = await client.gas_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ______________________________ test_gas_none_data ______________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_gas_none_data(aresponses: ResponsesMockServer) -> None: """Test when there is no data for the current datetime.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("gas.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 14) client = EasyEnergy(session=session) > gas: Gas = await client.gas_prices(start_date=today, end_date=today) tests/test_models.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError _______________________________ test_no_gas_data _______________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_no_gas_data(aresponses: ResponsesMockServer) -> None: """Test when there is no gas data.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text="[]", ), ) async with ClientSession() as session: today = date(2022, 12, 16) client = EasyEnergy(session=session) with pytest.raises(EasyEnergyNoDataError): > await client.gas_prices(start_date=today, end_date=today) tests/test_models.py:266: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ---------- coverage: platform linux, python 3.12.9-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing ---------------------------------------------------------------------- easyenergy/easyenergy.py 82 30 20 2 57% 81-123, 202-205, 259-262, 267 easyenergy/models.py 115 53 64 0 61% 26-31, 50, 67, 89, 100, 111, 125, 139, 150, 161, 172, 183, 194, 205-206, 217-218, 229, 240, 251-252, 263-264, 274, 291-297, 312-321, 342, 353, 364, 375, 385, 399-402, 417-423 ---------------------------------------------------------------------- TOTAL 212 83 84 2 62% 3 files skipped due to complete coverage. FAIL Required test coverage of 90.0% not reached. Total coverage: 61.82% =========================== short test summary info ============================ FAILED tests/test_easyenergy.py::test_json_request - easyenergy.exceptions.Ea... FAILED tests/test_easyenergy.py::test_internal_session - easyenergy.exception... FAILED tests/test_models.py::test_electricity_model_usage - easyenergy.except... FAILED tests/test_models.py::test_electricity_model_return - easyenergy.excep... FAILED tests/test_models.py::test_electricity_midnight - easyenergy.exception... FAILED tests/test_models.py::test_electricity_none_data - easyenergy.exceptio... FAILED tests/test_models.py::test_no_electricity_data - easyenergy.exceptions... FAILED tests/test_models.py::test_gas_model - easyenergy.exceptions.EasyEnerg... FAILED tests/test_models.py::test_gas_morning_model - easyenergy.exceptions.E... FAILED tests/test_models.py::test_gas_none_data - easyenergy.exceptions.EasyE... FAILED tests/test_models.py::test_no_gas_data - easyenergy.exceptions.EasyEne... ========================= 11 failed, 5 passed in 0.64s ========================= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-easyenergy-2.1.2/.pybuild/cpython3_3.12/build; python3.12 -m pytest -v tests I: pybuild base:311: cd /build/reproducible-path/python-easyenergy-2.1.2/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v tests /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.13 cachedir: .pytest_cache rootdir: /build/reproducible-path/python-easyenergy-2.1.2/.pybuild/cpython3_3.13/build configfile: pyproject.toml plugins: pytest_freezer-0.4.9, typeguard-4.4.2, cov-5.0.0, aresponses-3.0.0, asyncio-0.25.1 asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None collecting ... collected 16 items tests/test_easyenergy.py::test_json_request FAILED [ 6%] tests/test_easyenergy.py::test_internal_session FAILED [ 12%] tests/test_easyenergy.py::test_timeout PASSED [ 18%] tests/test_easyenergy.py::test_content_type PASSED [ 25%] tests/test_easyenergy.py::test_client_error PASSED [ 31%] tests/test_easyenergy.py::test_dns_error PASSED [ 37%] tests/test_easyenergy.py::test_empty_dns_error PASSED [ 43%] tests/test_models.py::test_electricity_model_usage FAILED [ 50%] tests/test_models.py::test_electricity_model_return FAILED [ 56%] tests/test_models.py::test_electricity_midnight FAILED [ 62%] tests/test_models.py::test_electricity_none_data FAILED [ 68%] tests/test_models.py::test_no_electricity_data FAILED [ 75%] tests/test_models.py::test_gas_model FAILED [ 81%] tests/test_models.py::test_gas_morning_model FAILED [ 87%] tests/test_models.py::test_gas_none_data FAILED [ 93%] tests/test_models.py::test_no_gas_data FAILED [100%] =================================== FAILURES =================================== ______________________________ test_json_request _______________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_json_request(aresponses: ResponsesMockServer) -> None: """Test JSON response is handled correctly.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/test", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: client = EasyEnergy(session=session) > response = await client._request("test") tests/test_easyenergy.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ____________________________ test_internal_session _____________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=None, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_internal_session(aresponses: ResponsesMockServer) -> None: """Test internal session is handled correctly.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/test", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with EasyEnergy() as client: > await client._request("test") tests/test_easyenergy.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=None, _close_session=False) uri = 'test' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError _________________________ test_electricity_model_usage _________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-29 15:00:00+01:00") async def test_electricity_model_usage(aresponses: ResponsesMockServer) -> None: """Test the electricity model for usage at 15:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ________________________ test_electricity_model_return _________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-29 15:00:00+01:00") async def test_electricity_model_return(aresponses: ResponsesMockServer) -> None: """Test the electricity model for return at 15:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError __________________________ test_electricity_midnight ___________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-29 00:30:00+02:00") async def test_electricity_midnight(aresponses: ResponsesMockServer) -> None: """Test the electricity model between 00:00 and 01:00 with in CEST.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, ) tests/test_models.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError __________________________ test_electricity_none_data __________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_electricity_none_data(aresponses: ResponsesMockServer) -> None: """Test when there is no data for the current datetime.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("energy.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 29) client = EasyEnergy(session=session) > energy: Electricity = await client.energy_prices( start_date=today, end_date=today, ) tests/test_models.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ___________________________ test_no_electricity_data ___________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_no_electricity_data(aresponses: ResponsesMockServer) -> None: """Test when there is no electricity data.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getapxtariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text="[]", ), ) async with ClientSession() as session: today = date(2022, 12, 16) client = EasyEnergy(session=session) with pytest.raises(EasyEnergyNoDataError): > await client.energy_prices(start_date=today, end_date=today) tests/test_models.py:166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:250: in energy_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getapxtariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ________________________________ test_gas_model ________________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-14 15:00:00+01:00") async def test_gas_model(aresponses: ResponsesMockServer) -> None: """Test the gas model - easyEnergy at 15:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("gas.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 14) client = EasyEnergy(session=session) > gas: Gas = await client.gas_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ____________________________ test_gas_morning_model ____________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = @pytest.mark.freeze_time("2022-12-14 04:00:00+01:00") async def test_gas_morning_model(aresponses: ResponsesMockServer) -> None: """Test the gas model in the morning - easyEnergy at 04:00:00 CET.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("gas.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 14) client = EasyEnergy(session=session) > gas: Gas = await client.gas_prices( start_date=today, end_date=today, vat=VatOption.INCLUDE, ) tests/test_models.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ______________________________ test_gas_none_data ______________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_gas_none_data(aresponses: ResponsesMockServer) -> None: """Test when there is no data for the current datetime.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text=load_fixtures("gas.json"), ), ) async with ClientSession() as session: today = date(2022, 12, 14) client = EasyEnergy(session=session) > gas: Gas = await client.gas_prices(start_date=today, end_date=today) tests/test_models.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError _______________________________ test_no_gas_data _______________________________ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: > result = await dns.query(API_HOST, "A") E aiodns.error.DNSError: (11, 'Could not contact DNS servers') easyenergy/easyenergy.py:72: DNSError The above exception was the direct cause of the following exception: aresponses = async def test_no_gas_data(aresponses: ResponsesMockServer) -> None: """Test when there is no gas data.""" aresponses.add( "mijn.easyenergy.com", "/nl/api/tariff/getlebatariffs", "GET", aresponses.Response( status=200, headers={"Content-Type": "application/json"}, text="[]", ), ) async with ClientSession() as session: today = date(2022, 12, 16) client = EasyEnergy(session=session) with pytest.raises(EasyEnergyNoDataError): > await client.gas_prices(start_date=today, end_date=today) tests/test_models.py:266: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ easyenergy/easyenergy.py:193: in gas_prices data = await self._request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = EasyEnergy(vat=, request_timeout=10.0, session=, _close_session=False) uri = 'getlebatariffs' async def _request( self, uri: str, *, method: str = METH_GET, params: dict[str, Any] | None = None, ) -> Any: """Handle a request to the API of easyEnergy. Args: ---- uri: Request URI, without '/', for example, 'status' method: HTTP method to use, for example, 'GET' params: Extra options to improve or limit the response. Returns: ------- A Python dictionary (json) with the response from easyEnergy. Raises: ------ EasyEnergyConnectionError: An error occurred while communicating with the API. EasyEnergyError: Received an unexpected response from the API. """ # EasyEnergy is experiencing IPv6 connection issues. # DNS returns an AAAA record with an IPv6 address, but # there doesn't appear to be something listening at that. # Workaround is to resolve the IPv4 address and use that. dns = DNSResolver() try: result = await dns.query(API_HOST, "A") except DNSError as err: msg = "Error while resolving EasyEnergy API IPv4 address" > raise EasyEnergyConnectionError(msg) from err E easyenergy.exceptions.EasyEnergyConnectionError: Error while resolving EasyEnergy API IPv4 address easyenergy/easyenergy.py:75: EasyEnergyConnectionError ---------- coverage: platform linux, python 3.13.2-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing ---------------------------------------------------------------------- easyenergy/easyenergy.py 82 30 20 2 57% 81-123, 202-205, 259-262, 267 easyenergy/models.py 115 53 64 0 61% 26-31, 50, 67, 89, 100, 111, 125, 139, 150, 161, 172, 183, 194, 205-206, 217-218, 229, 240, 251-252, 263-264, 274, 291-297, 312-321, 342, 353, 364, 375, 385, 399-402, 417-423 ---------------------------------------------------------------------- TOTAL 212 83 84 2 62% 3 files skipped due to complete coverage. FAIL Required test coverage of 90.0% not reached. Total coverage: 61.82% =========================== short test summary info ============================ FAILED tests/test_easyenergy.py::test_json_request - easyenergy.exceptions.Ea... FAILED tests/test_easyenergy.py::test_internal_session - easyenergy.exception... FAILED tests/test_models.py::test_electricity_model_usage - easyenergy.except... FAILED tests/test_models.py::test_electricity_model_return - easyenergy.excep... FAILED tests/test_models.py::test_electricity_midnight - easyenergy.exception... FAILED tests/test_models.py::test_electricity_none_data - easyenergy.exceptio... FAILED tests/test_models.py::test_no_electricity_data - easyenergy.exceptions... FAILED tests/test_models.py::test_gas_model - easyenergy.exceptions.EasyEnerg... FAILED tests/test_models.py::test_gas_morning_model - easyenergy.exceptions.E... FAILED tests/test_models.py::test_gas_none_data - easyenergy.exceptions.EasyE... FAILED tests/test_models.py::test_no_gas_data - easyenergy.exceptions.EasyEne... ========================= 11 failed, 5 passed in 0.62s ========================= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-easyenergy-2.1.2/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13 make: *** [debian/rules:9: 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/113984 and its subdirectories