From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testtools/
Date: Mon, 12 Jul 2021 03:14:09 +0000 (UTC) [thread overview]
Message-ID: <1626059632.3be57e9c52fe2103d46ff42c8e5b4d048b09217e.sam@gentoo> (raw)
commit: 3be57e9c52fe2103d46ff42c8e5b4d048b09217e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 12 03:12:13 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 12 03:13:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be57e9c
dev-python/testtools: drop back to EAPI 7 to ease upgrades
This causes an issue because of the following depchain:
samba -> subunit -> testtools (EAPI 8 only)
While we should try drop the subunit dependency from Samba if possible,
let's drop testtools back to EAPI 7 temporarily to ease upgrades
for users, given Samba is a very common package (and even dependency).
Bug: https://bugs.gentoo.org/801637
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/testtools/testtools-2.4.0-r2.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-python/testtools/testtools-2.4.0-r2.ebuild b/dev-python/testtools/testtools-2.4.0-r2.ebuild
index fdc73ff2db9..7f2830ce2d4 100644
--- a/dev-python/testtools/testtools-2.4.0-r2.ebuild
+++ b/dev-python/testtools/testtools-2.4.0-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=8
+EAPI=7
PYTHON_COMPAT=( python3_{8..10} pypy3 )
PYTHON_REQ_USE="threads(+)"
@@ -43,6 +43,10 @@ distutils_enable_tests unittest
src_prepare() {
# eliminate unittest2 & traceback2
sed -i -e '/unittest2/d' -e '/traceback2/d' requirements.txt || die
+ # eliminate linecache2
+ sed -i -e 's/import linecache2 as linecache/import linecache/' \
+ testtools/tests/test_compat.py || die
+
# also conditional imports
find -name '*.py' -exec \
sed -i -e 's:unittest2:unittest:' {} + || die
next reply other threads:[~2021-07-12 3:14 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-12 3:14 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-18 13:08 [gentoo-commits] repo/gentoo:master commit in: dev-python/testtools/ Michał Górny
2024-06-29 7:57 Arthur Zamarin
2024-06-10 18:57 Michał Górny
2024-06-10 18:57 Michał Górny
2024-06-10 14:41 Michał Górny
2023-11-29 10:35 Michał Górny
2023-11-29 10:33 Michał Górny
2023-11-02 14:28 Michał Górny
2023-11-02 14:28 Michał Górny
2023-10-25 2:26 Sam James
2023-07-10 1:50 Michał Górny
2023-07-09 16:51 Arthur Zamarin
2023-05-31 10:50 Michał Górny
2023-04-16 16:31 Arthur Zamarin
2023-03-14 16:57 Michał Górny
2022-11-30 10:18 WANG Xuerui
2022-06-21 18:36 Arthur Zamarin
2022-06-21 18:35 Arthur Zamarin
2022-05-21 11:22 Michał Górny
2022-02-02 7:29 Sam James
2021-08-16 5:20 Agostino Sarubbo
2021-07-14 22:16 Michał Górny
2021-07-05 22:54 Michał Górny
2021-07-05 22:54 Michał Górny
2021-07-05 10:56 Michał Górny
2021-07-01 14:06 Marek Szuba
2020-12-01 17:27 Sam James
2020-07-11 9:34 Michał Górny
2020-07-11 9:34 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2018-07-28 1:08 Mikle Kolyada
2018-07-08 1:30 Matt Thode
2018-01-06 14:13 Michał Górny
2017-08-11 17:06 Michał Górny
2017-07-08 13:54 Alexis Ballier
2017-06-26 11:43 Alexis Ballier
2017-05-15 9:47 Lars Wendler
2017-05-03 7:37 Michał Górny
2017-02-27 3:53 Zac Medico
2016-05-28 15:36 Alex Brandt
2016-02-09 9:33 Justin Lecher
2016-02-07 12:27 Justin Lecher
2016-02-04 12:25 Justin Lecher
2016-01-27 9:26 Justin Lecher
2015-11-23 10:05 Justin Lecher
2015-11-22 8:38 Markus Meier
2015-11-22 5:38 Jeroen Roovers
2015-11-19 10:25 Agostino Sarubbo
2015-11-17 11:03 Justin Lecher
2015-11-16 15:01 Agostino Sarubbo
2015-11-11 17:27 Justin Lecher
2015-11-09 7:42 Justin Lecher
2015-11-05 11:52 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-11-02 11:50 Justin Lecher
2015-11-02 11:50 Justin Lecher
2015-10-22 11:09 Justin Lecher
2015-10-14 13:40 Justin Lecher
2015-10-11 11:44 Mikle Kolyada
2015-09-11 7:53 Justin Lecher
2015-08-24 10:12 Justin Lecher
2015-08-24 10:12 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1626059632.3be57e9c52fe2103d46ff42c8e5b4d048b09217e.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox