commit:     cd8481a8b415611072824b2826d99581b065257a
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 13:04:53 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 13:04:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd8481a8

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

 dev-python/tablib/tablib-0.12.1-r1.ebuild | 8 +++++---
 1 file 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 d720bb4e446..8f70686e3f7 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"

Reply via email to