Source: py-macaroon-bakery Version: 1.3.1-5 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:310: python3.12 setup.py config > running config > I: pybuild base:310: python3.11 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:310: /usr/bin/python3.12 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery > copying macaroonbakery/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_interactor.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_keyring.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_error.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_discharge.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_browser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_client.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_bakery.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_client.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_codec.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_checker.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/common.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_namespace.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_httpbakery.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_checkers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_authorizer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_keyring.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_oven.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_discharge.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_discharge_all.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_macaroon.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_agent.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_store.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_auth_context.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_namespace.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_operation.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_conditions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_checkers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_caveat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_declared.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_oven.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_authorizer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_error.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_bakery.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_third_party.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_discharge.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_macaroon.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_keys.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_identity.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_checker.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_versions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_codec.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_store.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/_utils > copying macaroonbakery/_utils/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/_utils > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery/agent > copying macaroonbakery/httpbakery/agent/_agent.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery/agent > copying macaroonbakery/httpbakery/agent/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/httpbakery/agent > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery/_internal > copying macaroonbakery/bakery/_internal/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery/_internal > copying macaroonbakery/bakery/_internal/id_pb2.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery/_internal > running egg_info > creating macaroonbakery.egg-info > writing macaroonbakery.egg-info/PKG-INFO > writing dependency_links to macaroonbakery.egg-info/dependency_links.txt > writing requirements to macaroonbakery.egg-info/requires.txt > writing top-level names to macaroonbakery.egg-info/top_level.txt > writing manifest file 'macaroonbakery.egg-info/SOURCES.txt' > reading manifest file 'macaroonbakery.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '__pycache__' found under > directory '*' > warning: no previously-included files matching '*.py[co]' found under > directory '*' > adding license file 'LICENSE' > adding license file 'AUTHORS.rst' > writing manifest file 'macaroonbakery.egg-info/SOURCES.txt' > I: pybuild base:310: /usr/bin/python3 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery > copying macaroonbakery/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_interactor.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_keyring.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_error.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_discharge.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_browser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > copying macaroonbakery/httpbakery/_client.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_bakery.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_client.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_codec.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_checker.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/common.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_namespace.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_httpbakery.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_checkers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_authorizer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_keyring.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_oven.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_discharge.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_discharge_all.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_macaroon.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_agent.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > copying macaroonbakery/tests/test_store.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_auth_context.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_namespace.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_operation.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_conditions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_checkers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_caveat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > copying macaroonbakery/checkers/_declared.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/checkers > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_oven.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_authorizer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_error.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_bakery.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_third_party.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_discharge.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_macaroon.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_keys.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_identity.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_checker.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_versions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_codec.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > copying macaroonbakery/bakery/_store.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/_utils > copying macaroonbakery/_utils/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/_utils > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery/agent > copying macaroonbakery/httpbakery/agent/_agent.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery/agent > copying macaroonbakery/httpbakery/agent/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/httpbakery/agent > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery/_internal > copying macaroonbakery/bakery/_internal/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery/_internal > copying macaroonbakery/bakery/_internal/id_pb2.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery/_internal > running egg_info > writing macaroonbakery.egg-info/PKG-INFO > writing dependency_links to macaroonbakery.egg-info/dependency_links.txt > writing requirements to macaroonbakery.egg-info/requires.txt > writing top-level names to macaroonbakery.egg-info/top_level.txt > reading manifest file 'macaroonbakery.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '__pycache__' found under > directory '*' > warning: no previously-included files matching '*.py[co]' found under > directory '*' > adding license file 'LICENSE' > adding license file 'AUTHORS.rst' > writing manifest file 'macaroonbakery.egg-info/SOURCES.txt' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build; python3.12 -m > pytest > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 126 items > > macaroonbakery/tests/test_agent.py ....... [ > 5%] > macaroonbakery/tests/test_authorizer.py ... [ > 7%] > macaroonbakery/tests/test_bakery.py ....... [ > 13%] > macaroonbakery/tests/test_checker.py ..................... [ > 30%] > macaroonbakery/tests/test_checkers.py .......... [ > 38%] > macaroonbakery/tests/test_client.py F.F.F.FFFFF.. [ > 48%] > macaroonbakery/tests/test_codec.py F.F.FFFF [ > 54%] > macaroonbakery/tests/test_discharge.py ........... [ > 63%] > macaroonbakery/tests/test_discharge_all.py ..... [ > 67%] > macaroonbakery/tests/test_httpbakery.py ... [ > 69%] > macaroonbakery/tests/test_keyring.py ..... [ > 73%] > macaroonbakery/tests/test_macaroon.py F........F [ > 81%] > macaroonbakery/tests/test_namespace.py F..F [ > 84%] > macaroonbakery/tests/test_oven.py FFFFFF [ > 89%] > macaroonbakery/tests/test_store.py . [ > 90%] > macaroonbakery/tests/test_time.py ... [ > 92%] > macaroonbakery/tests/test_utils.py ......... > [100%] > > =================================== FAILURES > =================================== > _________________ TestClient.test_cookie_domain_host_not_fqdn > __________________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_cookie_domain_host_not_fqdn> > > def test_cookie_domain_host_not_fqdn(self): > # See > # https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/53 > > b = new_bakery('loc', None, None) > > def handler(*args): > GetHandler(b, None, None, None, None, AGES, *args) > try: > httpd = HTTPServer(('', 0), handler) > thread = threading.Thread(target=httpd.serve_forever) > thread.start() > srv_macaroon = b.oven.macaroon( > version=bakery.LATEST_VERSION, expiry=AGES, > caveats=None, ops=[TEST_OP]) > > self.assertEquals(srv_macaroon.macaroon.location, 'loc') > E AttributeError: 'TestClient' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:223: AttributeError > _____________________ TestClient.test_expiry_cookie_is_set > _____________________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_expiry_cookie_is_set> > > def test_expiry_cookie_is_set(self): > class _DischargerLocator(bakery.ThirdPartyLocator): > def __init__(self): > self.key = bakery.generate_key() > > def third_party_info(self, loc): > if loc == 'http://1.2.3.4': > return bakery.ThirdPartyInfo( > public_key=self.key.public_key, > version=bakery.LATEST_VERSION, > ) > > d = _DischargerLocator() > b = new_bakery('loc', d, None) > > @urlmatch(path='.*/discharge') > def discharge(url, request): > qs = parse_qs(request.body) > content = {q: qs[q][0] for q in qs} > m = httpbakery.discharge(checkers.AuthContext(), content, d.key, > d, > alwaysOK3rd) > return { > 'status_code': 200, > 'content': { > 'Macaroon': m.to_dict() > } > } > > ages = datetime.datetime.utcnow() + datetime.timedelta(days=1) > > def handler(*args): > GetHandler(b, 'http://1.2.3.4', None, None, None, ages, *args) > try: > httpd = HTTPServer(('', 0), handler) > thread = threading.Thread(target=httpd.serve_forever) > thread.start() > client = httpbakery.Client() > with HTTMock(discharge): > resp = requests.get( > url='http://' + httpd.server_address[0] + ':' + > str(httpd.server_address[1]), > cookies=client.cookies, > auth=client.auth()) > resp.raise_for_status() > m = bakery.Macaroon.from_dict(json.loads( > > base64.b64decode(client.cookies.get('macaroon-test')).decode('utf-8'))[0]) > t = checkers.macaroons_expiry_time( > checkers.Namespace(), [m.macaroon]) > > self.assertEquals(ages, t) > E AttributeError: 'TestClient' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:318: AttributeError > ----------------------------- Captured stderr call > ----------------------------- > 127.0.0.1 - - [11/Dec/2023 22:04:19] "GET / HTTP/1.1" 401 - > 127.0.0.1 - - [11/Dec/2023 22:04:19] "GET / HTTP/1.1" 200 - > ________________ TestClient.test_extract_macaroons_from_request > ________________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_extract_macaroons_from_request> > > def test_extract_macaroons_from_request(self): > def encode_macaroon(m): > macaroons = '[' + utils.macaroon_to_json_string(m) + ']' > return > base64.urlsafe_b64encode(utils.to_bytes(macaroons)).decode('ascii') > > req = Request('http://example.com') > m1 = pymacaroons.Macaroon(version=pymacaroons.MACAROON_V2, > identifier='one') > req.add_header('Macaroons', encode_macaroon(m1)) > m2 = pymacaroons.Macaroon(version=pymacaroons.MACAROON_V2, > identifier='two') > jar = requests.cookies.RequestsCookieJar() > jar.set_cookie(utils.cookie( > name='macaroon-auth', > value=encode_macaroon(m2), > url='http://example.com', > )) > jar.set_cookie(utils.cookie( > name='macaroon-empty', > value='', > url='http://example.com', > )) > jar.add_cookie_header(req) > > macaroons = httpbakery.extract_macaroons(req) > > self.assertEquals(len(macaroons), 2) > E AttributeError: 'TestClient' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:542: AttributeError > ___________________ TestClient.test_single_party_with_header > ___________________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_single_party_with_header> > > def test_single_party_with_header(self): > b = new_bakery('loc', None, None) > > def handler(*args): > GetHandler(b, None, None, None, None, AGES, *args) > try: > httpd = HTTPServer(('', 0), handler) > thread = threading.Thread(target=httpd.serve_forever) > thread.start() > srv_macaroon = b.oven.macaroon( > version=bakery.LATEST_VERSION, > expiry=AGES, caveats=None, ops=[TEST_OP]) > > self.assertEquals(srv_macaroon.macaroon.location, 'loc') > E AttributeError: 'TestClient' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:255: AttributeError > __________________ TestClient.test_single_service_first_party > __________________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_single_service_first_party> > > def test_single_service_first_party(self): > b = new_bakery('loc', None, None) > > def handler(*args): > GetHandler(b, None, None, None, None, AGES, *args) > try: > httpd = HTTPServer(('', 0), handler) > thread = threading.Thread(target=httpd.serve_forever) > thread.start() > srv_macaroon = b.oven.macaroon( > version=bakery.LATEST_VERSION, expiry=AGES, > caveats=None, ops=[TEST_OP]) > > self.assertEquals(srv_macaroon.macaroon.location, 'loc') > E AttributeError: 'TestClient' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:52: AttributeError > __________________ TestClient.test_single_service_third_party > __________________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_single_service_third_party> > > def test_single_service_third_party(self): > class _DischargerLocator(bakery.ThirdPartyLocator): > def __init__(self): > self.key = bakery.generate_key() > > def third_party_info(self, loc): > if loc == 'http://1.2.3.4': > return bakery.ThirdPartyInfo( > public_key=self.key.public_key, > version=bakery.LATEST_VERSION, > ) > > d = _DischargerLocator() > b = new_bakery('loc', d, None) > > @urlmatch(path='.*/discharge') > def discharge(url, request): > self.assertEqual(url.path, '/discharge') > qs = parse_qs(request.body) > content = {q: qs[q][0] for q in qs} > m = httpbakery.discharge(checkers.AuthContext(), content, d.key, > d, > alwaysOK3rd) > return { > 'status_code': 200, > 'content': { > 'Macaroon': m.to_dict() > } > } > > def handler(*args): > GetHandler(b, 'http://1.2.3.4', None, None, None, AGES, *args) > try: > httpd = HTTPServer(('', 0), handler) > server_url = 'http://' + httpd.server_address[0] + ':' + > str(httpd.server_address[1]) > thread = threading.Thread(target=httpd.serve_forever) > thread.start() > client = httpbakery.Client() > with HTTMock(discharge): > resp = requests.get( > url=server_url, > cookies=client.cookies, > auth=client.auth()) > resp.raise_for_status() > > self.assertEquals(resp.text, 'done') > E AttributeError: 'TestClient' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:111: AttributeError > ----------------------------- Captured stderr call > ----------------------------- > 127.0.0.1 - - [11/Dec/2023 22:04:21] "GET / HTTP/1.1" 401 - > 127.0.0.1 - - [11/Dec/2023 22:04:21] "GET / HTTP/1.1" 200 - > _________ TestClient.test_single_service_third_party_version_1_caveat > __________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_single_service_third_party_version_1_caveat> > > def test_single_service_third_party_version_1_caveat(self): > class _DischargerLocator(bakery.ThirdPartyLocator): > def __init__(self): > self.key = bakery.generate_key() > > def third_party_info(self, loc): > if loc == 'http://1.2.3.4': > return bakery.ThirdPartyInfo( > public_key=self.key.public_key, > version=bakery.VERSION_1, > ) > > d = _DischargerLocator() > b = new_bakery('loc', d, None) > > @urlmatch(path='.*/discharge') > def discharge(url, request): > qs = parse_qs(request.body) > content = {q: qs[q][0] for q in qs} > m = httpbakery.discharge(checkers.AuthContext(), content, d.key, > d, > alwaysOK3rd) > return { > 'status_code': 200, > 'content': { > 'Macaroon': m.to_dict() > } > } > > def handler(*args): > GetHandler(b, 'http://1.2.3.4', None, None, None, AGES, *args) > try: > httpd = HTTPServer(('', 0), handler) > server_url = 'http://' + httpd.server_address[0] + ':' + > str(httpd.server_address[1]) > thread = threading.Thread(target=httpd.serve_forever) > thread.start() > client = httpbakery.Client() > with HTTMock(discharge): > resp = requests.get( > url=server_url, > cookies=client.cookies, > auth=client.auth()) > resp.raise_for_status() > > self.assertEquals(resp.text, 'done') > E AttributeError: 'TestClient' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:204: AttributeError > ----------------------------- Captured stderr call > ----------------------------- > 127.0.0.1 - - [11/Dec/2023 22:04:22] "GET / HTTP/1.1" 401 - > 127.0.0.1 - - [11/Dec/2023 22:04:22] "GET / HTTP/1.1" 200 - > _____________ TestClient.test_single_service_third_party_with_path > _____________ > > self = <macaroonbakery.tests.test_client.TestClient > testMethod=test_single_service_third_party_with_path> > > def test_single_service_third_party_with_path(self): > class _DischargerLocator(bakery.ThirdPartyLocator): > def __init__(self): > self.key = bakery.generate_key() > > def third_party_info(self, loc): > if loc == 'http://1.2.3.4/some/path': > return bakery.ThirdPartyInfo( > public_key=self.key.public_key, > version=bakery.LATEST_VERSION, > ) > > d = _DischargerLocator() > b = new_bakery('loc', d, None) > > @urlmatch(path='.*/discharge') > def discharge(url, request): > self.assertEqual(url.path, '/some/path/discharge') > qs = parse_qs(request.body) > content = {q: qs[q][0] for q in qs} > m = httpbakery.discharge(checkers.AuthContext(), content, d.key, > d, > alwaysOK3rd) > return { > 'status_code': 200, > 'content': { > 'Macaroon': m.to_dict() > } > } > > def handler(*args): > GetHandler(b, 'http://1.2.3.4/some/path', None, None, None, AGES, > *args) > try: > httpd = HTTPServer(('', 0), handler) > server_url = 'http://' + httpd.server_address[0] + ':' + > str(httpd.server_address[1]) > thread = threading.Thread(target=httpd.serve_forever) > thread.start() > client = httpbakery.Client() > with HTTMock(discharge): > resp = requests.get( > url=server_url, > cookies=client.cookies, > auth=client.auth()) > resp.raise_for_status() > > self.assertEquals(resp.text, 'done') > E AttributeError: 'TestClient' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_client.py:158: AttributeError > ----------------------------- Captured stderr call > ----------------------------- > 127.0.0.1 - - [11/Dec/2023 22:04:22] "GET / HTTP/1.1" 401 - > 127.0.0.1 - - [11/Dec/2023 22:04:22] "GET / HTTP/1.1" 200 - > ___________________ TestCodec.test_decode_caveat_v1_from_go > ____________________ > > self = <macaroonbakery.tests.test_codec.TestCodec > testMethod=test_decode_caveat_v1_from_go> > > def test_decode_caveat_v1_from_go(self): > tp_key = bakery.PrivateKey( > nacl.public.PrivateKey(base64.b64decode( > 'TSpvLpQkRj+T3JXnsW2n43n5zP/0X4zn0RvDiWC3IJ0='))) > fp_key = bakery.PrivateKey( > nacl.public.PrivateKey(base64.b64decode( > 'KXpsoJ9ujZYi/O2Cca6kaWh65MSawzy79LWkrjOfzcs='))) > root_key = base64.b64decode('vDxEmWZEkgiNEFlJ+8ruXe3qDSLf1H+o') > # This caveat has been generated from the go code > # to check the compatibilty > > encrypted_cav = six.b( > 'eyJUaGlyZFBhcnR5UHVibGljS2V5IjoiOFA3R1ZZc3BlWlN4c' > '3hFdmJsSVFFSTFqdTBTSWl0WlIrRFdhWE40cmxocz0iLCJGaX' > 'JzdFBhcnR5UHVibGljS2V5IjoiSDlqSFJqSUxidXppa1VKd2o' > '5VGtDWk9qeW5oVmtTdHVsaUFRT2d6Y0NoZz0iLCJOb25jZSI6' > 'Ii9lWTRTTWR6TGFxbDlsRFc3bHUyZTZuSzJnVG9veVl0IiwiS' > 'WQiOiJra0ZuOGJEaEt4RUxtUjd0NkJxTU0vdHhMMFVqaEZjR1' > 'BORldUUExGdjVla1dWUjA4Uk1sbGJhc3c4VGdFbkhzM0laeVo' > '0V2lEOHhRUWdjU3ljOHY4eUt4dEhxejVEczJOYmh1ZDJhUFdt' > 'UTVMcVlNWitmZ2FNaTAxdE9DIn0=') > cav = bakery.decode_caveat(tp_key, encrypted_cav) > > self.assertEquals(cav, bakery.ThirdPartyCaveatInfo( > condition='caveat condition', > first_party_public_key=fp_key.public_key, > third_party_key_pair=tp_key, > root_key=root_key, > caveat=encrypted_cav, > version=bakery.VERSION_1, > id=None, > namespace=bakery.legacy_namespace() > )) > E AttributeError: 'TestCodec' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_codec.py:113: AttributeError > ___________________ TestCodec.test_decode_caveat_v3_from_go > ____________________ > > self = <macaroonbakery.tests.test_codec.TestCodec > testMethod=test_decode_caveat_v3_from_go> > > def test_decode_caveat_v3_from_go(self): > tp_key = bakery.PrivateKey( > nacl.public.PrivateKey(base64.b64decode( > 'TSpvLpQkRj+T3JXnsW2n43n5zP/0X4zn0RvDiWC3IJ0='))) > fp_key = bakery.PrivateKey(nacl.public.PrivateKey( > base64.b64decode( > 'KXpsoJ9ujZYi/O2Cca6kaWh65MSawzy79LWkrjOfzcs='))) > root_key = base64.b64decode(b'oqOXI3/Mz/pKjCuFOt2eYxb7ndLq66GY') > # This caveat has been generated from the go code > # to check the compatibilty > encrypted_cav = bakery.b64decode( > 'A_D-xlUf2MdGMgtu7OKRQnCP1OQJk6PKeFWRK26WIBA6DNwKGNLeFSkD2M-8A' > 'EYvmgVH95GWu7T7caKxKhhOQFcEKgnXKJvYXxz1zin4cZc4Q6C7gVqA-J4_j3' > '1LX4VKxymqG62UGPo78wOv0_fKjr3OI6PPJOYOQgBMclemlRF2', > ) > cav = bakery.decode_caveat(tp_key, encrypted_cav) > > self.assertEquals(cav, bakery.ThirdPartyCaveatInfo( > condition='third party condition', > first_party_public_key=fp_key.public_key, > third_party_key_pair=tp_key, > root_key=root_key, > caveat=encrypted_cav, > version=bakery.VERSION_3, > id=None, > namespace=bakery.legacy_namespace() > )) > E AttributeError: 'TestCodec' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_codec.py:167: AttributeError > _____________________ TestCodec.test_encode_decode_varint > ______________________ > > self = <macaroonbakery.tests.test_codec.TestCodec > testMethod=test_encode_decode_varint> > > def test_encode_decode_varint(self): > tests = [ > (12, [12]), > (127, [127]), > (128, [128, 1]), > (129, [129, 1]), > (1234567, [135, 173, 75]), > (12131231231312, [208, 218, 233, 173, 136, 225, 2]) > ] > for test in tests: > data = bytearray() > expected = bytearray() > bakery.encode_uvarint(test[0], data) > for v in test[1]: > expected.append(v) > > self.assertEquals(data, expected) > E AttributeError: 'TestCodec' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_codec.py:193: AttributeError > _________________________ TestCodec.test_v1_round_trip > _________________________ > > self = <macaroonbakery.tests.test_codec.TestCodec > testMethod=test_v1_round_trip> > > def test_v1_round_trip(self): > tp_info = bakery.ThirdPartyInfo( > version=bakery.VERSION_1, > public_key=self.tp_key.public_key) > cid = bakery.encode_caveat( > 'is-authenticated-user', > b'a random string', > tp_info, > self.fp_key, > None) > res = bakery.decode_caveat(self.tp_key, cid) > > self.assertEquals(res, bakery.ThirdPartyCaveatInfo( > first_party_public_key=self.fp_key.public_key, > root_key=b'a random string', > condition='is-authenticated-user', > caveat=cid, > third_party_key_pair=self.tp_key, > version=bakery.VERSION_1, > id=None, > namespace=bakery.legacy_namespace() > )) > E AttributeError: 'TestCodec' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_codec.py:29: AttributeError > _________________________ TestCodec.test_v2_round_trip > _________________________ > > self = <macaroonbakery.tests.test_codec.TestCodec > testMethod=test_v2_round_trip> > > def test_v2_round_trip(self): > tp_info = bakery.ThirdPartyInfo( > version=bakery.VERSION_2, > public_key=self.tp_key.public_key) > cid = bakery.encode_caveat( > 'is-authenticated-user', > b'a random string', > tp_info, > self.fp_key, > None) > res = bakery.decode_caveat(self.tp_key, cid) > > self.assertEquals(res, bakery.ThirdPartyCaveatInfo( > first_party_public_key=self.fp_key.public_key, > root_key=b'a random string', > condition='is-authenticated-user', > caveat=cid, > third_party_key_pair=self.tp_key, > version=bakery.VERSION_2, > id=None, > namespace=bakery.legacy_namespace() > )) > E AttributeError: 'TestCodec' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_codec.py:51: AttributeError > _________________________ TestCodec.test_v3_round_trip > _________________________ > > self = <macaroonbakery.tests.test_codec.TestCodec > testMethod=test_v3_round_trip> > > def test_v3_round_trip(self): > tp_info = bakery.ThirdPartyInfo( > version=bakery.VERSION_3, > public_key=self.tp_key.public_key) > ns = checkers.Namespace() > ns.register('testns', 'x') > cid = bakery.encode_caveat( > 'is-authenticated-user', > b'a random string', > tp_info, > self.fp_key, > ns) > res = bakery.decode_caveat(self.tp_key, cid) > > self.assertEquals(res, bakery.ThirdPartyCaveatInfo( > first_party_public_key=self.fp_key.public_key, > root_key=b'a random string', > condition='is-authenticated-user', > caveat=cid, > third_party_key_pair=self.tp_key, > version=bakery.VERSION_3, > id=None, > namespace=ns > )) > E AttributeError: 'TestCodec' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_codec.py:75: AttributeError > ___________________ TestMacaroon.test_add_first_party_caveat > ___________________ > > self = <macaroonbakery.tests.test_macaroon.TestMacaroon > testMethod=test_add_first_party_caveat> > > def test_add_first_party_caveat(self): > m = bakery.Macaroon('rootkey', 'some id', 'here', > bakery.LATEST_VERSION) > m.add_caveat(checkers.Caveat('test_condition')) > caveats = m.first_party_caveats() > > self.assertEquals(len(caveats), 1) > E AttributeError: 'TestMacaroon' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_macaroon.py:31: AttributeError > ________________________ TestMacaroon.test_new_macaroon > ________________________ > > self = <macaroonbakery.tests.test_macaroon.TestMacaroon > testMethod=test_new_macaroon> > > def test_new_macaroon(self): > m = bakery.Macaroon( > b'rootkey', > b'some id', > 'here', > bakery.LATEST_VERSION) > self.assertIsNotNone(m) > > self.assertEquals(m._macaroon.identifier, b'some id') > E AttributeError: 'TestMacaroon' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_macaroon.py:22: AttributeError > _________________________ TestNamespace.test_register > __________________________ > > self = <macaroonbakery.tests.test_namespace.TestNamespace > testMethod=test_register> > > def test_register(self): > ns = checkers.Namespace(None) > ns.register('testns', 't') > prefix = ns.resolve('testns') > > self.assertEquals(prefix, 't') > E AttributeError: 'TestNamespace' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_namespace.py:40: AttributeError > _________________________ TestNamespace.test_serialize > _________________________ > > self = <macaroonbakery.tests.test_namespace.TestNamespace > testMethod=test_serialize> > > def test_serialize(self): > tests = [ > ('empty namespace', None, b''), > ('standard namespace', {'std': ''}, b'std:'), > ('several elements', { > 'std': '', > 'http://blah.blah': 'blah', > 'one': 'two', > 'foo.com/x.v0.1': 'z', > }, b'foo.com/x.v0.1:z http://blah.blah:blah one:two std:'), > ('sort by URI not by field', { > 'a': 'one', > 'a1': 'two', > }, b'a:one a1:two') > ] > for test in tests: > ns = checkers.Namespace(test[1]) > data = ns.serialize_text() > > self.assertEquals(data, test[2]) > E AttributeError: 'TestNamespace' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_namespace.py:27: AttributeError > _________________________ TestOven.test_canonical_ops > __________________________ > > self = <macaroonbakery.tests.test_oven.TestOven testMethod=test_canonical_ops> > > def test_canonical_ops(self): > canonical_ops_tests = ( > ('empty array', [], []), > ('one element', [bakery.Op('a', 'a')], > [bakery.Op('a', 'a')]), > ('all in order', > [bakery.Op('a', 'a'), bakery.Op('a', 'b'), > bakery.Op('c', 'c')], > [bakery.Op('a', 'a'), bakery.Op('a', 'b'), > bakery.Op('c', 'c')]), > ('out of order', > [bakery.Op('c', 'c'), bakery.Op('a', 'b'), > bakery.Op('a', 'a')], > [bakery.Op('a', 'a'), bakery.Op('a', 'b'), > bakery.Op('c', 'c')]), > ('with duplicates', > [bakery.Op('c', 'c'), bakery.Op('a', 'b'), > bakery.Op('a', 'a'), bakery.Op('c', 'a'), > bakery.Op('c', 'b'), bakery.Op('c', 'c'), > bakery.Op('a', 'a')], > [bakery.Op('a', 'a'), bakery.Op('a', 'b'), > bakery.Op('c', 'a'), bakery.Op('c', 'b'), > bakery.Op('c', 'c')]), > ('make sure we\'ve got the fields right', > [bakery.Op(entity='read', action='two'), > bakery.Op(entity='read', action='one'), > bakery.Op(entity='write', action='one')], > [bakery.Op(entity='read', action='one'), > bakery.Op(entity='read', action='two'), > bakery.Op(entity='write', action='one')]) > ) > for about, ops, expected in canonical_ops_tests: > new_ops = copy.copy(ops) > canonical_ops = bakery.canonical_ops(new_ops) > > self.assertEquals(canonical_ops, expected) > E AttributeError: 'TestOven' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_oven.py:48: AttributeError > ____________ TestOven.test_huge_number_of_ops_gives_small_macaroon > _____________ > > self = <macaroonbakery.tests.test_oven.TestOven > testMethod=test_huge_number_of_ops_gives_small_macaroon> > > def test_huge_number_of_ops_gives_small_macaroon(self): > test_oven = bakery.Oven( > ops_store=bakery.MemoryOpsStore()) > ops = [] > for i in range(30000): > ops.append(bakery.Op(entity='entity' + str(i), > action='action' + str(i))) > > m = test_oven.macaroon(bakery.LATEST_VERSION, AGES, > None, ops) > got_ops, conds = test_oven.macaroon_ops([m.macaroon]) > > self.assertEquals(len(conds), 1) # time-before caveat. > E AttributeError: 'TestOven' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_oven.py:96: AttributeError > __________________________ TestOven.test_multiple_ops > __________________________ > > self = <macaroonbakery.tests.test_oven.TestOven testMethod=test_multiple_ops> > > def test_multiple_ops(self): > test_oven = bakery.Oven( > ops_store=bakery.MemoryOpsStore()) > ops = [bakery.Op('one', 'read'), > bakery.Op('one', 'write'), > bakery.Op('two', 'read')] > m = test_oven.macaroon(bakery.LATEST_VERSION, AGES, > None, ops) > got_ops, conds = test_oven.macaroon_ops([m.macaroon]) > > self.assertEquals(len(conds), 1) # time-before caveat. > E AttributeError: 'TestOven' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_oven.py:61: AttributeError > _______________________ TestOven.test_multiple_ops_in_id > _______________________ > > self = <macaroonbakery.tests.test_oven.TestOven > testMethod=test_multiple_ops_in_id> > > def test_multiple_ops_in_id(self): > test_oven = bakery.Oven() > ops = [bakery.Op('one', 'read'), > bakery.Op('one', 'write'), > bakery.Op('two', 'read')] > m = test_oven.macaroon(bakery.LATEST_VERSION, AGES, > None, ops) > got_ops, conds = test_oven.macaroon_ops([m.macaroon]) > > self.assertEquals(len(conds), 1) # time-before caveat. > E AttributeError: 'TestOven' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_oven.py:72: AttributeError > ________________ TestOven.test_multiple_ops_in_id_with_version1 > ________________ > > self = <macaroonbakery.tests.test_oven.TestOven > testMethod=test_multiple_ops_in_id_with_version1> > > def test_multiple_ops_in_id_with_version1(self): > test_oven = bakery.Oven() > ops = [bakery.Op('one', 'read'), > bakery.Op('one', 'write'), > bakery.Op('two', 'read')] > m = test_oven.macaroon(bakery.VERSION_1, AGES, None, ops) > got_ops, conds = test_oven.macaroon_ops([m.macaroon]) > > self.assertEquals(len(conds), 1) # time-before caveat. > E AttributeError: 'TestOven' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_oven.py:82: AttributeError > ______________________ TestOven.test_ops_stored_only_once > ______________________ > > self = <macaroonbakery.tests.test_oven.TestOven > testMethod=test_ops_stored_only_once> > > def test_ops_stored_only_once(self): > st = bakery.MemoryOpsStore() > test_oven = bakery.Oven(ops_store=st) > > ops = [bakery.Op('one', 'read'), > bakery.Op('one', 'write'), > bakery.Op('two', 'read')] > > m = test_oven.macaroon(bakery.LATEST_VERSION, AGES, > None, ops) > got_ops, conds = test_oven.macaroon_ops([m.macaroon]) > > self.assertEquals(bakery.canonical_ops(got_ops), > bakery.canonical_ops(ops)) > E AttributeError: 'TestOven' object has no attribute 'assertEquals'. > Did you mean: 'assertEqual'? > > macaroonbakery/tests/test_oven.py:114: AttributeError > =============================== warnings summary > =============================== > <frozen importlib._bootstrap>:488 > <frozen importlib._bootstrap>:488: DeprecationWarning: Type > google.protobuf.pyext._message.ScalarMapContainer uses PyType_Spec with a > metaclass that has custom tp_new. This is deprecated and will no longer be > allowed in Python 3.14. > > <frozen importlib._bootstrap>:488 > <frozen importlib._bootstrap>:488: DeprecationWarning: Type > google.protobuf.pyext._message.MessageMapContainer uses PyType_Spec with a > metaclass that has custom tp_new. This is deprecated and will no longer be > allowed in Python 3.14. > > ../../../../../../usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91 > > /usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91: > DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and > scheduled for removal in a future version. Use timezone-aware objects to > represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, > datetime.UTC). > _EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0) > > macaroonbakery/tests/test_client.py:28 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py:28: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > AGES = datetime.datetime.utcnow() + datetime.timedelta(days=1) > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_legacy > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py:207: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > expiry=datetime.utcnow() + timedelta(days=1), > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_legacy > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py:294: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > expiry=datetime.utcnow() + timedelta(days=1), > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_legacy > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_login > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_checkers.py::TestCheckers::test_checkers > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_checkers.py::TestCheckers::test_checkers > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_is_set > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party_version_1_caveat > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party_with_path > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/checkers/_checkers.py:168: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > now = datetime.utcnow() > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_login > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py:102: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > expiry=datetime.utcnow() + timedelta(days=1), > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_login > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_agent.py:152: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > expiry=datetime.utcnow() + timedelta(days=1), > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_checker.py::test_checker > /usr/lib/python3/dist-packages/_pytest/python.py:198: > PytestReturnNotNoneWarning: Expected None, but > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_checker.py::test_checker > returned <macaroonbakery.checkers._checkers.Checker object at > 0x7fc466fb5f10>, which will be an error in a future version of pytest. Did > you mean to use `assert` instead of `return`? > warnings.warn( > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_checkers.py::TestCheckers::test_checkers > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_checkers.py:38: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > datetime.utcnow() + > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_is_set > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py:298: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > ages = datetime.datetime.utcnow() + datetime.timedelta(days=1) > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_set_in_past > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_client.py:351: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > ages = datetime.datetime.utcnow() - datetime.timedelta(days=1) > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_discharge.py::TestDischarge::test_discharge_macaroon_cannot_be_used_as_normal_macaroon > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/bakery/_oven.py:238: > RuntimeWarning: Unexpected end-group tag: Not all data was converted > id1 = id_pb2.MacaroonId.FromString(id[1:]) > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_utils.py::CookieTest::test_cookie_expires_naive > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_utils.py:19: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > timestamp = datetime.utcnow() > > .pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_utils.py::CookieTest::test_cookie_expires_with_timezone > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build/macaroonbakery/tests/test_utils.py:26: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > timestamp = datetime.utcnow().replace(tzinfo=tzinfo()) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_cookie_domain_host_not_fqdn > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_is_set > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_extract_macaroons_from_request > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_single_party_with_header > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_single_service_first_party > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party_version_1_caveat > FAILED > macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party_with_path > FAILED > macaroonbakery/tests/test_codec.py::TestCodec::test_decode_caveat_v1_from_go > FAILED > macaroonbakery/tests/test_codec.py::TestCodec::test_decode_caveat_v3_from_go > FAILED > macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > FAILED macaroonbakery/tests/test_codec.py::TestCodec::test_v1_round_trip - > At... > FAILED macaroonbakery/tests/test_codec.py::TestCodec::test_v2_round_trip - > At... > FAILED macaroonbakery/tests/test_codec.py::TestCodec::test_v3_round_trip - > At... > FAILED > macaroonbakery/tests/test_macaroon.py::TestMacaroon::test_add_first_party_caveat > FAILED macaroonbakery/tests/test_macaroon.py::TestMacaroon::test_new_macaroon > FAILED macaroonbakery/tests/test_namespace.py::TestNamespace::test_register > FAILED macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > FAILED macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops - > Attr... > FAILED > macaroonbakery/tests/test_oven.py::TestOven::test_huge_number_of_ops_gives_small_macaroon > FAILED macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops - > Attri... > FAILED macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops_in_id > FAILED > macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops_in_id_with_version1 > FAILED macaroonbakery/tests/test_oven.py::TestOven::test_ops_stored_only_once > ================= 24 failed, 102 passed, 23 warnings in 6.19s > ================== > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_macaroonbakery/build; python3.12 -m > pytest > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build; python3.11 -m > pytest > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 126 items > > macaroonbakery/tests/test_agent.py ....... [ > 5%] > macaroonbakery/tests/test_authorizer.py ... [ > 7%] > macaroonbakery/tests/test_bakery.py ....... [ > 13%] > macaroonbakery/tests/test_checker.py ..................... [ > 30%] > macaroonbakery/tests/test_checkers.py .......... [ > 38%] > macaroonbakery/tests/test_client.py ............. [ > 48%] > macaroonbakery/tests/test_codec.py ........ [ > 54%] > macaroonbakery/tests/test_discharge.py ........... [ > 63%] > macaroonbakery/tests/test_discharge_all.py ..... [ > 67%] > macaroonbakery/tests/test_httpbakery.py ... [ > 69%] > macaroonbakery/tests/test_keyring.py ..... [ > 73%] > macaroonbakery/tests/test_macaroon.py .......... [ > 81%] > macaroonbakery/tests/test_namespace.py .... [ > 84%] > macaroonbakery/tests/test_oven.py ...... [ > 89%] > macaroonbakery/tests/test_store.py . [ > 90%] > macaroonbakery/tests/test_time.py ... [ > 92%] > macaroonbakery/tests/test_utils.py ......... > [100%] > > =============================== warnings summary > =============================== > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_checker.py::test_checker > /usr/lib/python3/dist-packages/_pytest/python.py:198: > PytestReturnNotNoneWarning: Expected None, but > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_checker.py::test_checker > returned <macaroonbakery.checkers._checkers.Checker object at > 0x7fc6e9420e10>, which will be an error in a future version of pytest. Did > you mean to use `assert` instead of `return`? > warnings.warn( > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_cookie_domain_host_not_fqdn > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:223: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(srv_macaroon.macaroon.location, 'loc') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_is_set > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:318: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(ages, t) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_is_set > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:319: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(resp.text, 'done') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_extract_macaroons_from_request > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:542: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(macaroons), 2) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_extract_macaroons_from_request > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:544: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(macaroons[0][0].identifier, m1.identifier) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_extract_macaroons_from_request > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:545: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(macaroons[1][0].identifier, m2.identifier) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_party_with_header > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:255: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(srv_macaroon.macaroon.location, 'loc') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_party_with_header > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:266: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(resp.text, 'done') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_first_party > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:52: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(srv_macaroon.macaroon.location, 'loc') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_first_party > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:64: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(resp.text, 'done') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:111: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(resp.text, 'done') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party_version_1_caveat > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:204: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(resp.text, 'done') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_single_service_third_party_with_path > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_client.py:158: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(resp.text, 'done') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_decode_caveat_v1_from_go > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:113: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(cav, bakery.ThirdPartyCaveatInfo( > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_decode_caveat_v3_from_go > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:167: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(cav, bakery.ThirdPartyCaveatInfo( > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:193: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(data, expected) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:195: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(test[0], val[0]) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_encode_decode_varint > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:196: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(test[1]), val[1]) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_v1_round_trip > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:29: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(res, bakery.ThirdPartyCaveatInfo( > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_v2_round_trip > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:51: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(res, bakery.ThirdPartyCaveatInfo( > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py::TestCodec::test_v3_round_trip > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_codec.py:75: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(res, bakery.ThirdPartyCaveatInfo( > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_discharge.py::TestDischarge::test_discharge_macaroon_cannot_be_used_as_normal_macaroon > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/bakery/_oven.py:238: > RuntimeWarning: Unexpected end-group tag: Not all data was converted > id1 = id_pb2.MacaroonId.FromString(id[1:]) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py::TestMacaroon::test_add_first_party_caveat > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py:31: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(caveats), 1) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py::TestMacaroon::test_add_first_party_caveat > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py:32: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(caveats[0].caveat_id, b'test_condition') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py::TestMacaroon::test_new_macaroon > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py:22: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(m._macaroon.identifier, b'some id') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py::TestMacaroon::test_new_macaroon > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py:23: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(m._macaroon.location, 'here') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py::TestMacaroon::test_new_macaroon > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py:24: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(m.version, bakery.LATEST_VERSION) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_register > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py:40: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(prefix, 't') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_register > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py:44: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(prefix, 'o') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_register > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py:49: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(prefix, 'o') > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py:27: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(data, test[2]) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py:28: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(str(ns), test[2].decode('utf-8')) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py::TestNamespace::test_serialize > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_namespace.py:32: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(ns1, ns) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:48: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(canonical_ops, expected) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_canonical_ops > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:50: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(new_ops, ops) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_huge_number_of_ops_gives_small_macaroon > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:96: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(conds), 1) # time-before caveat. > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_huge_number_of_ops_gives_small_macaroon > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:97: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(bakery.canonical_ops(got_ops), > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:61: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(conds), 1) # time-before caveat. > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:62: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(bakery.canonical_ops(got_ops), ops) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops_in_id > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:72: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(conds), 1) # time-before caveat. > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops_in_id > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:73: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(bakery.canonical_ops(got_ops), ops) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops_in_id_with_version1 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:82: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(conds), 1) # time-before caveat. > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_multiple_ops_in_id_with_version1 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:83: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(bakery.canonical_ops(got_ops), ops) > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_ops_stored_only_once > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:114: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(bakery.canonical_ops(got_ops), > > .pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py::TestOven::test_ops_stored_only_once > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_macaroonbakery/build/macaroonbakery/tests/test_oven.py:124: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(len(st._store), 1) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > ======================= 126 passed, 77 warnings in 5.55s > ======================= > dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/py-macaroon-bakery_1.3.1-5_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.