public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Thomas Moschny <thm@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-py] pr7: Enable tests for Fedora<26.
Date: Sat, 01 Aug 2026 11:43:22 GMT [thread overview]
Message-ID: <178558460279.1.22302445327155501.rpms-python-py-9c251374eeae@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-py
Branch : pr7
Commit : 9c251374eeaec8b7bbf1f9a1fbd59ee96e3916e2
Author : Thomas Moschny <thm@fedoraproject.org>
Date : 2016-12-30T23:05:14+01:00
Stats : +13/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-py/c/9c251374eeaec8b7bbf1f9a1fbd59ee96e3916e2?branch=pr7
Log:
Enable tests for Fedora<26.
---
diff --git a/python-py.spec b/python-py.spec
index 48b1753..2b6d934 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -1,15 +1,20 @@
# we have a circular (build) dependency with the (new) pytest package
# when generating the docs or running the testsuite
%global with_docs 1
-%global run_check 0
+# the testsuite is curremtly not compatible with pytest 3, see
+# https://github.com/pytest-dev/py/issues/104
+%if 0%{fedora} < 26
+%global run_check 1
+%endif
-%global pytest_version 2.5
+%global pytest_version_lb 2.9.0
+%global pytest_version_ub 2.10
%global srcname py
Name: python-%{srcname}
Version: 1.4.32
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT and Public Domain
# main package: MIT, except: doc/style.css: Public Domain
@@ -25,8 +30,8 @@ BuildRequires: python3-setuptools
BuildRequires: python-sphinx
%endif # with_docs
%if 0%{?run_check}
-BuildRequires: python2-pytest >= %{pytest_version}
-BuildRequires: python3-pytest >= %{pytest_version}
+BuildRequires: python2-pytest >= %{pytest_version_lb}, python2-pytest < %{pytest_version_ub}
+BuildRequires: python3-pytest >= %{pytest_version_lb}, python3-pytest < %{pytest_version_ub}
%endif # run_check
# needed by the testsuite
BuildRequires: subversion
@@ -158,6 +163,9 @@ popd
%changelog
+* Fri Dec 30 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.4.32-2
+- Enable tests for Fedora<26.
+
* Thu Dec 29 2016 Thomas Moschny <thomas.moschny@gmx.de> - 1.4.32-1
- Update to 1.4.32.
reply other threads:[~2026-08-01 11:43 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=178558460279.1.22302445327155501.rpms-python-py-9c251374eeae@fedoraproject.org \
--to=thm@fedoraproject.org \
--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