Package: src:py-macaroon-bakery
Version: 1.3.4-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:py-macaroon-bakery, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)

[... snipped ...]

/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_checker.py
 _
macaroonbakery/tests/test_checker.py:9: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_client.py 
_
macaroonbakery/tests/test_client.py:9: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_codec.py _
macaroonbakery/tests/test_codec.py:6: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_discharge.py
 _
macaroonbakery/tests/test_discharge.py:6: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_discharge_all.py
 _
macaroonbakery/tests/test_discharge_all.py:5: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_httpbakery.py
 _
macaroonbakery/tests/test_httpbakery.py:3: in <module>
    import macaroonbakery.httpbakery as httpbakery
macaroonbakery/httpbakery/__init__.py:3: in <module>
    from ._client import (
macaroonbakery/httpbakery/_client.py:7: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_keyring.py
 _
macaroonbakery/tests/test_keyring.py:5: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_macaroon.py
 _
macaroonbakery/tests/test_macaroon.py:6: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_oven.py _
macaroonbakery/tests/test_oven.py:7: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_store.py _
macaroonbakery/tests/test_store.py:5: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
_ ERROR collecting 
.pybuild/cpython3_3.14_macaroonbakery/build/macaroonbakery/tests/test_utils.py _
macaroonbakery/tests/test_utils.py:10: in <module>
    import macaroonbakery.bakery as bakery
macaroonbakery/bakery/__init__.py:75: in <module>
    from ._oven import (
macaroonbakery/bakery/_oven.py:29: in <module>
    from ._internal import id_pb2
macaroonbakery/bakery/_internal/id_pb2.py:6: in <module>
    from google.protobuf import descriptor as _descriptor
/usr/lib/python3/dist-packages/google/protobuf/descriptor.py:40: in <module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   TypeError: Metaclasses with custom tp_new are not supported.
=========================== short test summary info ============================
ERROR macaroonbakery/tests/test_agent.py - TypeError: Metaclasses with custom...
ERROR macaroonbakery/tests/test_authorizer.py - TypeError: Metaclasses with c...
ERROR macaroonbakery/tests/test_bakery.py - TypeError: Metaclasses with custo...
ERROR macaroonbakery/tests/test_checker.py - TypeError: Metaclasses with cust...
ERROR macaroonbakery/tests/test_client.py - TypeError: Metaclasses with custo...
ERROR macaroonbakery/tests/test_codec.py - TypeError: Metaclasses with custom...
ERROR macaroonbakery/tests/test_discharge.py - TypeError: Metaclasses with cu...
ERROR macaroonbakery/tests/test_discharge_all.py - TypeError: Metaclasses wit...
ERROR macaroonbakery/tests/test_httpbakery.py - TypeError: Metaclasses with c...
ERROR macaroonbakery/tests/test_keyring.py - TypeError: Metaclasses with cust...
ERROR macaroonbakery/tests/test_macaroon.py - TypeError: Metaclasses with cus...
ERROR macaroonbakery/tests/test_oven.py - TypeError: Metaclasses with custom ...
ERROR macaroonbakery/tests/test_store.py - TypeError: Metaclasses with custom...
ERROR macaroonbakery/tests/test_utils.py - TypeError: Metaclasses with custom...
!!!!!!!!!!!!!!!!!!! Interrupted: 14 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 14 errors in 0.36s ==============================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_macaroonbakery/build; python3.14 -m 
pytest 
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_macaroonbakery/build; python3.13 -m 
pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 127 items

macaroonbakery/tests/test_agent.py .......                               [  5%]
macaroonbakery/tests/test_authorizer.py ...                              [  7%]
macaroonbakery/tests/test_bakery.py .......                              [ 13%]
macaroonbakery/tests/test_checker.py .....................               [ 29%]
macaroonbakery/tests/test_checkers.py ..........                         [ 37%]
macaroonbakery/tests/test_client.py ..............                       [ 48%]
macaroonbakery/tests/test_codec.py ........                              [ 55%]
macaroonbakery/tests/test_discharge.py ...........                       [ 63%]
macaroonbakery/tests/test_discharge_all.py .....                         [ 67%]
macaroonbakery/tests/test_httpbakery.py ...                              [ 70%]
macaroonbakery/tests/test_keyring.py .....                               [ 74%]
macaroonbakery/tests/test_macaroon.py ..........                         [ 81%]
macaroonbakery/tests/test_namespace.py ....                              [ 85%]
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 ===============================
<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:30
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_macaroonbakery/build/macaroonbakery/tests/test_client.py:30:
 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.13_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_legacy
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_legacy
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_agent.py: 
2 warnings
.pybuild/cpython3_3.13_macaroonbakery/build/macaroonbakery/tests/test_checkers.py:
 2 warnings
.pybuild/cpython3_3.13_macaroonbakery/build/macaroonbakery/tests/test_client.py:
 8 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_login
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_agent.py::TestAgents::test_agent_login
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_checker.py::test_checker
  /usr/lib/python3/dist-packages/_pytest/python.py:170: 
PytestReturnNotNoneWarning: Test functions should return None, but 
.pybuild/cpython3_3.13_macaroonbakery/build/macaroonbakery/tests/test_checker.py::test_checker
 returned <class 'macaroonbakery.checkers._checkers.Checker'>.
  Did you mean to use `assert` instead of `return`?
  See https://docs.pytest.org/en/stable/how-to/assert.html#return-not-none for 
more information.
    warnings.warn(

.pybuild/cpython3_3.13_macaroonbakery/build/macaroonbakery/tests/test_checkers.py::TestCheckers::test_checkers
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_is_set
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_macaroonbakery/build/macaroonbakery/tests/test_client.py:300:
 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.13_macaroonbakery/build/macaroonbakery/tests/test_client.py::TestClient::test_expiry_cookie_set_in_past
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_macaroonbakery/build/macaroonbakery/tests/test_client.py:353:
 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.13_macaroonbakery/build/macaroonbakery/tests/test_discharge.py::TestDischarge::test_discharge_macaroon_cannot_be_used_as_normal_macaroon
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_utils.py::CookieTest::test_cookie_expires_naive
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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.13_macaroonbakery/build/macaroonbakery/tests/test_utils.py::CookieTest::test_cookie_expires_with_timezone
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_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
======================= 127 passed, 27 warnings in 6.43s =======================
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned 
exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to