aports/community/py3-build/flit-core-tests.patch
Celeste 348f130688 community/py3-build: fix tests with new flit-core
Fixes:

>       assert trimmed == wheel_files
E       AssertionError: assert {'build/__ini...file.py', ...} == {'build/__ini...file.py', ...}
E
E         Extra items in the left set:
E         'dist-info/licenses/LICENSE'
E         Extra items in the right set:
E         'dist-info/LICENSE'
E         Use -v to get more diff

tests/test_self_packaging.py:119: AssertionError
2025-04-22 17:08:53 +00:00

25 lines
867 B
Diff

Patch-Source: https://github.com/pypa/build/commit/a93a7594655e0d10a409235839fa1af528ba03cc
--
From a93a7594655e0d10a409235839fa1af528ba03cc Mon Sep 17 00:00:00 2001
From: Henry Schreiner <HenrySchreinerIII@gmail.com>
Date: Fri, 21 Feb 2025 15:53:15 -0500
Subject: [PATCH] tests: support new version of flit-core (#863)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
---
tests/test_self_packaging.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_self_packaging.py b/tests/test_self_packaging.py
index 4fc5ebf8..03c66025 100644
--- a/tests/test_self_packaging.py
+++ b/tests/test_self_packaging.py
@@ -59,7 +59,7 @@
'build/env.py',
'build/py.typed',
'build/util.py',
- 'dist-info/LICENSE',
+ 'dist-info/licenses/LICENSE',
'dist-info/METADATA',
'dist-info/RECORD',
'dist-info/WHEEL',