public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jedi/
Date: Mon, 25 Apr 2022 12:11:04 +0000 (UTC)	[thread overview]
Message-ID: <1650888523.6a45298944aefc3a0270f3b09c68517209592ab4.mgorny@gentoo> (raw)

commit:     6a45298944aefc3a0270f3b09c68517209592ab4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 10:53:05 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 12:08:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a452989

dev-python/jedi: Fix test failures

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jedi/jedi-0.18.0.ebuild | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-python/jedi/jedi-0.18.0.ebuild b/dev-python/jedi/jedi-0.18.0.ebuild
index ae592db2a559..59d2c1396385 100644
--- a/dev-python/jedi/jedi-0.18.0.ebuild
+++ b/dev-python/jedi/jedi-0.18.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -52,22 +52,30 @@ python_prepare_all() {
 }
 
 python_test() {
-	local deselect=(
+	local EPYTEST_DESELECT=(
 		# TODO
 		'test/test_integration.py::test_completion[stdlib:155]'
 		'test/test_integration.py::test_completion[on_import:29]'
+		# pytest?
+		'test/test_integration.py::test_completion[conftest:27]'
 		# assume pristine virtualenv
 		test/test_utils.py::TestSetupReadline::test_local_import
 		test/test_inference/test_imports.py::test_os_issues
 		# fragile
 		test/test_speed.py
 	)
-	[[ ${EPYTHON} == python3.10 ]] && deselect+=(
+	[[ ${EPYTHON} != python3.8 ]] && EPYTEST_DESELECT+=(
+		# TODO
+		'test/test_integration.py::test_completion[lambdas:112]'
+	)
+	[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
 		# new features increased the match count again
 		test/test_utils.py::TestSetupReadline::test_import
 
 	)
 
+	# some plugin breaks case-insensitivity on completions
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
 	# django and pytest tests are very version dependent
-	epytest ${deselect[@]/#/--deselect } -k "not django and not pytest"
+	epytest -k "not django and not pytest"
 }


             reply	other threads:[~2022-04-25 12:11 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25 12:11 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-20 13:48 [gentoo-commits] repo/gentoo:master commit in: dev-python/jedi/ Michał Górny
2024-11-30 11:11 Michał Górny
2024-11-11  3:41 Michał Górny
2024-10-30 15:19 Michał Górny
2024-10-30 14:53 Sam James
2024-07-08  9:36 Sam James
2023-11-16 16:44 Michał Górny
2023-11-05 20:58 Michał Górny
2023-11-05 19:10 Arthur Zamarin
2023-10-02 18:35 Arthur Zamarin
2023-08-31  5:13 Michał Górny
2023-08-31  4:21 Sam James
2023-07-30 17:51 Michał Górny
2023-01-07 18:36 Arthur Zamarin
2022-11-22  6:27 Arthur Zamarin
2022-11-06  7:59 Michał Górny
2022-11-06  7:24 Sam James
2022-05-27 19:45 Michał Górny
2022-05-27  9:07 Jakov Smolić
2022-04-25 12:11 Michał Górny
2022-04-25 12:11 Michał Górny
2021-09-05  1:18 Sam James
2021-09-05  1:18 Sam James
2021-08-26  3:00 Sam James
2021-08-24 23:21 Sam James
2021-08-24 18:58 Arthur Zamarin
2021-08-20 23:51 Sam James
2021-08-20  6:00 Agostino Sarubbo
2021-08-20  5:59 Agostino Sarubbo
2021-08-15 19:51 Sam James
2021-08-15  7:42 Michał Górny
2021-08-04 10:23 Sergei Trofimovich
2021-07-25 15:26 Sergei Trofimovich
2021-07-25  3:16 Matt Turner
2021-07-25  3:16 Matt Turner
2021-07-01 14:42 Michał Górny
2021-07-01  8:43 Michał Górny
2021-06-30 12:21 Michał Górny
2021-06-20  1:55 Sam James
2021-01-27  9:00 Michał Górny
2021-01-27  3:06 Sam James
2020-12-25 18:49 Michał Górny
2020-08-20 11:39 Michał Górny
2020-08-19  9:01 Sam James
2020-08-02  8:26 Michał Górny
2020-07-19 18:14 Michał Górny
2020-07-17  4:18 Matt Turner
2020-07-09 10:39 Michał Górny
2020-06-20  7:47 Michał Górny
2020-06-03 17:27 Michał Górny
2020-06-02 12:01 Michał Górny
2020-05-04 11:13 Michał Górny
2020-03-27 16:30 Michał Górny
2020-03-27 16:30 Michał Górny
2020-03-27 16:30 Michał Górny
2020-03-27 16:25 Joonas Niilola
2020-01-29  6:14 Joonas Niilola
2019-12-02 21:13 Aaron Bauman
2018-08-30 17:25 Michał Górny
2018-08-30 17:25 Michał Górny
2018-05-10 21:40 Patrice Clement
2018-04-22  1:35 Thomas Deutschmann
2018-03-21 20:24 Markus Meier
2018-03-12  0:51 Matt Turner
2018-03-04 22:40 Sergei Trofimovich
2017-09-01 10:28 Tim Harder
2017-09-01 10:28 Tim Harder
2017-06-23  7:04 Alexis Ballier
2017-05-03  9:26 Michał Górny
2017-04-26  8:20 Tim Harder
2017-02-16 20:47 Tim Harder
2016-05-22 15:59 Patrice Clement
2016-05-22 15:59 Patrice Clement
2016-01-25 15:11 Justin Lecher
2015-11-03 17:21 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=1650888523.6a45298944aefc3a0270f3b09c68517209592ab4.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