--- Begin Message ---
Source: beaker
Version: 1.12.1-1.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):
> 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_beaker/build/beaker
> copying beaker/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/converters.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/session.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/container.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/middleware.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/synchronization.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/_compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/cookie.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/cache.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/pycrypto.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/pyca_cryptography.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/jcecrypto.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/pbkdf2.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/nsscrypto.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/noencryption.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/redisnm.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/sqla.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/database.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/memcached.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/mongodb.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/google.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> I: pybuild base:310: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/converters.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/session.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/container.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/middleware.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/synchronization.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/_compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/cookie.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/cache.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/pycrypto.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/pyca_cryptography.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/jcecrypto.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/pbkdf2.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/nsscrypto.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/noencryption.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/redisnm.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/sqla.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/database.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/memcached.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/mongodb.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/google.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build;
> python3.12 -m pytest --ignore=tests/test_memcached.py
> --ignore-glob=tests/test_managers/test_ext_*.py -k 'not
> test_cookie_expires_different_locale'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 122 items / 1 deselected / 1 skipped / 121 selected
>
> tests/test_cache.py ............. [
> 10%]
> tests/test_cache_decorator.py .............. [
> 22%]
> tests/test_cachemanager.py ......... [
> 29%]
> tests/test_container.py ............. [
> 40%]
> tests/test_converters.py ........ [
> 47%]
> tests/test_cookie_domain_only.py .. [
> 48%]
> tests/test_cookie_expires.py ... [
> 51%]
> tests/test_database.py ...... [
> 56%]
> tests/test_domain_setting.py .. [
> 57%]
> tests/test_increment.py ........ [
> 64%]
> tests/test_namespacing.py . [
> 65%]
> tests/test_pbkdf2.py ..... [
> 69%]
> tests/test_session.py F.......FFFF.......... [
> 87%]
> tests/test_sqla.py ...... [
> 92%]
> tests/test_syncdict.py .. [
> 94%]
> tests/test_synchronizer.py ... [
> 96%]
> tests/test_unicode_cache_keys.py ....
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________________________ test_session
> _________________________________
>
> def test_session():
> setup_cookie_request()
> for test_case in (
> check_save_load,
> check_save_load_encryption,
> check_save_load_encryption_cryptography,
> check_decryption_failure,
> check_delete,
> check_revert,
> check_invalidate,
> check_timeout,
> ):
> for session_getter in (get_session, get_cookie_session,):
> setup_cookie_request()
> > test_case(session_getter)
>
> tests/test_session.py:57:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_session.py:81: in check_save_load_encryption
> session = session_getter(encrypt_key='666a19cf7f61c64c',
> tests/test_session.py:40: in get_cookie_session
> return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = {'_domain': None, '_path': '/'}, request = {}, key =
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = '666a19cf7f61c64c'
> validate_key = 'hoobermas', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt =
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
>
> def __init__(self, request, key='beaker.session.id', timeout=None,
> save_accessed_time=True, cookie_expires=True,
> cookie_domain=None,
> cookie_path='/', encrypt_key=None, validate_key=None,
> secure=False,
> httponly=False, data_serializer='pickle',
> encrypt_nonce_bits=DEFAULT_NONCE_BITS,
> invalidate_corrupt=False,
> crypto_type='default', samesite='Lax',
> **kwargs):
> _ConfigurableSession.__init__(
> self,
> cookie_domain=cookie_domain,
> cookie_path=cookie_path
> )
> self.clear()
>
> self.crypto_module = get_crypto_module(crypto_type)
>
> if encrypt_key and not self.crypto_module.has_aes:
> > raise InvalidCryptoBackendError("No AES library is installed,
> > can't generate "
> "encrypted cookie-only Session.")
> E beaker.exceptions.InvalidCryptoBackendError: No AES library is
> installed, can't generate encrypted cookie-only Session.
>
> beaker/session.py:597: InvalidCryptoBackendError
> _________________________ test_invalidate_empty_cookie
> _________________________
>
> def test_invalidate_empty_cookie():
> setup_cookie_request()
> kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> > session = get_cookie_session(**kwargs)
>
> tests/test_session.py:431:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_session.py:40: in get_cookie_session
> return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = {'_domain': None, '_path': '/'}, request = {}, key =
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt =
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
>
> def __init__(self, request, key='beaker.session.id', timeout=None,
> save_accessed_time=True, cookie_expires=True,
> cookie_domain=None,
> cookie_path='/', encrypt_key=None, validate_key=None,
> secure=False,
> httponly=False, data_serializer='pickle',
> encrypt_nonce_bits=DEFAULT_NONCE_BITS,
> invalidate_corrupt=False,
> crypto_type='default', samesite='Lax',
> **kwargs):
> _ConfigurableSession.__init__(
> self,
> cookie_domain=cookie_domain,
> cookie_path=cookie_path
> )
> self.clear()
>
> self.crypto_module = get_crypto_module(crypto_type)
>
> if encrypt_key and not self.crypto_module.has_aes:
> > raise InvalidCryptoBackendError("No AES library is installed,
> > can't generate "
> "encrypted cookie-only Session.")
> E beaker.exceptions.InvalidCryptoBackendError: No AES library is
> installed, can't generate encrypted cookie-only Session.
>
> beaker/session.py:597: InvalidCryptoBackendError
> ____________________________ test_unrelated_cookie
> _____________________________
>
> def test_unrelated_cookie():
> setup_cookie_request()
> kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> > session = get_cookie_session(**kwargs)
>
> tests/test_session.py:443:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_session.py:40: in get_cookie_session
> return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = {'_domain': None, '_path': '/'}, request = {}, key =
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt =
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
>
> def __init__(self, request, key='beaker.session.id', timeout=None,
> save_accessed_time=True, cookie_expires=True,
> cookie_domain=None,
> cookie_path='/', encrypt_key=None, validate_key=None,
> secure=False,
> httponly=False, data_serializer='pickle',
> encrypt_nonce_bits=DEFAULT_NONCE_BITS,
> invalidate_corrupt=False,
> crypto_type='default', samesite='Lax',
> **kwargs):
> _ConfigurableSession.__init__(
> self,
> cookie_domain=cookie_domain,
> cookie_path=cookie_path
> )
> self.clear()
>
> self.crypto_module = get_crypto_module(crypto_type)
>
> if encrypt_key and not self.crypto_module.has_aes:
> > raise InvalidCryptoBackendError("No AES library is installed,
> > can't generate "
> "encrypted cookie-only Session.")
> E beaker.exceptions.InvalidCryptoBackendError: No AES library is
> installed, can't generate encrypted cookie-only Session.
>
> beaker/session.py:597: InvalidCryptoBackendError
> ____________________ test_invalidate_invalid_signed_cookie
> _____________________
>
> def test_invalidate_invalid_signed_cookie():
> setup_cookie_request()
> kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> > session = get_cookie_session(**kwargs)
>
> tests/test_session.py:455:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_session.py:40: in get_cookie_session
> return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = {'_domain': None, '_path': '/'}, request = {}, key =
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt =
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
>
> def __init__(self, request, key='beaker.session.id', timeout=None,
> save_accessed_time=True, cookie_expires=True,
> cookie_domain=None,
> cookie_path='/', encrypt_key=None, validate_key=None,
> secure=False,
> httponly=False, data_serializer='pickle',
> encrypt_nonce_bits=DEFAULT_NONCE_BITS,
> invalidate_corrupt=False,
> crypto_type='default', samesite='Lax',
> **kwargs):
> _ConfigurableSession.__init__(
> self,
> cookie_domain=cookie_domain,
> cookie_path=cookie_path
> )
> self.clear()
>
> self.crypto_module = get_crypto_module(crypto_type)
>
> if encrypt_key and not self.crypto_module.has_aes:
> > raise InvalidCryptoBackendError("No AES library is installed,
> > can't generate "
> "encrypted cookie-only Session.")
> E beaker.exceptions.InvalidCryptoBackendError: No AES library is
> installed, can't generate encrypted cookie-only Session.
>
> beaker/session.py:597: InvalidCryptoBackendError
> ___________ test_invalidate_invalid_signed_cookie_invalidate_corrupt
> ___________
>
> def test_invalidate_invalid_signed_cookie_invalidate_corrupt():
> setup_cookie_request()
> kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> > session = get_cookie_session(**kwargs)
>
> tests/test_session.py:472:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_session.py:40: in get_cookie_session
> return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = {'_domain': None, '_path': '/'}, request = {}, key =
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt =
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
>
> def __init__(self, request, key='beaker.session.id', timeout=None,
> save_accessed_time=True, cookie_expires=True,
> cookie_domain=None,
> cookie_path='/', encrypt_key=None, validate_key=None,
> secure=False,
> httponly=False, data_serializer='pickle',
> encrypt_nonce_bits=DEFAULT_NONCE_BITS,
> invalidate_corrupt=False,
> crypto_type='default', samesite='Lax',
> **kwargs):
> _ConfigurableSession.__init__(
> self,
> cookie_domain=cookie_domain,
> cookie_path=cookie_path
> )
> self.clear()
>
> self.crypto_module = get_crypto_module(crypto_type)
>
> if encrypt_key and not self.crypto_module.has_aes:
> > raise InvalidCryptoBackendError("No AES library is installed,
> > can't generate "
> "encrypted cookie-only Session.")
> E beaker.exceptions.InvalidCryptoBackendError: No AES library is
> installed, can't generate encrypted cookie-only Session.
>
> beaker/session.py:597: InvalidCryptoBackendError
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: cover-inclusive
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: cover-package
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: detailed-errors
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: ignore-files
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: verbose
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: where
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: with-doctest
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/bson/__init__.py:116
> /usr/lib/python3/dist-packages/bson/__init__.py:116: 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_NAIVE = datetime.datetime.utcfromtimestamp(0)
>
> ../../../../../../usr/lib/python3/dist-packages/webob/compat.py:5
> /usr/lib/python3/dist-packages/webob/compat.py:5: DeprecationWarning: 'cgi'
> is deprecated and slated for removal in Python 3.13
> from cgi import parse_header
>
> ../../../../../../usr/lib/python3/dist-packages/sqlalchemy/sql/sqltypes.py:2061
> /usr/lib/python3/dist-packages/sqlalchemy/sql/sqltypes.py:2061:
> 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 = dt.datetime.utcfromtimestamp(0)
>
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_clsmap_nonexistent
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/cache.py:83:
> DeprecationWarning: pkg_resources is deprecated as an API. See
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> import pkg_resources
>
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/cache.py:335:
> DeprecationWarning: Specifying a 'type' and other namespace configuration
> with cache.get()/put()/etc. is deprecated. Specify 'type' and other namespace
> configuration to cache_manager.get_cache() and/or the Cache constructor
> instead.
> return self._legacy_get_value(key, **kw)
>
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::test_cookies_enabled
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::test_load_deleted_from_storage_session__not_loaded
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::TestSessionObject::test_no_autosave_saves_with_delete
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/session.py:378:
> 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).
> expires = datetime.utcnow() - timedelta(365)
>
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::test_invalidate_corrupt
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/tests/test_session.py:24:
> BeakerWarning: Invalidating corrupt session
> e795372affa34b349e6c1683b85932ec; error was: pickle data was truncated. Set
> invalidate_corrupt=False to propagate this exception.
> return Session({}, **options)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_session.py::test_session -
> beaker.exceptions.InvalidCryptoB...
> FAILED tests/test_session.py::test_invalidate_empty_cookie -
> beaker.exception...
> FAILED tests/test_session.py::test_unrelated_cookie -
> beaker.exceptions.Inval...
> FAILED tests/test_session.py::test_invalidate_invalid_signed_cookie -
> beaker....
> FAILED
> tests/test_session.py::test_invalidate_invalid_signed_cookie_invalidate_corrupt
> = 5 failed, 116 passed, 1 skipped, 1 deselected, 22 warnings in 146.38s
> (0:02:26) =
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build; python3.12 -m pytest
> --ignore=tests/test_memcached.py
> --ignore-glob=tests/test_managers/test_ext_*.py -k 'not
> test_cookie_expires_different_locale'
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build;
> python3.11 -m pytest --ignore=tests/test_memcached.py
> --ignore-glob=tests/test_managers/test_ext_*.py -k 'not
> test_cookie_expires_different_locale'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 142 items / 1 deselected / 141 selected
>
> tests/test_cache.py ............. [
> 9%]
> tests/test_cache_decorator.py .............. [
> 19%]
> tests/test_cachemanager.py ......... [
> 25%]
> tests/test_container.py ............. [
> 34%]
> tests/test_converters.py ........ [
> 40%]
> tests/test_cookie_domain_only.py .. [
> 41%]
> tests/test_cookie_expires.py ... [
> 43%]
> tests/test_cookie_only.py .................... [
> 58%]
> tests/test_database.py ...... [
> 62%]
> tests/test_domain_setting.py .. [
> 63%]
> tests/test_increment.py ........ [
> 69%]
> tests/test_namespacing.py . [
> 70%]
> tests/test_pbkdf2.py ..... [
> 73%]
> tests/test_session.py ...................... [
> 89%]
> tests/test_sqla.py ...... [
> 93%]
> tests/test_syncdict.py .. [
> 95%]
> tests/test_synchronizer.py ... [
> 97%]
> tests/test_unicode_cache_keys.py ....
> [100%]
>
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: cover-inclusive
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: cover-package
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: detailed-errors
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: ignore-files
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: verbose
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: where
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: with-doctest
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/webob/compat.py:5
> /usr/lib/python3/dist-packages/webob/compat.py:5: DeprecationWarning: 'cgi'
> is deprecated and slated for removal in Python 3.13
> from cgi import parse_header
>
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_clsmap_nonexistent
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/cache.py:83:
> DeprecationWarning: pkg_resources is deprecated as an API. See
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> import pkg_resources
>
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/cache.py:335:
> DeprecationWarning: Specifying a 'type' and other namespace configuration
> with cache.get()/put()/etc. is deprecated. Specify 'type' and other namespace
> configuration to cache_manager.get_cache() and/or the Cache constructor
> instead.
> return self._legacy_get_value(key, **kw)
>
> .pybuild/cpython3_3.11_beaker/build/tests/test_cookie_only.py::test_changing_encrypt_key_with_timeout
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/session.py:785:
> BeakerWarning: Invalidating corrupt session c0e468a4bb2f4036bc2779ef34c7cf89;
> error was: (SEC_ERROR_BAD_DATA) security library: received bad data.. Set
> invalidate_corrupt=False to propagate this exception.
> self.__dict__['_sess'] = session_cls(req, **params)
>
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_session
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:24:
> BeakerWarning: Invalidating corrupt session
> fe8d5d59b1e04f9ea99a1f14f6f2386a; error was: (SEC_ERROR_BAD_DATA) security
> library: received bad data.. Set invalidate_corrupt=False to propagate this
> exception.
> return Session({}, **options)
>
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_session
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:40:
> BeakerWarning: Invalidating corrupt session
> e66b751367d24726a951eddc2a576416; error was: (SEC_ERROR_BAD_DATA) security
> library: received bad data.. Set invalidate_corrupt=False to propagate this
> exception.
> return CookieSession(COOKIE_REQUEST, **options)
>
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_invalidate_corrupt
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:24:
> BeakerWarning: Invalidating corrupt session
> 547428add28f4134a40f28038b4c8ae0; error was: pickle data was truncated. Set
> invalidate_corrupt=False to propagate this exception.
> return Session({}, **options)
>
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_invalidate_invalid_signed_cookie_invalidate_corrupt
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:40:
> BeakerWarning: Invalidating corrupt session
> dac4011dd229448f9899d9b1988dfedb; error was: Invalid signature. Set
> invalidate_corrupt=False to propagate this exception.
> return CookieSession(COOKIE_REQUEST, **options)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ========== 141 passed, 1 deselected, 21 warnings in 151.28s (0:02:31)
> ==========
> 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/beaker_1.12.1-1.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.
--- End Message ---