Package: src:python-google-api-core
Version: 2.23.0-1
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:python-google-api-core, 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/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

[... snipped ...]

    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   SystemError: <built-in function __import__> returned a result with an 
exception set
______________ ERROR collecting tests/unit/future/test_polling.py ______________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/future/test_polling.py:22: in <module>
    from google.api_core import exceptions, retry
google/api_core/exceptions.py:29: in <module>
    from google.rpc import error_details_pb2
/usr/lib/python3/dist-packages/google/rpc/error_details_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
_____________ ERROR collecting tests/unit/retry/test_retry_base.py _____________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/retry/test_retry_base.py:22: in <module>
    from google.api_core import exceptions
google/api_core/exceptions.py:29: in <module>
    from google.rpc import error_details_pb2
/usr/lib/python3/dist-packages/google/rpc/error_details_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
__________ ERROR collecting tests/unit/retry/test_retry_streaming.py ___________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/retry/test_retry_streaming.py:25: in <module>
    from google.api_core import exceptions
google/api_core/exceptions.py:29: in <module>
    from google.rpc import error_details_pb2
/usr/lib/python3/dist-packages/google/rpc/error_details_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
____________ ERROR collecting tests/unit/retry/test_retry_unary.py _____________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/retry/test_retry_unary.py:25: in <module>
    from google.api_core import exceptions
google/api_core/exceptions.py:29: in <module>
    from google.rpc import error_details_pb2
/usr/lib/python3/dist-packages/google/rpc/error_details_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
_____________ ERROR collecting tests/unit/test_datetime_helpers.py _____________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/test_datetime_helpers.py:20: in <module>
    from google.api_core import datetime_helpers
google/api_core/datetime_helpers.py:21: in <module>
    from google.protobuf import timestamp_pb2
/usr/lib/python3/dist-packages/google/protobuf/timestamp_pb2.py:5: in <module>
    from google.protobuf.internal import builder as _builder
/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py:42: in 
<module>
    from google.protobuf import reflection as _reflection
/usr/lib/python3/dist-packages/google/protobuf/reflection.py:51: in <module>
    from google.protobuf import message_factory
/usr/lib/python3/dist-packages/google/protobuf/message_factory.py:42: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
________________ ERROR collecting tests/unit/test_exceptions.py ________________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/test_exceptions.py:28: in <module>
    from google.api_core import exceptions
google/api_core/exceptions.py:29: in <module>
    from google.rpc import error_details_pb2
/usr/lib/python3/dist-packages/google/rpc/error_details_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
____________ ERROR collecting tests/unit/test_extended_operation.py ____________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/test_extended_operation.py:22: in <module>
    from google.api_core import exceptions
google/api_core/exceptions.py:29: in <module>
    from google.rpc import error_details_pb2
/usr/lib/python3/dist-packages/google/rpc/error_details_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
______________ ERROR collecting tests/unit/test_path_template.py _______________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/test_path_template.py:20: in <module>
    from google.api import auth_pb2
/usr/lib/python3/dist-packages/google/api/auth_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
_____________ ERROR collecting tests/unit/test_protobuf_helpers.py _____________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/test_protobuf_helpers.py:18: in <module>
    from google.api import http_pb2
/usr/lib/python3/dist-packages/google/api/http_pb2.py:20: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
______________ ERROR collecting tests/unit/test_rest_streaming.py ______________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/test_rest_streaming.py:22: in <module>
    import proto
/usr/lib/python3/dist-packages/proto/__init__.py:15: in <module>
    from .enums import Enum
/usr/lib/python3/dist-packages/proto/enums.py:17: in <module>
    from google.protobuf import descriptor_pb2
/usr/lib/python3/dist-packages/google/protobuf/descriptor_pb2.py:5: in <module>
    from google.protobuf.internal import builder as _builder
/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py:42: in 
<module>
    from google.protobuf import reflection as _reflection
/usr/lib/python3/dist-packages/google/protobuf/reflection.py:51: in <module>
    from google.protobuf import message_factory
/usr/lib/python3/dist-packages/google/protobuf/message_factory.py:42: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
_________________ ERROR collecting tests/unit/test_timeout.py __________________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/unit/test_timeout.py:19: in <module>
    from google.api_core import timeout as timeouts
