Package: src:pydantic-settings
Version: 2.8.1-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydantic-settings  
* Building wheel...
Successfully built pydantic_settings-2.8.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydantic-settings/build; python3.13 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydantic-settings/build
configfile: pyproject.toml
plugins: typeguard-4.4.2, mock-3.14.0
collected 347 items / 1 skipped

tests/test_settings.py ................................................. [ 14%]
........................................................................ [ 34%]
.................................................                        [ 48%]
tests/test_source_azure_key_vault.py ...                                 [ 49%]
tests/test_source_cli.py ............................................... [ 63%]
................s......ss............................................... [ 84%]
.............F..........                                                 [ 91%]
tests/test_source_json.py ....                                           [ 92%]
tests/test_source_pyproject_toml.py ................                     [ 96%]
tests/test_source_toml.py ....                                           [ 97%]
tests/test_source_yaml.py .s....                                         [ 99%]
tests/test_utils.py .                                                    [100%]

=================================== FAILURES ===================================
____________________ test_cli_metavar_format_type_alias_312 ____________________

    @pytest.mark.skipif(sys.version_info < (3, 12), reason='requires python 
3.12 or higher')
    def test_cli_metavar_format_type_alias_312():
>       exec(
            """
    type TypeAliasInt = int
    assert CliSettingsSource(SimpleSettings)._metavar_format(TypeAliasInt) == 
'TypeAliasInt'
    """
        )

tests/test_source_cli.py:2068: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   AssertionError

<string>:3: AssertionError
=========================== short test summary info ============================
FAILED tests/test_source_cli.py::test_cli_metavar_format_type_alias_312 - Ass...
=================== 1 failed, 342 passed, 5 skipped in 1.08s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydantic-settings/build; python3.13 -m 
pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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 could not 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:pydantic-settings, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to