public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyunormalize] rawhide: Drop leftover tox buildrequires, run unittest directly
@ 2026-10-23 12:05 Peter Lemenkov
0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-10-23 12:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pyunormalize
Branch : rawhide
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=rawhide
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 12:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 12:05 [rpms/python-pyunormalize] rawhide: Drop leftover tox buildrequires, run unittest directly Peter Lemenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox