public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-cogapp] rawhide: Update to 3.5.1 and run unit tests during the build
Date: Fri, 21 Aug 2026 17:06:47 GMT	[thread overview]
Message-ID: <178733200713.1.6357350004924704996.rpms-python-cogapp-4b75320ff3be@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-cogapp
Branch : rawhide
Commit : 4b75320ff3be15f45deb9b9bd7ae64de3a0e62e5
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-08-21T16:54:05+00:00
Stats  : +6/-5 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cogapp/c/4b75320ff3be15f45deb9b9bd7ae64de3a0e62e5?branch=rawhide

Log:
Update to 3.5.1 and run unit tests during the build

---
diff --git a/.gitignore b/.gitignore
index e791c6d..8e8a1b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /cogapp-3.3.0.tar.gz
+/cogapp-3.5.1.tar.gz

diff --git a/python-cogapp.spec b/python-cogapp.spec
index 36213c4..25f8539 100644
--- a/python-cogapp.spec
+++ b/python-cogapp.spec
@@ -1,7 +1,7 @@
 %global srcname cogapp
 
 Name:           python-%{srcname}
-Version:        3.3.0
+Version:        3.5.1
 Release:        %autorelease
 Summary:        Content generator for executing Python snippets in source files
 
@@ -11,6 +11,8 @@ Source:         %{pypi_source}
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
+# tox.ini works with coverage
+BuildRequires:  python3-pytest
 
 %global _description %{expand:
 Cog is a file generation tool. It lets you use pieces of Python code as
@@ -36,11 +38,9 @@ Summary:        %{summary}
 %pyproject_install
 %pyproject_save_files %{srcname}
 
-# Remove redundant binary
-rm %{buildroot}%{_bindir}/cog.py
-
 %check
 %pyproject_check_import
+%pytest
 
 %files -n python3-%{srcname} -f %{pyproject_files}
 %doc README.rst AUTHORS.txt

diff --git a/sources b/sources
index c5c025c..abc3db2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cogapp-3.3.0.tar.gz) = 937b9372095ed0805d57083ff1642c66fc231ab65b09156fc0966df4439ced98f220d85e4ebca206b56969e1d721ff7dbb2c2d2550852b41a0dc17594317c322
+SHA512 (cogapp-3.5.1.tar.gz) = 6d1fba2d172211dcbba8da47346bdf95465da52a9f2581568ce47d5851d9508d58155456e16f9eec5555457a63026cc4658c8ca435be1d2f76ab46c03a44743c

                 reply	other threads:[~2026-08-21 17:06 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=178733200713.1.6357350004924704996.rpms-python-cogapp-4b75320ff3be@fedoraproject.org \
    --to=lbalhar@redhat.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