summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-08-24 09:04:53 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-08-24 09:04:53 -0400
commitcd8481a8b415611072824b2826d99581b065257a (patch)
tree487400c113797be3dee1916dd6cfb3f9b39cb16c /dev-python
parentsci-physics/root: version bump to 6.14.04 (diff)
downloadgentoo-cd8481a8b415611072824b2826d99581b065257a.tar.gz
gentoo-cd8481a8b415611072824b2826d99581b065257a.tar.bz2
gentoo-cd8481a8b415611072824b2826d99581b065257a.zip
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
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/tablib/tablib-0.12.1-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-python/tablib/tablib-0.12.1-r1.ebuild b/dev-python/tablib/tablib-0.12.1-r1.ebuild
index d720bb4e446e..8f70686e3f7d 100644
--- a/dev-python/tablib/tablib-0.12.1-r1.ebuild
+++ b/dev-python/tablib/tablib-0.12.1-r1.ebuild
@@ -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"