🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
5 messages
5 total messages Started by Pieter Lenaerts Sun, 11 Oct 2026 07:10
Bug#1150587: ITP: pydantic-pytest-examples -- Pydantic pytest plugin for testing examples in docstrings and markdown files.
#408
Author: Pieter Lenaerts
Date: Sun, 11 Oct 2026 07:10
22 lines
2426 bytes
Package: wnpp
Severity: wishlist
Owner: Pieter Lenaerts <plenae@disroot.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, plenae@disroot.org

* Package name    : pydantic-pytest-examples
  Version         : 0.0.18
  Upstream Contact: Samuel Colvin https://github.com/samuelcolvin
* URL             : https://github.com/pydantic/pytest-examples
* License         : Expat
  Programming Lang: Python
  Description     : Pydantic pytest plugin for testing examples in docstrings and markdown files.

 pytest-examples can lint code examples using ruff and black, run code
 examples, run code examples and check print statements are inlined correctly
 in the code, etc

This is a dependency for home assistant via pydantic-handlebars,
pydantic-logfire, python-mcp.

I intend to maintain this package in the Python team where I will seek
sponsorship.
Bug#1150587: ITP: pydantic-pytest-examples -- Pydantic pytest plugin for testing examples in docstrings and markdown files.
#447
Author: Colin Watson
Date: Sun, 11 Oct 2026 08:10
19 lines
2614 bytes
On Sun, Oct 11, 2026 at 08:59:22AM +0200, Pieter Lenaerts wrote:
>* Package name    : pydantic-pytest-examples

Since this is also https://pypi.org/project/pytest-examples/, I think 
the source package name should instead be python-pytest-examples; that 
would minimize the chance of somebody else later thinking that it hasn't 
been packaged and repeating the work.  (Of course, the binary package 
name should be python3-pytest-examples.)

>This is a dependency for home assistant via pydantic-handlebars,
>pydantic-logfire, python-mcp.

We patch this out from some existing packages' test suites, but I agree 
it would be better not to have to do that.

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Bug#1150587: ITP: pydantic-pytest-examples -- Pydantic pytest plugin for testing examples in docstrings and markdown files.
#465
Author: Pieter Lenaerts
Date: Sun, 11 Oct 2026 10:40
44 lines
4379 bytes
------ZE21HOL4SCULVD5QIXDJ7X2Y2DHX40
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative;
 boundary=----BESKS76713RA7FLD26IO51VTOQRJH4

------BESKS76713RA7FLD26IO51VTOQRJH4
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

Clear=2E Thanks=2E

How about logfire and pydantic_handlebars? I was thinking to align their n=
aming a bit by using pydantic in the source pkg=2E What do you think?

<https://bugs=2Edebian=2Eorg/1150536>
<https://bugs=2Edebian=2Eorg/1143122>

------BESKS76713RA7FLD26IO51VTOQRJH4
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><body><div dir=3D"auto">Clear=2E Thanks=2E<br><br>How =
about logfire and pydantic_handlebars? I was thinking to align their naming=
 a bit by using pydantic in the source pkg=2E What do you think?<br><br>&lt=
;<a href=3D"https://bugs=2Edebian=2Eorg/1150536">https://bugs=2Edebian=2Eor=
g/1150536</a>&gt;<br>&lt;<a href=3D"https://bugs=2Edebian=2Eorg/1143122">ht=
tps://bugs=2Edebian=2Eorg/1143122</a>&gt;<br></div></body></html>
------BESKS76713RA7FLD26IO51VTOQRJH4--

------ZE21HOL4SCULVD5QIXDJ7X2Y2DHX40
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit

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

iIQEABYIACwlHFBpZXRlciBMZW5hZXJ0cyA8cGxlbmFlQGRpc3Jvb3Qub3JnPgUC
astlAQAKCRAFuPKwcqDg6wqLAQD3ENno+rhNQKaa1IGhUqgBGxTFj2WgghUj8lEJ
vEmgJwEA0QV7mWd6WPKU4MA2LZrNV9ieDjoIuvv9IlHZ2zr8bAM=
=dHim
-----END PGP SIGNATURE-----

------ZE21HOL4SCULVD5QIXDJ7X2Y2DHX40--
Bug#1150587: ITP: pydantic-pytest-examples -- Pydantic pytest plugin for testing examples in docstrings and markdown files.
#474
Author: Colin Watson
Date: Sun, 11 Oct 2026 12:20
26 lines
3573 bytes
On Sun, Oct 11, 2026 at 12:29:21PM +0200, Pieter Lenaerts wrote:
>   How about logfire and pydantic_handlebars? I was thinking to align their
>   naming a bit by using pydantic in the source pkg. What do you think?
>
>   <[1]https://bugs.debian.org/1150536>
>   <[2]https://bugs.debian.org/1143122>

We don't align on GitHub organization names.  The effective namespace 
for published Python packages is nearly always PyPI, so we align on the 
names used there, prefixing "python-" to avoid clashing with other 
ecosystems.  The "python-" prefix may be omitted if there's already some 
prefix that makes it obvious that this is Python, so "pytest-examples" 
would be fine as an alternative to "python-pytest-examples", since 
there's essentially no chance of "pytest" showing up in some other 
ecosystem.

So pydantic_handlebars might be either "python-pydantic-handlebars" or 
"pydantic-handlebars"; I'd go for just "pydantic-handlebars", since none 
of the existing pydantic-* source packages have a "python-" prefix.  But 
logfire should be "python-logfire", because its canonical PyPI name is 
"logfire" (not "pydantic-logfire", which is a redirecting stub), and 
that isn't unambiguously Python enough to make it reasonable to claim 
that name Debian-wide.

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Bug#1150587: pytest-examples: pydantic removed, salsa url added to bug
#483
Author: Pieter Lenaerts
Date: Sun, 11 Oct 2026 13:50
23 lines
2506 bytes
--484f0a14f65443ba3f47ad78015bc542a1f509eadd70518c6dba2e362ab2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8

Removed pydantic from package name.

Source is at=20
https://salsa.debian.org/python-team/packages/pytest-examples

Ready for sponsorship in python team.

--484f0a14f65443ba3f47ad78015bc542a1f509eadd70518c6dba2e362ab2
Content-Type: application/pgp-signature; name="signature.asc"

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

iIkEABYKADEWIQQrLg4/tS9aUxZMq8oFuPKwcqDg6wUCasuToBMccGxlbmFlQGRp
c3Jvb3Qub3JnAAoJEAW48rByoODrrQABAL7yIjATg4w2Pa9VzMVGcfSUt8ZRUFUO
thQ+CtSBWOAkAQDWMrf/4GEEDO/ByoOVYvh3vHbUcgJTl3J+EvpKBMWDAA==
=dXd5
-----END PGP SIGNATURE-----

--484f0a14f65443ba3f47ad78015bc542a1f509eadd70518c6dba2e362ab2--
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