public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pytest-tldr] rawhide: Update to 0.2.6
@ 2026-08-06 14:01 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 14:01 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-06 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 14:01 [rpms/python-pytest-tldr] rawhide: Update to 0.2.6 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox