Bug#1013204: markdown-it-py: FTBFS with flit < 3.4 (<3.3?)

2022-06-22 Thread Bastian Germann

Control: severity -1 wishlist
Control: retitle -1 markdown-it-py: backport for bullseye

On Sat, 18 Jun 2022 17:58:24 -0500 "David (Plasma) Paul"  
wrote:

markdown-it-py fails to build from source with versions of flit earlier than
3.4 according to the package's pyproject.toml.[0] Attached is a patch
to fix the declared build dependency on flit in the debian/control file
to match the supported versions listed in the package's pyproject.toml
file.

[0] However, I was able to get markdown-it-py to build with flit
3.3.0-1~bpo11+1, so maybe the value in the pyproject.toml file is
higher than it strictly needs to be. Regardless of what the actual
exact minimum value is, I can confirm that flit 3.0.0 is insufficient.


Please do not file RC bugs when a bookworm/sid only package does not build for 
bullseye-backports.
If you want a backport please express that intend otherwise this is invalid.



Bug#1013204: markdown-it-py: FTBFS with flit < 3.4 (<3.3?)

2022-06-18 Thread David (Plasma) Paul
Source: markdown-it-py
Version: 2.1.0-2
Severity: serious
Tags: ftbfs patch

Dear Maintainer,

markdown-it-py fails to build from source with versions of flit earlier than
3.4 according to the package's pyproject.toml.[0] Attached is a patch
to fix the declared build dependency on flit in the debian/control file
to match the supported versions listed in the package's pyproject.toml
file.

[0] However, I was able to get markdown-it-py to build with flit
3.3.0-1~bpo11+1, so maybe the value in the pyproject.toml file is
higher than it strictly needs to be. Regardless of what the actual
exact minimum value is, I can confirm that flit 3.0.0 is insufficient.

-- 
Plasma
diff -Nru markdown-it-py-2.1.0/debian/control markdown-it-py-2.1.0/debian/control
--- markdown-it-py-2.1.0/debian/control	2022-05-20 14:21:22.0 -0500
+++ markdown-it-py-2.1.0/debian/control	2022-06-18 17:49:09.0 -0500
@@ -4,7 +4,8 @@
 Maintainer: Debian Python Team 
 Uploaders: Emmanuel Arias ,
 Build-Depends: debhelper-compat (= 13),
-   flit,
+   flit (>= 3.4),
+   flit (<< 4),
pybuild-plugin-pyproject,
python3-all,
python3-attr,