public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] 1.70-1: Drop nosetests for Python3
Date: Mon, 10 Aug 2026 21:44:22 GMT	[thread overview]
Message-ID: <178639826208.1.13777938822457153356.rpms-rpkg-ea8943bafcdf@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-10 21:44 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=178639826208.1.13777938822457153356.rpms-rpkg-ea8943bafcdf@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