gentoo/dev-python/sqlparse/sqlparse-0.5.5.ebuild
Eli Schwartz 809c55df7c
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@gentoo.org>
2025-12-30 16:19:36 -05:00

30 lines
720 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="A non-validating SQL parser module for Python"
HOMEPAGE="
https://github.com/andialbrecht/sqlparse/
https://pypi.org/project/sqlparse/
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
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
)