Colin Watson <cjwat...@debian.org> writes:

> On Sat, Dec 21, 2024 at 02:01:27AM +0100, Simon Josefsson wrote:
>> Simon Josefsson <si...@josefsson.org> writes:
>> > https://salsa.debian.org/python-team/packages/python-tuf
>> 
>> I have uploaded 5.1.0-2 to unstable, however I would appreciate review
>> of python-tuf since I'm new to python packaging.  My main concern is
>> about debian/tests/ and if there are better approaches?
>
> I haven't done a full review, but a quick note on the point you brought
> up: it looks to me as though you could replace the whole of
> debian/tests/ with the field "Testsuite: autopkgtest-pkg-pybuild" in the
> source stanza of debian/control.  See pybuild-autopkgtest(1).

Thanks -- I had some trouble with autopkgtest-pkg-pybuild when I started
packaging, and removed it to simplify things, but later forgot to add it
back in.  It work fine for python-tuf:

https://salsa.debian.org/python-team/packages/python-tuf/-/jobs/6802287

I'll try to adapt this for all the new packages too.

>> The error message is below, does anyone have ideas?  I wonder if
>> pydantic in Debian is too old, or something.
>
> pydantic in Debian is current (assuming this is unstable, anyway - I did
> a small upstream version bump quite recently).  Does upstream test with
> the latest version?

Ah -- I will debug more and will consider that Debian's pydantic may
actually be too new instead.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to