public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pytest-tldr] rawhide: Update to 0.2.6
Date: Thu, 06 Aug 2026 14:01:33 GMT	[thread overview]
Message-ID: <178602489336.1.3943691575682647310.rpms-python-pytest-tldr-d332c491acfb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-pytest-tldr
            Branch : rawhide
            Commit : d332c491acfb4c8afac79d53f0e79918994918ef
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-06T11:00:37-03:00
            Stats  : +8/-4 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pytest-tldr/c/d332c491acfb4c8afac79d53f0e79918994918ef?branch=rawhide

            Log:
            Update to 0.2.6

Resolves: rhbz#2423890 - python-pytest-tldr fails to build with Python 3.15: tests/test_plugins.py::test_coverage
Resolves: rhbz#2435014 - python-pytest-tldr: FTBFS in Fedora rawhide/f44

---
diff --git a/.gitignore b/.gitignore
index 9459f0d..1d836f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/pytest-tldr-0.2.5.tar.gz
+/pytest-tldr-*.tar.gz

diff --git a/python-pytest-tldr.spec b/python-pytest-tldr.spec
index d276e03..39e2c36 100644
--- a/python-pytest-tldr.spec
+++ b/python-pytest-tldr.spec
@@ -1,13 +1,13 @@
 %global srcname pytest-tldr
 
 Name:           python-%{srcname}
-Version:        0.2.5
+Version:        0.2.6
 Release:        %autorelease
 Summary:        Pytest plugin that limits the output to just the things you need
 
 License:        BSD-3-Clause
 URL:            https://github.com/freakboy3742/pytest-tldr
-Source:         %{pypi_source}
+Source:         %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
@@ -25,6 +25,9 @@ Summary:        %{summary}
 
 %prep
 %autosetup -p1 -n %{srcname}-%{version}
+# Remove version constraints from build-system requires in pyproject.toml
+# as Fedora packages setuptools/setuptools_scm dynamically without these exact pins.
+sed -i -e 's/==[0-9.]*//g' pyproject.toml
 
 %generate_buildrequires
 %pyproject_buildrequires -t
@@ -37,6 +40,7 @@ Summary:        %{summary}
 %pyproject_save_files pytest_tldr
 
 %check
+%pyproject_check_import
 %tox
 
 %files -n python3-%{srcname} -f %{pyproject_files}

diff --git a/sources b/sources
index f21699d..80de8a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pytest-tldr-0.2.5.tar.gz) = 6647c75f587ad300f12379ff7ae10a30a798079d6e47ff0928a63c8d6ef086cbd13d4c76d9e693da823f53ca319025b7a641b628e29698c11f638289dc3e4bd1
+SHA512 (pytest-tldr-0.2.6.tar.gz) = 70e3ec239fec49b540736ea86c613a1a7f17509e160e67ccf9911db5f77e07ca48163a860f0f4bfdd856842d16b57f612142ca7f419840b18ee0ee2725f3bf88

                 reply	other threads:[~2026-08-06 14:01 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=178602489336.1.3943691575682647310.rpms-python-pytest-tldr-d332c491acfb@fedoraproject.org \
    --to=rosset.filipe@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