dev-python/python-jose: Remove upstream dep pins, optimize testing

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-02-15 12:39:12 +01:00
parent 0dbe88613e
commit 8887b0e45e

View File

@@ -38,5 +38,12 @@ distutils_enable_sphinx docs
python_prepare_all() {
distutils-r1_python_prepare_all
sed -e '/addopts/d' -i setup.cfg || die
# unpin dependencies
sed -i -e 's:, <[0-9.]*::' setup.cfg || die
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts=
}