public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpkg] 1.70-1: Drop nosetests for Python3
@ 2026-08-10 21:44
0 siblings, 0 replies; only message in thread
From: @ 2026-08-10 21:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpkg
Branch : 1.70-1
Commit : ea8943bafcdfcff9ce3845469940f051c4b4c128
Author : Ondřej Nosek <onosek@redhat.com>
Date : 2021-12-14T16:15:59+00:00
Stats : +33/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpkg/c/ea8943bafcdfcff9ce3845469940f051c4b4c128?branch=1.70-1
Log:
Drop nosetests for Python3
and disable pytest coverage during build
Signed-off-by: Ondřej Nosek <onosek@redhat.com>
---
diff --git a/0008-Remove-pytest-coverage-execution.patch b/0008-Remove-pytest-coverage-execution.patch
new file mode 100644
index 0000000..3262d5d
--- /dev/null
+++ b/0008-Remove-pytest-coverage-execution.patch
@@ -0,0 +1,25 @@
+From ec996c939b7e9d606c2345019e9ba4548d352ef8 Mon Sep 17 00:00:00 2001
+From: Ondrej Nosek <onosek@redhat.com>
+Date: Tue, 14 Dec 2021 16:19:08 +0100
+Subject: [PATCH] Remove pytest coverage execution
+
+Signed-off-by: Ondrej Nosek <onosek@redhat.com>
+---
+ setup.cfg | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 9299433..a80f7c3 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -6,7 +6,6 @@ max-line-length = 100
+
+ [tool:pytest]
+ cover-package = pyrpkg
+-addopts = --cov=pyrpkg
+ testpaths = tests
+
+ [egg_info]
+--
+2.31.1
+
diff --git a/rpkg.spec b/rpkg.spec
index d24ac7f..b945191 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -1,6 +1,6 @@
Name: rpkg
Version: 1.63
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Python library for interacting with rpm+git
License: GPLv2+ and LGPLv2
@@ -24,6 +24,7 @@ Patch4: 0004-Print-SpecFile-parsing-debug-info.patch
Patch5: 0005-Fixes-import-fail-with-sources-already-imported.patch
Patch6: 0006-Consider-Patch-tags-in-specfile-parser.patch
Patch7: 0007-Continue-execution-if-specfile-parsing-fails.patch
+Patch8: 0008-Remove-pytest-coverage-execution.patch
# RHEL7 is currently the only release that is built for Python 2.
%if 0%{?fedora} || 0%{?rhel} > 7
@@ -120,7 +121,7 @@ BuildRequires: python3-pycurl
BuildRequires: python3-six >= 1.9.0
BuildRequires: python3-requests
BuildRequires: python3-setuptools
-BuildRequires: python3-nose
+BuildRequires: python3-pytest
BuildRequires: python3-PyYAML
BuildRequires: rpmlint
@@ -216,7 +217,7 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
%endif
%if 0%{?with_python3}
-%{__python3} -m nose tests
+%pytest
%endif
@@ -247,6 +248,10 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
%changelog
+* Tue Dec 14 2021 Ondřej Nosek <onosek@redhat.com> - 1.63-6
+- drop nosetests for Python3
+- disable pytest coverage during build
+
* Wed Dec 01 2021 Ondřej Nosek <onosek@redhat.com> - 1.63-5
- Patch: Continue execution if specfile parsing fails
- Patch: Consider Patch tags in specfile parser
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:44 [rpms/rpkg] 1.70-1: Drop nosetests for Python3
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox