From 0b30ab603a498ff9cee7379839aa11a0f32be195 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 14 Nov 2024 16:37:55 -0500 Subject: [PATCH] chore(workaround,test): pin coverage to <=7.6.4 Underlying issue is with 7.6.5: reported to https://github.com/nedbat/coveragepy/issues/1891 . First 7.6.1 was tried and it worked. Next bisection is 7.6.3 was ok. nedbat clarified that indeed in 7.6.5 some assertions were added: https://github.com/nedbat/coveragepy/issues/1891#issuecomment-2477760029 So we will just keep it that ceiled until issue resolved. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cc05b4120c..71aa96b011 100755 --- a/setup.py +++ b/setup.py @@ -87,7 +87,8 @@ ], 'devel-utils': [ 'asv', # benchmarks - 'coverage', + # https://github.com/nedbat/coveragepy/issues/1891#issuecomment-2477760029 + 'coverage<=7.6.4', 'gprof2dot', # rendering cProfile output as a graph image 'psutil', 'pytest-xdist', # parallelize pytest runs etc