Source: keyrings.alt
Version: 5.0.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240809 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
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_keyrings.alt  
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/keyrings
> copying keyrings/__init__.py -> build/lib/keyrings
> creating build/lib/keyrings/alt
> copying keyrings/alt/multi.py -> build/lib/keyrings/alt
> copying keyrings/alt/escape.py -> build/lib/keyrings/alt
> copying keyrings/alt/keyczar.py -> build/lib/keyrings/alt
> copying keyrings/alt/Gnome.py -> build/lib/keyrings/alt
> copying keyrings/alt/__init__.py -> build/lib/keyrings/alt
> copying keyrings/alt/Google.py -> build/lib/keyrings/alt
> copying keyrings/alt/file.py -> build/lib/keyrings/alt
> copying keyrings/alt/file_base.py -> build/lib/keyrings/alt
> copying keyrings/alt/Windows.py -> build/lib/keyrings/alt
> copying keyrings/alt/_win_crypto.py -> build/lib/keyrings/alt
> running egg_info
> creating keyrings.alt.egg-info
> writing keyrings.alt.egg-info/PKG-INFO
> writing dependency_links to keyrings.alt.egg-info/dependency_links.txt
> writing entry points to keyrings.alt.egg-info/entry_points.txt
> writing requirements to keyrings.alt.egg-info/requires.txt
> writing top-level names to keyrings.alt.egg-info/top_level.txt
> writing manifest file 'keyrings.alt.egg-info/SOURCES.txt'
> reading manifest file 'keyrings.alt.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'keyrings.alt.egg-info/SOURCES.txt'
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/keyrings
> creating build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/multi.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/escape.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/keyczar.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/Gnome.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/__init__.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/Google.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/file.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/file_base.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/Windows.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/alt/_win_crypto.py -> 
> build/bdist.linux-x86_64/wheel/keyrings/alt
> copying build/lib/keyrings/__init__.py -> 
> build/bdist.linux-x86_64/wheel/keyrings
> running install_egg_info
> Copying keyrings.alt.egg-info to 
> build/bdist.linux-x86_64/wheel/keyrings.alt-5.0.1.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/keyrings.alt-5.0.1.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_keyrings.alt/.tmp-wgnod684/keyrings.alt-5.0.1-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'keyrings/__init__.py'
> adding 'keyrings/alt/Gnome.py'
> adding 'keyrings/alt/Google.py'
> adding 'keyrings/alt/Windows.py'
> adding 'keyrings/alt/__init__.py'
> adding 'keyrings/alt/_win_crypto.py'
> adding 'keyrings/alt/escape.py'
> adding 'keyrings/alt/file.py'
> adding 'keyrings/alt/file_base.py'
> adding 'keyrings/alt/keyczar.py'
> adding 'keyrings/alt/multi.py'
> adding 'keyrings.alt-5.0.1.dist-info/LICENSE'
> adding 'keyrings.alt-5.0.1.dist-info/METADATA'
> adding 'keyrings.alt-5.0.1.dist-info/WHEEL'
> adding 'keyrings.alt-5.0.1.dist-info/entry_points.txt'
> adding 'keyrings.alt-5.0.1.dist-info/top_level.txt'
> adding 'keyrings.alt-5.0.1.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built keyrings.alt-5.0.1-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_keyrings.alt/build; python3.12 -m 
> pytest --ignore=keyrings/alt/_win_crypto.py
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_keyrings.alt/build
> configfile: pytest.ini
> plugins: cov-5.0.0
> collected 153 items
> 
> tests/test_Gnome.py ssssssssssssssss                                     [ 
> 10%]
> tests/test_Google.py sssssssssssssssssssssssssssssss                     [ 
> 30%]
> tests/test_Windows.py ssssssssssssssssssssssssssssssssss                 [ 
> 52%]
> tests/test_crypto.py ...........F........                                [ 
> 66%]
> tests/test_file.py ...........F.....................F.........           [ 
> 94%]
> tests/test_keyczar.py .....                                              [ 
> 97%]
> tests/test_multi.py ....                                                 
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __________________ TestCryptedFileKeyring.test_empty_username 
> __________________
> 
> self = <tests.test_crypto.TestCryptedFileKeyring object at 0x7f59f29244d0>
> 
>     @pytest.mark.xfail("platform.system() == 'Windows'", reason="#668")
>     def test_empty_username(self):
>         with pytest.deprecated_call():
> >           self.set_password('service1', '', 'password1')
> 
> /usr/lib/python3/dist-packages/keyring/testing/backend.py:169: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/keyring/testing/backend.py:50: in set_password
>     self.keyring.set_password(service, username, password)
> /usr/lib/python3/dist-packages/keyring/backend.py:60: in wrapper
>     return orig(self, system, username, *args, **kwargs)
> /usr/lib/python3/dist-packages/keyring/backend.py:60: in wrapper
>     return orig(self, system, username, *args, **kwargs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <EncryptedKeyring with [PBKDF2] AES256.CFB v.1.0 at /tmp/tmp3ksbokg3>
> service = 'service1', username = '', password = 'password1'
> 
>     def set_password(self, service, username, password):
>         """Write the password in the file."""
>         if not username:
>             # https://github.com/jaraco/keyrings.alt/issues/21
> >           raise ValueError("Username cannot be blank.")
> E           ValueError: Username cannot be blank.
> 
> keyrings/alt/file_base.py:118: ValueError
> ___________ TestEncryptedFileKeyring.test_empty_username[Cryptodome] 
> ___________
> 
> self = <tests.test_file.TestEncryptedFileKeyring object at 0x7f59f29270b0>
> 
>     @pytest.mark.xfail("platform.system() == 'Windows'", reason="#668")
>     def test_empty_username(self):
>         with pytest.deprecated_call():
> >           self.set_password('service1', '', 'password1')
> 
> /usr/lib/python3/dist-packages/keyring/testing/backend.py:169: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/keyring/testing/backend.py:50: in set_password
>     self.keyring.set_password(service, username, password)
> /usr/lib/python3/dist-packages/keyring/backend.py:60: in wrapper
>     return orig(self, system, username, *args, **kwargs)
> /usr/lib/python3/dist-packages/keyring/backend.py:60: in wrapper
>     return orig(self, system, username, *args, **kwargs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <EncryptedKeyring with [PBKDF2] AES256.CFB v.1.0 at /tmp/tmppnpuq6n1>
> service = 'service1', username = '', password = 'password1'
> 
>     def set_password(self, service, username, password):
>         """Write the password in the file."""
>         if not username:
>             # https://github.com/jaraco/keyrings.alt/issues/21
> >           raise ValueError("Username cannot be blank.")
> E           ValueError: Username cannot be blank.
> 
> keyrings/alt/file_base.py:118: ValueError
> _________________ TestUncryptedFileKeyring.test_empty_username 
> _________________
> 
> self = <tests.test_file.TestUncryptedFileKeyring object at 0x7f59f2925940>
> 
>     @pytest.mark.xfail("platform.system() == 'Windows'", reason="#668")
>     def test_empty_username(self):
>         with pytest.deprecated_call():
> >           self.set_password('service1', '', 'password1')
> 
> /usr/lib/python3/dist-packages/keyring/testing/backend.py:169: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/keyring/testing/backend.py:50: in set_password
>     self.keyring.set_password(service, username, password)
> /usr/lib/python3/dist-packages/keyring/backend.py:60: in wrapper
>     return orig(self, system, username, *args, **kwargs)
> /usr/lib/python3/dist-packages/keyring/backend.py:60: in wrapper
>     return orig(self, system, username, *args, **kwargs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <PlaintextKeyring with no encyption v.1.0 at /tmp/tmp5edjh662>
> service = 'service1', username = '', password = 'password1'
> 
>     def set_password(self, service, username, password):
>         """Write the password in the file."""
>         if not username:
>             # https://github.com/jaraco/keyrings.alt/issues/21
> >           raise ValueError("Username cannot be blank.")
> E           ValueError: Username cannot be blank.
> 
> keyrings/alt/file_base.py:118: ValueError
> =========================== short test summary info 
> ============================
> FAILED tests/test_crypto.py::TestCryptedFileKeyring::test_empty_username - 
> Va...
> FAILED 
> tests/test_file.py::TestEncryptedFileKeyring::test_empty_username[Cryptodome]
> FAILED tests/test_file.py::TestUncryptedFileKeyring::test_empty_username - 
> Va...
> =================== 3 failed, 69 passed, 81 skipped in 0.84s 
> ===================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_keyrings.alt/build; python3.12 -m 
> pytest --ignore=keyrings/alt/_win_crypto.py
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/08/09/keyrings.alt_5.0.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&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