🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Santiago Vila Fri, 23 Oct 2026 16:50
Bug#1151811: dirty-equals: FTBFS: E ImportError: Pydantic V2 is not installed, run `pip install dirty-equals[pydantic]`
#1522
Author: Santiago Vila
Date: Fri, 23 Oct 2026 16:50
72 lines
5533 bytes
Package: src:dirty-equals
Version: 0.11.0-2
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/202610/

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

Thanks.

--------------------------------------------------------------------------------
[...]
tests/test_other.py:307: in <module>
    ('https://example.com', IsUrl(scheme='https')),
                            ^^^^^^^^^^^^^^^^^^^^^
dirty_equals/_other.py:229: in __init__
    raise ImportError('Pydantic V2 is not installed, run `pip install dirty-equals[pydantic]`') from e
E   ImportError: Pydantic V2 is not installed, run `pip install dirty-equals[pydantic]`
=========================== short test summary info ============================
ERROR tests/test_other.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.21s ===============================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15/build; python3.15 -m pytest --ignore=tests/test_docs.py
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest --ignore=tests/test_docs.py
============================= test session starts ==============================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
testpaths: tests
collected 551 items

tests/test_base.py ................................                      [  5%]
tests/test_boolean.py ............................................       [ 13%]
tests/test_datetime.py ................................................. [ 22%]
.                                                                        [ 22%]
tests/test_dict.py ..................................................... [ 32%]
.....                                                                    [ 33%]
tests/test_inspection.py ...........................                     [ 38%]
tests/test_list_tuple.py ............................................... [ 46%]
...............................                                          [ 52%]
tests/test_numeric.py .................................................. [ 61%]
.................................                                        [ 67%]
tests/test_other.py ....................................x.x............. [ 76%]
....................................................................     [ 89%]
tests/test_strings.py .................................................. [ 98%]
.........                                                                [100%]

======================== 549 passed, 2 xfailed in 0.41s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make[1]: *** [debian/rules:11: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Bug#1151811: dirty-equals: FTBFS: E ImportError: Pydantic V2 is not installed, run `pip install dirty-equals[pydantic]`
#1641
Author: Colin Watson
Date: Sat, 24 Oct 2026 20:40
14 lines
2534 bytes
On Fri, Oct 23, 2026 at 04:44:26PM +0000, Santiago Vila wrote:
>tests/test_other.py:307: in <module>
>    ('https://example.com', IsUrl(scheme='https')),
>                            ^^^^^^^^^^^^^^^^^^^^^
>dirty_equals/_other.py:229: in __init__
>    raise ImportError('Pydantic V2 is not installed, run `pip install dirty-equals[pydantic]`') from e
>E   ImportError: Pydantic V2 is not installed, run `pip install dirty-equals[pydantic]`

This will be fixed once pydantic-core has been binNMUed to add Python 
3.15 as a supported version.  But AFAIK there isn't really a sensible 
way to indicate that in the BTS metadata.

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads