dev-python/tablib: RESTRICT tests

To be able to fast-stabilize due to security bug, we need to RESTRICT
tests because they depend on pandas>=0.23 which is hard to stabilize.

Bug: https://bugs.gentoo.org/659790
Package-Manager: Portage-2.3.48, Repoman-2.3.10
This commit is contained in:
Virgil Dupras
2018-08-24 09:04:53 -04:00
parent 143741d9cc
commit cd8481a8b4

View File

@@ -24,17 +24,19 @@ RDEPEND="
dev-python/xlwt[${PYTHON_USEDEP}]
"
# Presence of pandas older than v0.23 makes tablib tests (which sometimes tries
# to load pandas dataframes) fail.
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
!<dev-python/pandas-0.23
)
"
# Test require >=dev-python/pandas-0.23 which is difficult to stabilize. At the
# time of this writing, we had to stabilize tablib due to a security bug, which
# is why we temporarily RESTRICT tests. Bug #659790
RESTRICT="test"
PATCHES=(
# https://github.com/kennethreitz/tablib/issues/297
"${FILESDIR}/${PN}-0.12.1-no-ujson.patch"