Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tablib/
Date: Fri, 24 Aug 2018 13:05:11
Message-Id: 1535115893.cd8481a8b415611072824b2826d99581b065257a.vdupras@gentoo
1 commit: cd8481a8b415611072824b2826d99581b065257a
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 24 13:04:53 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 24 13:04:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd8481a8
7
8 dev-python/tablib: RESTRICT tests
9
10 To be able to fast-stabilize due to security bug, we need to RESTRICT
11 tests because they depend on pandas>=0.23 which is hard to stabilize.
12
13 Bug: https://bugs.gentoo.org/659790
14 Package-Manager: Portage-2.3.48, Repoman-2.3.10
15
16 dev-python/tablib/tablib-0.12.1-r1.ebuild | 8 +++++---
17 1 file changed, 5 insertions(+), 3 deletions(-)
18
19 diff --git a/dev-python/tablib/tablib-0.12.1-r1.ebuild b/dev-python/tablib/tablib-0.12.1-r1.ebuild
20 index d720bb4e446..8f70686e3f7 100644
21 --- a/dev-python/tablib/tablib-0.12.1-r1.ebuild
22 +++ b/dev-python/tablib/tablib-0.12.1-r1.ebuild
23 @@ -24,17 +24,19 @@ RDEPEND="
24 dev-python/xlwt[${PYTHON_USEDEP}]
25 "
26
27 -# Presence of pandas older than v0.23 makes tablib tests (which sometimes tries
28 -# to load pandas dataframes) fail.
29 DEPEND="
30 dev-python/setuptools[${PYTHON_USEDEP}]
31 test? (
32 ${RDEPEND}
33 dev-python/pytest[${PYTHON_USEDEP}]
34 - !<dev-python/pandas-0.23
35 )
36 "
37
38 +# Test require >=dev-python/pandas-0.23 which is difficult to stabilize. At the
39 +# time of this writing, we had to stabilize tablib due to a security bug, which
40 +# is why we temporarily RESTRICT tests. Bug #659790
41 +RESTRICT="test"
42 +
43 PATCHES=(
44 # https://github.com/kennethreitz/tablib/issues/297
45 "${FILESDIR}/${PN}-0.12.1-no-ujson.patch"