public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pylint] epel10: Parallelize tests with pytest-xdist
Date: Wed, 04 Nov 2026 22:38:30 GMT [thread overview]
Message-ID: <179383191094.1.11014058357810249935.rpms-pylint-4f97f211b09e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pylint
Branch : epel10
Commit : 4f97f211b09e7080dec0c338d3a27c26c5f50cd9
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2025-08-26T12:15:31+02:00
Stats : +2/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pylint/c/4f97f211b09e7080dec0c338d3a27c26c5f50cd9?branch=epel10
Log:
Parallelize tests with pytest-xdist
This saves time (0:05:22 -> 0:01:47 on my machine).
---
diff --git a/pylint.spec b/pylint.spec
index 5ba6859..b278723 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -23,6 +23,7 @@ BuildRequires: python3-devel
# For tests
BuildRequires: python3-GitPython
BuildRequires: python3-pytest-benchmark
+BuildRequires: python3-pytest-xdist
BuildRequires: python3-typing-extensions
BuildRequires: graphviz
@@ -80,6 +81,7 @@ mv pylint src
# Skip benchmarks
# Deselect all tests failing with Python 3.14
%{__python3} -m pytest -v --ignore=benchmark \
+ -n auto \
--deselect=tests/test_functional.py::test_functional[missing_timeout] \
--deselect=tests/config/pylint_config/test_pylint_config_help.py::test_pylint_config_main_messages \
--deselect=tests/pyreverse/test_writer.py::test_dot_files[packages_No_Name.dot] \
reply other threads:[~2026-11-04 22:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=179383191094.1.11014058357810249935.rpms-pylint-4f97f211b09e@fedoraproject.org \
--to=git-commits@fedoraproject.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