public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyunormalize] f45: Drop leftover tox buildrequires, run unittest directly
Date: Fri, 23 Oct 2026 12:05:32 GMT [thread overview]
Message-ID: <179275713274.1.8064041916203058136.rpms-python-pyunormalize-76df5de906a6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pyunormalize
Branch : f45
Commit : 76df5de906a6a21e6c72d27c3f15978dbb9c295b
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-10-23T13:58:03+02:00
Stats : +1/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyunormalize/c/76df5de906a6a21e6c72d27c3f15978dbb9c295b?branch=f45
Log:
Drop leftover tox buildrequires, run unittest directly
Upstream replaced tox.ini with noxfile.py in 18.0.0, but the spec still
passed -t to %pyproject_buildrequires, which fails without a tox config.
Running nox in %check doesn't work offline either (it creates per-Python
virtualenvs and pip-installs the package), so invoke the same unittest
discovery that the nox "tests" session runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/python-pyunormalize.spec b/python-pyunormalize.spec
index 11b7e2d..d3bec6b 100644
--- a/python-pyunormalize.spec
+++ b/python-pyunormalize.spec
@@ -11,9 +11,7 @@ License: MIT AND Unicode-3.0
URL: https://github.com/mlodewijck/pyunormalize
VCS: git:%{url}.git
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
-BuildRequires: nox
BuildSystem: pyproject
-BuildOption(generate_buildrequires): -t
BuildOption(install): -l %{pypi_name}
%description
@@ -26,7 +24,7 @@ Summary: %{summary}
%{summary}.
%check -a
-nox
+%{py3_test_envvars} %{python3} -m unittest discover -s tests -v
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
reply other threads:[~2026-10-23 12:05 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=179275713274.1.8064041916203058136.rpms-python-pyunormalize-76df5de906a6@fedoraproject.org \
--to=lemenkov@gmail.com \
--cc=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