Control: tags 1118428 + patch
Control: tags 1118428 + pending

Dear maintainer,

I've prepared an NMU for pdm (versioned as 2.23.1-2.1) and uploaded
it to DELAYED/15. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for pdm-2.23.1 pdm-2.23.1

 changelog                                                               |    7 ++
 patches/0001-fix-update-test-to-use-correct-platform-alias-for-ve.patch |   29 ++++++++++
 patches/series                                                          |    1 
 3 files changed, 37 insertions(+)

diff -Nru pdm-2.23.1/debian/changelog pdm-2.23.1/debian/changelog
--- pdm-2.23.1/debian/changelog	2025-08-12 22:23:10.000000000 +0300
+++ pdm-2.23.1/debian/changelog	2025-11-30 05:26:38.000000000 +0200
@@ -1,3 +1,10 @@
+pdm (2.23.1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream FTBFS fix. (Closes: #1118428)
+
+ -- Adrian Bunk <[email protected]>  Sun, 30 Nov 2025 05:26:38 +0200
+
 pdm (2.23.1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru pdm-2.23.1/debian/patches/0001-fix-update-test-to-use-correct-platform-alias-for-ve.patch pdm-2.23.1/debian/patches/0001-fix-update-test-to-use-correct-platform-alias-for-ve.patch
--- pdm-2.23.1/debian/patches/0001-fix-update-test-to-use-correct-platform-alias-for-ve.patch	1970-01-01 02:00:00.000000000 +0200
+++ pdm-2.23.1/debian/patches/0001-fix-update-test-to-use-correct-platform-alias-for-ve.patch	2025-11-30 05:21:35.000000000 +0200
@@ -0,0 +1,29 @@
+From 97c6af4a1c0e1c652e0a6474488e73193772c5e8 Mon Sep 17 00:00:00 2001
+From: Frost Ming <[email protected]>
+Date: Mon, 4 Aug 2025 08:24:01 +0800
+Subject: fix: update test to use correct platform alias for version comparison 
+ Close #3590
+
+Signed-off-by: Frost Ming <[email protected]>
+---
+ tests/cli/test_install.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/cli/test_install.py b/tests/cli/test_install.py
+index e30c164e..2a326eba 100644
+--- a/tests/cli/test_install.py
++++ b/tests/cli/test_install.py
+@@ -394,8 +394,8 @@ def test_install_from_multi_target_lock(project, pdm, repository, nested, groups
+ def test_install_from_lock_with_higher_version(project, pdm, working_set):
+     project.add_dependencies(["django"])
+     pdm(["lock", "--platform", "manylinux_2_20_x86_64"], obj=project, strict=True)
+-    # linux is an alias for manylinux_2_17_x86_64 which is lower than the target
+-    project.environment.__dict__["spec"] = EnvSpec.from_spec("==3.11", "linux")
++    # Install with manylinux_2_17_x86_64 which is lower than the target
++    project.environment.__dict__["spec"] = EnvSpec.from_spec("==3.11", "manylinux_2_17_x86_64")
+     result = pdm(["install"], obj=project)
+     assert result.exit_code == 0
+     assert "WARNING: Found lock target" in result.stderr
+-- 
+2.30.2
+
diff -Nru pdm-2.23.1/debian/patches/series pdm-2.23.1/debian/patches/series
--- pdm-2.23.1/debian/patches/series	2025-07-28 15:40:05.000000000 +0300
+++ pdm-2.23.1/debian/patches/series	2025-11-30 05:26:36.000000000 +0200
@@ -1 +1,2 @@
 0002_fix_import.patch
+0001-fix-update-test-to-use-correct-platform-alias-for-ve.patch

Reply via email to