google/api_core/timeout.py:60: in <module>
    from google.api_core import datetime_helpers
google/api_core/datetime_helpers.py:21: in <module>
    from google.protobuf import timestamp_pb2
/usr/lib/python3/dist-packages/google/protobuf/timestamp_pb2.py:5: in <module>
    from google.protobuf.internal import builder as _builder
/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py:42: in 
<module>
    from google.protobuf import reflection as _reflection
/usr/lib/python3/dist-packages/google/protobuf/reflection.py:51: in <module>
    from google.protobuf import message_factory
/usr/lib/python3/dist-packages/google/protobuf/message_factory.py:42: 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   SystemError: <built-in function __import__> returned a result with an 
exception set
=========================== short test summary info ============================
ERROR tests/asyncio/future/test_async_future.py - TypeError: Metaclasses with...
ERROR tests/asyncio/retry/test_retry_streaming_async.py - TypeError: Metaclas...
ERROR tests/asyncio/retry/test_retry_unary_async.py - TypeError: Metaclasses ...
ERROR tests/asyncio/test_rest_streaming_async.py - SystemError: <built-in fun...
ERROR tests/unit/future/test_polling.py - SystemError: <built-in function __i...
ERROR tests/unit/retry/test_retry_base.py - SystemError: <built-in function _...
ERROR tests/unit/retry/test_retry_streaming.py - SystemError: <built-in funct...
ERROR tests/unit/retry/test_retry_unary.py - SystemError: <built-in function ...
ERROR tests/unit/test_datetime_helpers.py - SystemError: <built-in function _...
ERROR tests/unit/test_exceptions.py - SystemError: <built-in function __impor...
ERROR tests/unit/test_extended_operation.py - SystemError: <built-in function...
ERROR tests/unit/test_path_template.py - SystemError: <built-in function __im...
ERROR tests/unit/test_protobuf_helpers.py - SystemError: <built-in function _...
ERROR tests/unit/test_rest_streaming.py - SystemError: <built-in function __i...
ERROR tests/unit/test_timeout.py - SystemError: <built-in function __import__...
!!!!!!!!!!!!!!!!!!! Interrupted: 15 errors during collection !!!!!!!!!!!!!!!!!!!
======================== 14 skipped, 15 errors in 0.83s ========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_google-api-core/build; python3.14 -m 
pytest tests
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_google-api-core/build; python3.13 -m 
pytest tests
Fatal Python error: Aborted

Current thread 0x00007f653d656200 (most recent call first):
  File "/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py", 
line 85 in BuildMessage
  File "/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py", 
line 108 in BuildTopDescriptorsAndMessages
  File "/usr/lib/python3/dist-packages/google/protobuf/duration_pb2.py", line 
19 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1023 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1415 in _handle_fromlist
  File "/usr/lib/python3/dist-packages/google/rpc/error_details_pb2.py", line 
30 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1023 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1415 in _handle_fromlist
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_google-api-core/build/google/api_core/exceptions.py",
 line 29 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1023 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1415 in _handle_fromlist
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_google-api-core/build/tests/asyncio/future/test_async_future.py",
 line 20 in <module>
  File "/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py", line 197 
in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "<frozen importlib._bootstrap>", line 1387 in _gcd_import
  File "/usr/lib/python3.13/importlib/__init__.py", line 88 in import_module
  File "/usr/lib/python3/dist-packages/_pytest/pathlib.py", line 587 in 
import_path
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 507 in 
importtestmodule
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 560 in _getobj
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 289 in obj
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 576 in 
_register_setup_module_fixture
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 563 in collect
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 398 in collect
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 353 in from_call
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 400 in 
pytest_make_collect_report
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in 
_multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in 
_hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 576 in 
collect_one_node
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 883 in 
_collect_one_node
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 1020 in genitems
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 1023 in genitems
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 1023 in genitems
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 1023 in genitems
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 857 in 
perform_collect
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 382 in 
pytest_collection
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in 
_multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in 
_hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 371 in _main
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 318 in 
wrap_session
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 365 in 
pytest_cmdline_main
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in 
_multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in 
_hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 199 in 
main
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 223 in 
console_main
  File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Extension modules: google.protobuf.pyext._message (total: 1)
Aborted
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=134: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_google-api-core/build; python3.13 -m 
pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to