Bug#1052028: please update to pydantic 2.x

2024-04-14 Thread Timo Röhling

Hi Alexandre,

* Alexandre Detiste  [2024-04-14 
16:12]:

Now that pydantic-core is available,
I started packaging v2.7.
pydantic-core in Debian is not the latest release, because anything 
above 2.11.0 requires an additional Rust dependency (jiter), which 
in turns needs several other Rust dependencies packaged.


According to the listed requirements, I would expect pydantic 2.4.2 
to be compatible, so I suggest we start there and upgrade to the 
latest release as soon as pydantic-core gains its missing 
dependencies and can be upgraded, too.



Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling   │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄   ╰╯


signature.asc
Description: PGP signature


Bug#1052028: please update to pydantic 2.x

2024-04-14 Thread Alexandre Detiste
Hi,

Now that pydantic-core is available,
I started packaging v2.7.

There's a lot left to do, especially for dataclasses.

Greetings

tests/test_dataclasses.py FF [ 10%]
FF.F.FFFsFFF [ 12%]
FFFFFFssFFFF [ 14%]
FFF.



Bug#1052028: please update to pydantic 2.x

2023-09-24 Thread Salvo Tomaselli
Wouldn't it be better to package it as python3-pydantic2 directly? To avoid 
breaking every software that uses it.

In that way they could just coexist and packages depending on the old one 
wouldn't all suddenly break.

Best

-- 
Salvo Tomaselli

"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei

http://ltworf.github.io/ltworf/

signature.asc
Description: This is a digitally signed message part.


Bug#1052028: please update to pydantic 2.x

2023-09-16 Thread Michael Banck
Hi Timo,

On Sat, Sep 16, 2023 at 12:26:32PM +0200, Timo Röhling wrote:
> I would like to have pydantic updated to the latest 2.x major release,
> because rstcheck depends on it.
> 
> The 2.x API has some breaking changes, but according to the pydantic
> README, version 1.10.4 is shipped as pydantic.v1 legacy module.
> Therefore, any reverse dependency which is incompatible with the 2.x API
> can be fixed trivially at import level.
> 
> As pydantic is only weakly team managed, I am submitting this wishlist
> bug, but I am willing to do the grunt work for this and provide the
> necessary team uploads.

Please go ahead, I don't think I will have time before the end of
Debconf to do this, and then probably even less for a while
afterwards


Michael



Bug#1052028: please update to pydantic 2.x

2023-09-16 Thread Timo Röhling
Source: pydantic
Version: 1.10.4-1
Severity: wishlist
X-Debbugs-Cc: debian-pyt...@lists.debian.org

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dear maintainer,

I would like to have pydantic updated to the latest 2.x major release,
because rstcheck depends on it.

The 2.x API has some breaking changes, but according to the pydantic
README, version 1.10.4 is shipped as pydantic.v1 legacy module.
Therefore, any reverse dependency which is incompatible with the 2.x API
can be fixed trivially at import level.

As pydantic is only weakly team managed, I am submitting this wishlist
bug, but I am willing to do the grunt work for this and provide the
necessary team uploads.

I cc'd the Python team mailing list as advance notice for the
maintainers of affected reverse dependencies.


Cheers
Timo


-BEGIN PGP SIGNATURE-

iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmUFgtIACgkQ+C8H+466
LVlPWgwA48KvUKxcwuy9DEQKH6jPaa7g8vNJXIz7EdXnqhUJAVUlDV+7nJ4T5+rJ
aesvqHpC6NE76Okkm76UhPk3wwCvsvoww+Ib4OHMKfYt9f1QS3FvQvMRSQWZrUpq
+AB0nPfUxc5HepCcH+prshDeUkJ5QmotqeMZTmDbdmZmpHyyF1hAz+0BfgXuJlSg
Gpyew8M/qm4IiN04wdG34JwyVTSGutxcHNV8o4cnupp7TuiYpLFVDVYkeJkdWYq1
vFIH80pHfTvDX+2Gk+KlfJA4tcPxvMu2sZm3S4OvIYSq97FeVWLHBUiZmNYboXIe
doiAC87EFEo/NTjv1xFXzjKYz27ae/XTpTVgS2FD2U1YUYyYUtr88423QrtvUGnz
gDiz+efixPsdy3H26yH1x/Y6qRLQWnag3dyXjPx3xUZgDe0Merhrm5C9Djk8ZKD4
9WuSLNVwXit3n6MMZRZHIdNO/QVxYyFsPSobytXRluroxWVYhOYeSH+uEOhvBYLl
qhf317wZ
=6qsd
-END PGP SIGNATURE-