From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/APScheduler/
Date: Mon, 26 Nov 2018 14:10:18 +0000 (UTC) [thread overview]
Message-ID: <1543241177.7a919b0b4ba9bc47316c557614cf001711c5212f.zmedico@gentoo> (raw)
commit: 7a919b0b4ba9bc47316c557614cf001711c5212f
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 26 14:06:17 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Nov 26 14:06:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a919b0b
dev-python/APScheduler: disable broken tests
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-python/APScheduler/APScheduler-3.3.1.ebuild | 37 +++++++++++++++++++++++--
1 file changed, 35 insertions(+), 2 deletions(-)
diff --git a/dev-python/APScheduler/APScheduler-3.3.1.ebuild b/dev-python/APScheduler/APScheduler-3.3.1.ebuild
index c4f2cbbc9d7..d643457bf3b 100644
--- a/dev-python/APScheduler/APScheduler-3.3.1.ebuild
+++ b/dev-python/APScheduler/APScheduler-3.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -24,11 +24,44 @@ RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
DEPEND="${RDEPEND}
test? (
dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-capturelog[${PYTHON_USEDEP}]
)"
+
+# Tests that are known to fail (some may be triggered by network-sandbox).
+test_failures=(
+ test_add_class_method_job
+ test_add_instance_method_job
+ test_add_job_conflicting_id
+ test_asyncio_executor_shutdown
+ test_get_all_jobs
+ test_get_next_run_time
+ test_get_pending_jobs
+ test_get_pending_jobs_subsecond_difference
+ test_lookup_job
+ test_lookup_nonexistent_job
+ test_one_job_fails_to_load
+ test_remove_all_jobs
+ test_remove_job
+ test_remove_nonexistent_job
+ test_repr_mongodbjobstore
+ test_repr_redisjobstore
+ test_repr_zookeeperjobstore
+ test_run_coroutine_job
+ test_run_coroutine_job_tornado
+ test_update_job
+ test_update_job_clear_next_runtime
+ test_update_job_next_runtime
+ test_update_job_nonexistent_job
+ test_zookeeper_client_keep_open
+ test_zookeeper_client_ref
+)
+
python_prepare_all() {
sed -i -e /setuptools_scm/d setup.py || die
+ while read -r -d ''; do
+ sed -Ee "s:$(echo "${test_failures[@]}"| sed 's: :|:g'):_\\0:" -i "${REPLY}" || die
+ done < <(grep -rElZ "$(echo "${test_failures[@]}"| sed 's: :|:g')" "${S}")
+
distutils-r1_python_prepare_all
}
next reply other threads:[~2018-11-26 14:10 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-26 14:10 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-25 4:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/apscheduler/ Michał Górny
2024-11-22 19:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/APScheduler/ Michał Górny
2023-10-29 5:28 Michał Górny
2023-10-29 5:28 Michał Górny
2023-08-20 2:30 Michał Górny
2023-08-14 14:55 Michał Górny
2023-08-13 19:00 Arthur Zamarin
2023-03-04 5:48 Michał Górny
2023-02-01 4:57 Michał Górny
2023-01-31 16:58 Michał Górny
2022-06-04 17:39 Michał Górny
2022-05-16 12:55 Michał Górny
2022-02-28 8:28 Michał Górny
2022-02-24 22:00 Michał Górny
2021-10-26 4:51 Zac Medico
2021-05-23 10:48 Michał Górny
2021-03-15 2:55 Sam James
2020-10-12 18:36 Zac Medico
2020-05-15 6:40 Zac Medico
2020-05-15 6:39 Zac Medico
2020-03-26 11:16 Michał Górny
2018-12-03 12:03 Virgil Dupras
2018-11-27 7:19 Zac Medico
2018-11-26 14:01 Zac Medico
2018-11-26 13:56 Zac Medico
2018-04-14 17:42 Zac Medico
2017-05-08 3:28 Zac Medico
2017-05-07 16:46 Mike Gilbert
2017-05-04 7:27 Zac Medico
2016-10-19 1:04 Zac Medico
2016-10-17 23:49 Zac Medico
2016-05-11 20:33 Mike Gilbert
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=1543241177.7a919b0b4ba9bc47316c557614cf001711c5212f.zmedico@gentoo \
--to=zmedico@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