From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/
Date: Sat, 27 Nov 2021 10:27:35 +0000 (UTC) [thread overview]
Message-ID: <1638008849.6bffdf777597695bb49a758869ac20d27baab879.mgorny@gentoo> (raw)
commit: 6bffdf777597695bb49a758869ac20d27baab879
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 10:11:31 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 10:27:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bffdf77
dev-python/requests-toolbelt: Support testing without pyopenssl
Support ignoring the tests requiring pyopenssl + cryptography
if the packages are not installed. This is in preparation to them
losing keywords due to use of Rust.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 145581a7c94d..c6bf76f2db87 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -19,6 +19,7 @@ RDEPEND="<dev-python/requests-3.0.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
dev-python/betamax[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
)"
@@ -42,5 +43,14 @@ python_test() {
tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper
)
+ local EPYTEST_IGNORE=()
+ if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]" ||
+ ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]"
+ then
+ EPYTEST_IGNORE+=(
+ tests/test_x509_adapter.py
+ )
+ fi
+
epytest
}
next reply other threads:[~2021-11-27 10:27 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-27 10:27 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-11 20:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/ James Le Cuirot
2024-05-18 9:29 Michał Górny
2023-06-01 17:23 Michał Górny
2023-06-01 17:20 Arthur Zamarin
2023-06-01 16:53 Arthur Zamarin
2023-05-02 3:14 Michał Górny
2023-05-02 3:14 Michał Górny
2022-11-08 20:26 Arthur Zamarin
2022-10-25 8:28 Michał Górny
2022-10-07 6:40 Michał Górny
2022-06-21 20:14 Michał Górny
2022-06-21 18:55 Arthur Zamarin
2022-05-22 9:01 Michał Górny
2022-05-22 9:01 Michał Górny
2022-04-25 16:50 Sam James
2021-11-28 14:42 Michał Górny
2021-07-28 23:38 Marek Szuba
2021-03-09 8:47 Michał Górny
2020-11-28 15:26 Sam James
2020-11-28 15:26 Sam James
2020-07-25 8:31 Michał Górny
2020-07-14 15:57 Sam James
2020-07-13 23:13 Sam James
2020-07-05 9:27 Sergei Trofimovich
2020-07-02 17:05 Sergei Trofimovich
2020-07-01 12:21 Michał Górny
2020-06-22 19:05 Mart Raudsepp
2020-06-10 8:11 Michał Górny
2020-05-30 20:33 Sergei Trofimovich
2020-05-30 14:37 Michał Górny
2020-05-27 6:10 Michał Górny
2020-03-17 2:09 Matt Turner
2020-01-28 11:32 Agostino Sarubbo
2020-01-28 10:20 Agostino Sarubbo
2019-12-04 22:28 Patrick McLean
2019-12-04 19:44 Sergei Trofimovich
2019-06-16 6:59 Matthew Thode
2019-05-16 16:00 Matthew Thode
2018-06-07 19:53 Matt Thode
2018-06-02 9:58 Mikle Kolyada
2018-05-29 11:17 Thomas Deutschmann
2018-03-14 1:45 Brian Dolbec
2017-08-11 19:57 Amy Liffey
2017-05-10 22:26 Manuel Rüger
2017-05-01 14:56 Michał Górny
2017-05-01 14:56 Michał Górny
2017-05-01 14:56 Michał Górny
2017-05-01 14:56 Michał Górny
2017-04-15 21:52 Manuel Rüger
2016-08-30 7:13 Amy Winston
2016-08-12 17:49 Amy Winston
2016-02-21 15:18 Amy Winston
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=1638008849.6bffdf777597695bb49a758869ac20d27baab879.mgorny@gentoo \
--to=mgorny@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