Control: reassign -1 python3-protobuf 3.21.12-8
Control: affects -1 python-limits

Dear maintainer,

reassigning this issue as the current problem is happen in the package
python3-protobuf from my current POV. The relevant part seems to this:

> /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

Trying to search for this error message got no useful findings. The only
reports about similar issue where about some missing linking in some C++
library that is used by python3-protobuf. Maybe now the current seen
issue is related to something similar.

I tried also the current version of python3-protobuf from experimental
3.25-1 but the output is completly the same as with the version from
unstable.
Is it possible to see waht is within the 'exception set' mentione din
the error output?

OTOH I can call the import within a running python3 shell in testing
without problems. So maybe some environment is missing or wrong withing
the package build setup?

Regards
Carsten

Am Tue, Dec 12, 2023 at 09:24:16AM +0100 schrieb Lucas Nussbaum:
> Source: python-limits
> Version: 3.6.0-1
> 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):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > dh_auto_build
> > I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> > running build
> > running build_py
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/version.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/limits.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/_version.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/strategies.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/errors.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/util.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > copying limits/typing.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/redis_sentinel.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/etcd.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/memory.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/base.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/memcached.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/mongodb.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/redis_cluster.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/registry.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > copying limits/storage/redis.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/storage
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio
> > copying limits/aio/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio
> > copying limits/aio/strategies.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > copying limits/aio/storage/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > copying limits/aio/storage/etcd.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > copying limits/aio/storage/memory.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > copying limits/aio/storage/base.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > copying limits/aio/storage/memcached.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > copying limits/aio/storage/mongodb.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > copying limits/aio/storage/redis.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/aio/storage
> > running egg_info
> > creating limits.egg-info
> > writing limits.egg-info/PKG-INFO
> > writing dependency_links to limits.egg-info/dependency_links.txt
> > writing requirements to limits.egg-info/requires.txt
> > writing top-level names to limits.egg-info/top_level.txt
> > writing manifest file 'limits.egg-info/SOURCES.txt'
> > reading manifest file 'limits.egg-info/SOURCES.txt'
> > reading manifest template 'MANIFEST.in'
> > adding license file 'LICENSE.txt'
> > writing manifest file 'limits.egg-info/SOURCES.txt'
> > /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: 
> > _Warning: Package 'limits.resources.redis.lua_scripts' is absent from the 
> > `packages` configuration.
> > !!
> > 
> >         
> > ********************************************************************************
> >         ############################
> >         # Package would be ignored #
> >         ############################
> >         Python recognizes 'limits.resources.redis.lua_scripts' as an 
> > importable package[^1],
> >         but it is absent from setuptools' `packages` configuration.
> > 
> >         This leads to an ambiguous overall configuration. If you want to 
> > distribute this
> >         package, please make sure that 'limits.resources.redis.lua_scripts' 
> > is explicitly added
> >         to the `packages` configuration field.
> > 
> >         Alternatively, you can also rely on setuptools' discovery methods
> >         (for example by using 
> > `find_namespace_packages(...)`/`find_namespace:`
> >         instead of `find_packages(...)`/`find:`).
> > 
> >         You can read more about "package discovery" on setuptools 
> > documentation page:
> > 
> >         - 
> > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
> > 
> >         If you don't want 'limits.resources.redis.lua_scripts' to be 
> > distributed and are
> >         already explicitly excluding 'limits.resources.redis.lua_scripts' 
> > via
> >         `find_namespace_packages(...)/find_namespace` or 
> > `find_packages(...)/find`,
> >         you can try to use `exclude_package_data`, or 
> > `include-package-data=False` in
> >         combination with a more fine grained `package-data` configuration.
> > 
> >         You can read more about "package data files" on setuptools 
> > documentation page:
> > 
> >         - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
> > 
> > 
> >         [^1]: For Python, any directory (with suitable naming) can be 
> > imported,
> >               even if it does not contain any `.py` files.
> >               On the other hand, currently there is no concept of package 
> > data
> >               directory, all directories are treated like packages.
> >         
> > ********************************************************************************
> > 
> > !!
> >   check.warn(importable)
> > copying limits/py.typed -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/resources
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/resources/redis
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/acquire_moving_window.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/clear_keys.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/incr_expire.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/moving_window.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/resources/redis/lua_scripts
> > UPDATING 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/_version.py
> > set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/limits/_version.py 
> > to '3.6.0'
> > I: pybuild base:310: /usr/bin/python3 setup.py build 
> > running build
> > running build_py
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/version.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/limits.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/_version.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/strategies.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/errors.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/util.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > copying limits/typing.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/redis_sentinel.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/etcd.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/memory.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/base.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/memcached.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/mongodb.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/redis_cluster.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/registry.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > copying limits/storage/redis.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/storage
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio
> > copying limits/aio/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio
> > copying limits/aio/strategies.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > copying limits/aio/storage/__init__.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > copying limits/aio/storage/etcd.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > copying limits/aio/storage/memory.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > copying limits/aio/storage/base.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > copying limits/aio/storage/memcached.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > copying limits/aio/storage/mongodb.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > copying limits/aio/storage/redis.py -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/aio/storage
> > running egg_info
> > writing limits.egg-info/PKG-INFO
> > writing dependency_links to limits.egg-info/dependency_links.txt
> > writing requirements to limits.egg-info/requires.txt
> > writing top-level names to limits.egg-info/top_level.txt
> > reading manifest file 'limits.egg-info/SOURCES.txt'
> > reading manifest template 'MANIFEST.in'
> > adding license file 'LICENSE.txt'
> > writing manifest file 'limits.egg-info/SOURCES.txt'
> > /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: 
> > _Warning: Package 'limits.resources.redis.lua_scripts' is absent from the 
> > `packages` configuration.
> > !!
> > 
> >         
> > ********************************************************************************
> >         ############################
> >         # Package would be ignored #
> >         ############################
> >         Python recognizes 'limits.resources.redis.lua_scripts' as an 
> > importable package[^1],
> >         but it is absent from setuptools' `packages` configuration.
> > 
> >         This leads to an ambiguous overall configuration. If you want to 
> > distribute this
> >         package, please make sure that 'limits.resources.redis.lua_scripts' 
> > is explicitly added
> >         to the `packages` configuration field.
> > 
> >         Alternatively, you can also rely on setuptools' discovery methods
> >         (for example by using 
> > `find_namespace_packages(...)`/`find_namespace:`
> >         instead of `find_packages(...)`/`find:`).
> > 
> >         You can read more about "package discovery" on setuptools 
> > documentation page:
> > 
> >         - 
> > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
> > 
> >         If you don't want 'limits.resources.redis.lua_scripts' to be 
> > distributed and are
> >         already explicitly excluding 'limits.resources.redis.lua_scripts' 
> > via
> >         `find_namespace_packages(...)/find_namespace` or 
> > `find_packages(...)/find`,
> >         you can try to use `exclude_package_data`, or 
> > `include-package-data=False` in
> >         combination with a more fine grained `package-data` configuration.
> > 
> >         You can read more about "package data files" on setuptools 
> > documentation page:
> > 
> >         - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
> > 
> > 
> >         [^1]: For Python, any directory (with suitable naming) can be 
> > imported,
> >               even if it does not contain any `.py` files.
> >               On the other hand, currently there is no concept of package 
> > data
> >               directory, all directories are treated like packages.
> >         
> > ********************************************************************************
> > 
> > !!
> >   check.warn(importable)
> > copying limits/py.typed -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/resources
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/resources/redis
> > creating 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/acquire_moving_window.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/clear_keys.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/incr_expire.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/resources/redis/lua_scripts
> > copying limits/resources/redis/lua_scripts/moving_window.lua -> 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/resources/redis/lua_scripts
> > UPDATING 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/_version.py
> > set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build/limits/_version.py 
> > to '3.6.0'
> > PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml 
> > doc/source build/html
> > Running Sphinx v7.2.6
> > making output directory... done
> > [autosummary] generating autosummary for: api.rst, async.rst, 
> > changelog.rst, custom-storage.rst, index.rst, installation.rst, 
> > quickstart.rst, storage.rst, strategies.rst
> > loading intersphinx inventory from http://docs.python.org/objects.inv...
> > loading intersphinx inventory from 
> > https://coredis.readthedocs.io/en/latest/objects.inv...
> > loading intersphinx inventory from 
> > https://emcache.readthedocs.io/en/latest/objects.inv...
> > loading intersphinx inventory from 
> > https://motor.readthedocs.io/en/stable/objects.inv...
> > loading intersphinx inventory from 
> > https://redis-py-cluster.readthedocs.io/en/latest/objects.inv...
> > loading intersphinx inventory from 
> > https://redis-py.readthedocs.io/en/latest/objects.inv...
> > loading intersphinx inventory from 
> > https://pymemcache.readthedocs.io/en/latest/objects.inv...
> > WARNING: failed to reach any of the inventories with the following issues:
> > intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable 
> > due to <class 'requests.exceptions.ProxyError'>: 
> > HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with 
> > url: http://docs.python.org/objects.inv (Caused by ProxyError('Cannot 
> > connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection 
> > object at 0x7fecb4726410>: Failed to establish a new connection: [Errno 
> > 111] Connection refused')))
> > loading intersphinx inventory from 
> > https://pymongo.readthedocs.io/en/stable/objects.inv...
> > loading intersphinx inventory from 
> > https://python-etcd3.readthedocs.io/en/latest/objects.inv...
> > loading intersphinx inventory from 
> > https://aetcd.readthedocs.io/en/latest/objects.inv...
> > building [mo]: targets for 0 po files that are out of date
> > writing output... 
> > building [html]: targets for 9 source files that are out of date
> > updating environment: [new config] 9 added, 0 changed, 0 removed
> > reading sources... [ 11%] api
> > reading sources... [ 22%] async
> > reading sources... [ 33%] changelog
> > reading sources... [ 44%] custom-storage
> > reading sources... [ 56%] index
> > reading sources... [ 67%] installation
> > reading sources... [ 78%] quickstart
> > reading sources... [ 89%] storage
> > reading sources... [100%] strategies
> > 
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:11: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Redis
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[redis]
> > 
> >    Includes
> > 
> >    .. literalinclude:: ../../requirements/storage/redis.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:21: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: RedisCluster
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[rediscluster]
> > 
> >    Includes
> > 
> >    .. literalinclude:: ../../requirements/storage/rediscluster.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:31: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Memcached
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[memcached]
> > 
> >    Includes
> > 
> >    .. literalinclude:: ../../requirements/storage/memcached.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:41: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: MongoDB
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[mongodb]
> > 
> >    Includes:
> > 
> >    .. literalinclude:: ../../requirements/storage/mongodb.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:51: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Etcd
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[etcd]
> > 
> >    Includes:
> > 
> >    .. literalinclude:: ../../requirements/storage/etcd.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:72: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Redis
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[async-redis]
> > 
> >    Includes:
> > 
> >    .. literalinclude:: ../../requirements/storage/async-redis.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:82: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Memcached
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[async-memcached]
> > 
> >    Includes:
> > 
> >    .. literalinclude:: ../../requirements/storage/async-memcached.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:92: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: MongoDB
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[async-mongodb]
> > 
> >    Includes:
> > 
> >    .. literalinclude:: ../../requirements/storage/async-mongodb.txt
> > /<<PKGBUILDDIR>>/doc/source/installation.rst:102: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Etcd
> > 
> >    .. code:: console
> > 
> >       $ pip install limits[async-etcd]
> > 
> >    Includes:
> > 
> >    .. literalinclude:: ../../requirements/storage/async-etcd.txt
> > /<<PKGBUILDDIR>>/doc/source/quickstart.rst:11: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: In Memory
> > 
> >     .. code::
> > 
> >         from limits import storage
> >         memory_storage = storage.MemoryStorage()
> > /<<PKGBUILDDIR>>/doc/source/quickstart.rst:18: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Memcached
> > 
> >     .. code::
> > 
> >         from limits import storage
> >         memory_storage = storage.MemcachedStorage(
> >             "memcached://localhost:11211"
> >         )
> > /<<PKGBUILDDIR>>/doc/source/quickstart.rst:27: ERROR: Unknown directive 
> > type "tab".
> > 
> > .. tab:: Redis
> > 
> >     .. code::
> > 
> >         from limits import storage
> >         memory_storage = storage.RedisStorage("redis://localhost:6379/1")
> > /<<PKGBUILDDIR>>/doc/source/storage.rst:18: ERROR: Unknown directive type 
> > "tab".
> > 
> > .. tab:: Redis
> > 
> >    Dependency versions:
> > 
> >      .. literalinclude:: ../../requirements/storage/redis.txt
> > 
> >    Dependency versions (async):
> > 
> >      .. literalinclude:: ../../requirements/storage/async-redis.txt
> > 
> >    `Redis <https://redis.io>`_
> > 
> >      .. program-output:: bash -c "cat 
> > ../../.github/workflows/compatibility.yml | grep -o -P 
> > 'LIMITS_REDIS_SERVER_VERSION=[\d\.]+' | cut -d = -f 2"
> > 
> >    Redis with SSL
> > 
> >      .. program-output:: bash -c "cat 
> > ../../.github/workflows/compatibility.yml | grep -o -P 
> > 'LIMITS_REDIS_SERVER_SSL_VERSION=[\d\.]+' | cut -d = -f 2"
> > 
> >    `Redis Sentinel <https://redis.io/topics/sentinel>`_
> > 
> >      .. program-output:: bash -c "cat 
> > ../../.github/workflows/compatibility.yml | grep -o -P 
> > 'LIMITS_REDIS_SENTINEL_SERVER_VERSION=[\d\.]+' | cut -d = -f 2"
> > /<<PKGBUILDDIR>>/doc/source/storage.rst:40: ERROR: Unknown directive type 
> > "tab".
> > 
> > .. tab:: Redis Cluster
> > 
> >    Dependency versions:
> > 
> >      .. literalinclude:: ../../requirements/storage/rediscluster.txt
> > 
> >    Dependency versions (async):
> > 
> >      .. literalinclude:: ../../requirements/storage/async-redis.txt
> > 
> >    `Redis cluster <https://redis.io/topics/cluster-tutorial>`_
> > 
> >      .. program-output:: bash -c "cat 
> > ../../.github/workflows/compatibility.yml | grep -o -P 
> > 'LIMITS_REDIS_SERVER_VERSION=[\d\.]+' | cut -d = -f 2"
> > /<<PKGBUILDDIR>>/doc/source/storage.rst:54: ERROR: Unknown directive type 
> > "tab".
> > 
> > .. tab:: Memcached
> > 
> >    Dependency versions:
> > 
> >      .. literalinclude:: ../../requirements/storage/memcached.txt
> > 
> >    Dependency versions (async):
> > 
> >      .. literalinclude:: ../../requirements/storage/async-memcached.txt
> > 
> >    `Memcached <https://memcached.org/>`_
> > 
> >      .. program-output:: bash -c "cat 
> > ../../.github/workflows/compatibility.yml | grep -o -P 
> > 'LIMITS_MEMCACHED_SERVER_VERSION=[\d\.]+' | cut -d = -f 2"
> > /<<PKGBUILDDIR>>/doc/source/storage.rst:68: ERROR: Unknown directive type 
> > "tab".
> > 
> > .. tab:: MongoDB
> > 
> >    Dependency versions:
> > 
> >      .. literalinclude:: ../../requirements/storage/mongodb.txt
> > 
> >    Dependency versions (async):
> > 
> >      .. literalinclude:: ../../requirements/storage/async-mongodb.txt
> > 
> >    `MongoDB <https://www.mongodb.com/>`_
> > 
> >      .. program-output:: bash -c "cat 
> > ../../.github/workflows/compatibility.yml | grep -o -P 
> > 'LIMITS_MONGODB_SERVER_VERSION=[\d\.]+' | cut -d = -f 2"
> > /<<PKGBUILDDIR>>/doc/source/storage.rst:82: ERROR: Unknown directive type 
> > "tab".
> > 
> > .. tab:: Etcd
> > 
> >    Dependency versions:
> > 
> >      .. literalinclude:: ../../requirements/storage/etcd.txt
> > 
> >    Dependency versions (async):
> > 
> >      .. literalinclude:: ../../requirements/storage/async-etcd.txt
> > 
> >    `Etcd <https://www.etcd.io/>`_
> > 
> >      .. program-output:: bash -c "cat 
> > ../../.github/workflows/compatibility.yml | grep -o -P 
> > 'LIMITS_ETCD_SERVER_VERSION=[\d\.]+' | cut -d = -f 2"
> > looking for now-outdated files... none found
> > pickling environment... done
> > checking consistency... done
> > preparing documents... WARNING: unsupported theme option 
> > 'light_css_variables' given
> > WARNING: unsupported theme option 'dark_css_variables' given
> > done
> > copying assets... copying static files... done
> > copying extra files... done
> > done
> > writing output... [ 11%] api
> > writing output... [ 22%] async
> > writing output... [ 33%] changelog
> > writing output... [ 44%] custom-storage
> > writing output... [ 56%] index
> > writing output... [ 67%] installation
> > writing output... [ 78%] quickstart
> > writing output... [ 89%] storage
> > writing output... [100%] strategies
> > 
> > generating indices... genindex done
> > highlighting module code... [  5%] limits.aio.storage.base
> > highlighting module code... [ 10%] limits.aio.storage.etcd
> > highlighting module code... [ 15%] limits.aio.storage.memcached
> > highlighting module code... [ 20%] limits.aio.storage.memory
> > highlighting module code... [ 25%] limits.aio.storage.mongodb
> > highlighting module code... [ 30%] limits.aio.storage.redis
> > highlighting module code... [ 35%] limits.aio.strategies
> > highlighting module code... [ 40%] limits.errors
> > highlighting module code... [ 45%] limits.limits
> > highlighting module code... [ 50%] limits.storage
> > highlighting module code... [ 55%] limits.storage.base
> > highlighting module code... [ 60%] limits.storage.etcd
> > highlighting module code... [ 65%] limits.storage.memcached
> > highlighting module code... [ 70%] limits.storage.memory
> > highlighting module code... [ 75%] limits.storage.mongodb
> > highlighting module code... [ 80%] limits.storage.redis
> > highlighting module code... [ 85%] limits.storage.redis_cluster
> > highlighting module code... [ 90%] limits.storage.redis_sentinel
> > highlighting module code... [ 95%] limits.strategies
> > highlighting module code... [100%] limits.util
> > 
> > writing additional pages... search done
> > dumping search index in English (code: en)... done
> > dumping object inventory... done
> > The name of the builder is: htmlCopying sphinx_paramlinks stylesheet... done
> > build succeeded, 20 warnings.
> > 
> > The HTML pages are in build/html.
> > make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> >    dh_auto_test -O--buildsystem=pybuild
> > I: pybuild base:310: cd 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build; python3.12 -m pytest 
> > tests/test_limits.py tests/test_limit_granularities.py 
> > tests/test_ratelimit_parser.py
> > ImportError while loading conftest 
> > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build/tests/conftest.py'.
> > tests/conftest.py:6: in <module>
> >     import etcd3
> > /usr/lib/python3/dist-packages/etcd3/__init__.py:3: in <module>
> >     import etcd3.etcdrpc as etcdrpc
> > /usr/lib/python3/dist-packages/etcd3/etcdrpc/__init__.py:1: in <module>
> >     from .rpc_pb2 import *
> > /usr/lib/python3/dist-packages/etcd3/etcdrpc/rpc_pb2.py:7: 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
> > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=4: cd 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_limits/build; python3.12 -m pytest 
> > tests/test_limits.py tests/test_limit_granularities.py 
> > tests/test_ratelimit_parser.py
> > I: pybuild base:310: cd 
> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build; python3.11 -m pytest 
> > tests/test_limits.py tests/test_limit_granularities.py 
> > tests/test_ratelimit_parser.py
> > ============================= test session starts 
> > ==============================
> > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 -- 
> > /usr/bin/python3.11
> > cachedir: .pytest_cache
> > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_limits/build
> > configfile: pytest.ini
> > plugins: asyncio-0.20.3, lazy-fixture-0.6.3
> > asyncio: mode=Mode.AUTO
> > collecting ... collected 19 items
> > 
> > tests/test_limits.py::TestLimits::test_key_all_strings_default_namespace 
> > PASSED
> > tests/test_limits.py::TestLimits::test_key_with_none_default_namespace 
> > PASSED
> > tests/test_limits.py::TestLimits::test_key_with_int_default_namespace PASSED
> > tests/test_limits.py::TestLimits::test_key_with_mixed_string_types_default_namespace
> >  PASSED
> > tests/test_limits.py::TestLimits::test_equality PASSED
> > tests/test_limits.py::TestLimits::test_hashabilty PASSED
> > tests/test_limit_granularities.py::TestGranularity::test_seconds_value 
> > PASSED
> > tests/test_limit_granularities.py::TestGranularity::test_representation 
> > PASSED
> > tests/test_limit_granularities.py::TestGranularity::test_comparison PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_singles PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_multiples PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_parse_many PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_parse_many_csv 
> > PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_invalid_string_parse[None]
> >  PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_invalid_string_parse[1
> >  per millenium] PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_invalid_string_parse[meow]
> >  PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_invalid_string_granularity[millenium]
> >  PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_invalid_string_granularity[meow]
> >  PASSED
> > tests/test_ratelimit_parser.py::TestRatelimitParser::test_invalid_string_parse_many[1
> >  per yearl; 2 per decade] PASSED
> > 
> > ============================== 19 passed in 0.16s 
> > ==============================
> > dh_auto_test: error: pybuild --test --test-pytest -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/python-limits_3.6.0-1_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.

Reply via email to