From 6291a081e74f088cfc2220f1f91e4aae2d6d6e19 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 10 Nov 2025 12:23:23 +0100 Subject: [PATCH] Make pytest patch in Python-bundle-PyPI-2024.06 more discoverable --- .../Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb | 2 +- .../pytest-8.2.2-fix-assertion-error-on-rerun.patch | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/p/Python-bundle-PyPI/Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb b/easybuild/easyconfigs/p/Python-bundle-PyPI/Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb index 41341debb1d7..f9749ae28e87 100644 --- a/easybuild/easyconfigs/p/Python-bundle-PyPI/Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/p/Python-bundle-PyPI/Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb @@ -357,7 +357,7 @@ exts_list = [ 'checksums': [ {'pytest-8.2.2.tar.gz': 'de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977'}, {'pytest-8.2.2-fix-assertion-error-on-rerun.patch': - '2ef47c08a1c38cc73a1a0325011df635d78b5ba0b7b5d9fe28dd2ebb9c16f5e4'}, + '51389e3600bd284d1fef94ea0c21dacc794dd29ee8c3d5c5ab94207ff86f7815'}, ], }), ('MarkupSafe', '2.1.5', { diff --git a/easybuild/easyconfigs/p/Python-bundle-PyPI/pytest-8.2.2-fix-assertion-error-on-rerun.patch b/easybuild/easyconfigs/p/Python-bundle-PyPI/pytest-8.2.2-fix-assertion-error-on-rerun.patch index 57dd3bf65923..ffb58672977c 100644 --- a/easybuild/easyconfigs/p/Python-bundle-PyPI/pytest-8.2.2-fix-assertion-error-on-rerun.patch +++ b/easybuild/easyconfigs/p/Python-bundle-PyPI/pytest-8.2.2-fix-assertion-error-on-rerun.patch @@ -1,6 +1,10 @@ Fix a bug blocking support of 8.2.2 in pytest-rerunfailures: https://github.com/pytest-dev/pytest-rerunfailures/issues/267 +It fails with +> /Python-bundle-PyPI/2024.06-GCCcore-13.3.0/lib/python3.12/site-packages/_pytest/unittest.py", line 319, in runtest +> assert testcase is not None + From https://github.com/pytest-dev/pytest/pull/12438 From 31791676501f8a8f9eb0d316a6d841a4c0d6738d Mon Sep 17 00:00:00 2001