Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/warlock/
Date: Sat, 22 Jan 2022 10:56:44
Message-Id: 1642848995.e94749b58e4243a6a66e58a3018d41cf939567c6.mgorny@gentoo
1 commit: e94749b58e4243a6a66e58a3018d41cf939567c6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 22 10:52:34 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 22 10:56:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e94749b5
7
8 dev-python/warlock: Unblock jsonschema-4
9
10 Closes: https://bugs.gentoo.org/722514
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 .../{warlock-1.3.3.ebuild => warlock-1.3.3-r1.ebuild} | 12 +++++++++---
14 1 file changed, 9 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-python/warlock/warlock-1.3.3.ebuild b/dev-python/warlock/warlock-1.3.3-r1.ebuild
17 similarity index 66%
18 rename from dev-python/warlock/warlock-1.3.3.ebuild
19 rename to dev-python/warlock/warlock-1.3.3-r1.ebuild
20 index c49438cbee87..0086c8697dbe 100644
21 --- a/dev-python/warlock/warlock-1.3.3.ebuild
22 +++ b/dev-python/warlock/warlock-1.3.3-r1.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2021 Gentoo Authors
25 +# Copyright 1999-2022 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=7
29 @@ -19,6 +19,12 @@ RDEPEND="
30 >=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
31 <dev-python/jsonpatch-2[${PYTHON_USEDEP}]
32 >=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
33 - <dev-python/jsonschema-4[${PYTHON_USEDEP}]"
34 + <dev-python/jsonschema-5[${PYTHON_USEDEP}]"
35
36 -distutils_enable_tests unittest
37 +distutils_enable_tests pytest
38 +
39 +EPYTEST_DESELECT=(
40 + # broken by jsonschema-4 but this package is dead and glanceclient
41 + # (its only dep) does not seem to be affected
42 + tests/test_core.py::TestCore::test_recursive_models
43 +)