Your message dated Fri, 08 Jan 2021 07:48:27 +0000
with message-id <e1kxmvx-000cqj...@fasolo.debian.org>
and subject line Bug#977077: fixed in pydantic 1.7.3-1
has caused the Debian Bug report #977077,
regarding pydantic FTBFS with pytest 6
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
977077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977077
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pydantic
Version: 1.2-2
Severity: important
User: pyt...@packages.debian.org
Usertags: pytest-v6

Hi,

pydantic FTBFS with pytest 6 in experimental. The pytest changelog may
offer clues as to why:

    https://docs.pytest.org/en/stable/changelog.html

The error log below has more details.

> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; 
> python3.9 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
> collected 1511 items
> 
> tests/test_abc.py ..                                                     [  
> 0%]
> tests/test_callable.py ....                                              [  
> 0%]
> tests/test_color.py .................................................... [  
> 3%]
> ..................                                                       [  
> 5%]
> tests/test_construction.py ...................                           [  
> 6%]
> tests/test_create_model.py ..............                                [  
> 7%]
> tests/test_dataclasses.py ...............................                [  
> 9%]
> tests/test_datetime_parse.py ........................................... [ 
> 12%]
> .......................................................................  [ 
> 16%]
> tests/test_edge_cases.py ............................................... [ 
> 19%]
> .....................................................................    [ 
> 24%]
> tests/test_errors.py ................                                    [ 
> 25%]
> tests/test_forward_ref.py ................                               [ 
> 26%]
> tests/test_generics.py ...........................                       [ 
> 28%]
> tests/test_json.py .....................................                 [ 
> 30%]
> tests/test_main.py ..................................................... [ 
> 34%]
> .................                                                        [ 
> 35%]
> tests/test_networks.py ................................................. [ 
> 38%]
> ...............................ssssssssssssssssssssssssssssssssssss.     [ 
> 43%]
> tests/test_networks_ipaddress.py ....................................... [ 
> 45%]
> ........................................................................ [ 
> 50%]
> .............................................                            [ 
> 53%]
> tests/test_orm_mode.py ..........                                        [ 
> 54%]
> tests/test_parse.py ..................                                   [ 
> 55%]
> tests/test_schema.py .......................................ss.......... [ 
> 58%]
> ........................................................................ [ 
> 63%]
> .....................................................s..............     [ 
> 68%]
> tests/test_settings.py ............................                      [ 
> 69%]
> tests/test_tools.py .........                                            [ 
> 70%]
> tests/test_types.py .................................................... [ 
> 73%]
> ...........................................................ss........... [ 
> 78%]
> ........................................................................ [ 
> 83%]
> ........................................................................ [ 
> 88%]
> ......ss...............                                                  [ 
> 89%]
> tests/test_types_payment_card_number.py ..................               [ 
> 90%]
> tests/test_utils.py ....................ss.....                          [ 
> 92%]
> tests/test_validators.py ............................................... [ 
> 95%]
> .............F..............................                             [ 
> 98%]
> tests/test_validators_dataclass.py .......                               [ 
> 99%]
> tests/mypy/test_mypy.py sssssssss...                                     
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________ test_assert_raises_validation_error 
> ______________________
> 
>     def test_assert_raises_validation_error():
>         class Model(BaseModel):
>             a: str
>     
>             @validator('a')
>             def check_a(cls, v):
>                 assert v == 'a', 'invalid a'
>                 return v
>     
>         Model(a='a')
>     
>         with pytest.raises(ValidationError) as exc_info:
>             Model(a='snap')
>         injected_by_pytest = "\nassert 'snap' == 'a'\n  - snap\n  + a"
>>       assert exc_info.value.errors() == [
>             {'loc': ('a',), 'msg': f'invalid a{injected_by_pytest}', 'type': 
> 'assertion_error'}
>         ]
> E       assert [{'loc': ('a'...rtion_error'}] == [{'loc': 
> ('a'...rtion_error'}]
> E         At index 0 diff: {'loc': ('a',), 'msg': "invalid a\nassert 'snap' 
> == 'a'\n  - a\n  + snap", 'type': 'assertion_error'} != {'loc': ('a',), 
> 'msg': "invalid a\nassert 'snap' == 'a'\n  - snap\n  + a", 'type': 
> 'assertion_error'}
> E         Use -v to get the full diff
> 
> tests/test_validators.py:717: AssertionError
> =============================== warnings summary 
> ===============================
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1148
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1148: 
> PytestConfigWarning: Unknown config ini key: timeout
>   
>     self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key))
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_validators.py::test_assert_raises_validation_error - 
> assert...
> ============ 1 failed, 1456 passed, 54 skipped, 1 warning in 2.15s 
> =============
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13
> make: *** [debian/rules:8: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: pydantic
Source-Version: 1.7.3-1
Done: Sandro Tosi <mo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
pydantic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 977...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated pydantic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 08 Jan 2021 02:31:43 -0500
Source: pydantic
Architecture: source
Version: 1.7.3-1
Distribution: unstable
Urgency: medium
Maintainer: Michael Banck <mba...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Closes: 977077 977933 977934
Changes:
 pydantic (1.7.3-1) unstable; urgency=medium
 .
   [ Sandro Tosi ]
   * New upstream release; Closes: #977934, #977077
   * Add DPT to Uploaders; Closes: #977933
   * debian/patches
     - drop, no longer needed
   * debian/control
     - add pytest-mock (and nocheck profile) to b-d, needed for tests
     - bump Standards-Version to 4.5.1 (no changes needed)
   * debian/rules
     - install examples
Checksums-Sha1:
 57d7399054afce6706177a120e89b1b87124ff8a 2087 pydantic_1.7.3-1.dsc
 49a0cfe7f09f1cd9cbcb3d6dba23c1ea59b759b1 211456 pydantic_1.7.3.orig.tar.xz
 65c62237129d302307fe6d0d3b45e6340cd91f44 2780 pydantic_1.7.3-1.debian.tar.xz
 7ecb1ef7abab8e8ff003d62d45fc82ff17816f18 7237 pydantic_1.7.3-1_source.buildinfo
Checksums-Sha256:
 202b0d885a2e5c776ef35656f987b733f520dac9ab64c9713fd6f9bfffebe6f3 2087 
pydantic_1.7.3-1.dsc
 2ea8ebe5c3bc5dcf4ecf143c0ef2eef347fda9b0f59fffd7c8cb2cc00a6453e1 211456 
pydantic_1.7.3.orig.tar.xz
 297e54faa273d1f9a15d322c3251847491b4390c30be37ee1a003e913f44fd08 2780 
pydantic_1.7.3-1.debian.tar.xz
 df29688636d127b2671e2af9591dfcf2b40a6c460fc0806717a39e95eecc91cf 7237 
pydantic_1.7.3-1_source.buildinfo
Files:
 58d88c6c2cbe90687732613ea7fa9be2 2087 python optional pydantic_1.7.3-1.dsc
 4c90a8fb26c4fd74de14d7ce74bb6243 211456 python optional 
pydantic_1.7.3.orig.tar.xz
 17b42ed77d16c397e3d7722c4cd163ad 2780 python optional 
pydantic_1.7.3-1.debian.tar.xz
 956f5bd845d0331c8e7d454bd3e1b6a3 7237 python optional 
pydantic_1.7.3-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAl/4CosACgkQh588mTgB
qU8UYhAAm7UjUfLHyVZkseqgB4Me0kW6qBRipl4KVumg/tjAqWv7vncdg1kRllzG
bYjwto2yuMyy+GqXbDeB3BSgZQqmgkSqywvZG4si8Vpg3OYTwNZzLsiHBgADfvoa
lD58HhkYo7gi5eHsm+KIyLEND4cZrrzA2QlRgAltuaM8nV3i2Je/XJDIhrA7RxNb
UNhpuDiY1WL09MraZpdXpONfM1ACAGb7tBy+2GXe+lwg/TS7LqWQxuoEzq4l3HxD
7Rp5fHnIDd1kI9eHn9Lz49Ef05nu7we8YCCYPGdrO1TlZJFaLUG9xq3Tl8HoQr8T
lhKXjivNvrCglbKCV0wd8mV/OYJ108WTzYzf0D262+oXLOdZCNIb5v+VKR/Bx/we
dFvGN/7BRrvzB3txzLN2Lb6npKWITtTM0BIt703xeHM8Q825oIyLQ2eVmPwmoGBn
SrYxXoxZg1FU08pEj35gCvurbErdjxR0lqEwW8dZ5GRw7ulY8mDYnrrtly64xL2w
9E+dRN9di+gsAUq1kx+THmAq1PaAc2egKg0KrDqwxiRGaaPpG68IJaS/Rs/TCn8h
QVbDkBgsliu3H0gvYUitBHkmJgZ1s7yIslMAXnhXd9siOneIi1iRjyIuFRoEUCku
BojukkgFiS3RoqOCLT6Sm/DnkD/D74h4/h1xm1semXqg4sEkw1k=
=pSyI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to