commit:     809c55df7c2e090b864fef6f5270548c6afd45b2
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 30 20:58:15 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Dec 30 21:19:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809c55df

dev-python/sqlparse: disable tests for "DoS Prevention"

They trigger under system load as well, unsurprisingly. Upstream DoS
tests are "Co-authored-by: AI" so I don't have high hopes that there is
meaningful value to extract from said tests.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-python/sqlparse/sqlparse-0.5.5.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/sqlparse/sqlparse-0.5.5.ebuild 
b/dev-python/sqlparse/sqlparse-0.5.5.ebuild
index eee1681890ba..24f404230c33 100644
--- a/dev-python/sqlparse/sqlparse-0.5.5.ebuild
+++ b/dev-python/sqlparse/sqlparse-0.5.5.ebuild
@@ -21,3 +21,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 
~riscv ~s390 ~sparc
 distutils_enable_sphinx docs/source
 EPYTEST_PLUGINS=()
 distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # more likely to fail because emerging in parallel than because DoS
+       # prevention is in fact broken
+       tests/test_dos_prevention.py
+)

Reply via email to