Notification time stamped 2021-03-31 17:01:14 UTC
From 19b62a28cd0120f11aec448acbe28b208450e10f Mon Sep 17 00:00:00 2001
From: František Zatloukal <fzatlouk(a)redhat.com>
Date: Jun 04 2018 11:30:15 +0000
Subject: Support-aniso8601-3.0-in-tests
---
diff --git a/0002-Support-aniso8601-3.0-in-tests.patch
b/0002-Support-aniso8601-3.0-in-tests.patch
new file mode 100644
index 0000000..832bce9
--- /dev/null
+++ b/0002-Support-aniso8601-3.0-in-tests.patch
@@ -0,0 +1,25 @@
+From 54979f0a49b2217babc53c5b65b5df10b6de8e05 Mon Sep 17 00:00:00 2001
+From: Josh Friend <josh(a)fueledbycaffeine.com>
+Date: Thu, 29 Mar 2018 14:55:35 -0400
+Subject: [PATCH] Support aniso8601 >3.0 in tests
+
+---
+ tests/test_inputs.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_inputs.py b/tests/test_inputs.py
+index 90a2fb0..6cb9e9b 100644
+--- tests/test_inputs.py
++++ tests/test_inputs.py
+@@ -417,7 +417,7 @@ def test_bad_isointervals():
+ for bad_interval in bad_intervals:
+ yield (
+ assert_raises,
+- ValueError,
++ Exception,
+ inputs.iso8601interval,
+ bad_interval,
+ )
+--
+2.17.0
+
diff --git a/python-flask-restful.spec b/python-flask-restful.spec
index eec5398..9e4df58 100644
--- a/python-flask-restful.spec
+++ b/python-flask-restful.spec
@@ -13,7 +13,7 @@
Name: python-%{srcname}
Version: 0.3.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: %{sum}
Group: Development/Languages
@@ -22,6 +22,7 @@ URL:
https://www.github.com/%{srcname}/%{srcname}/
Source0:
https://github.com/%{srcname}/%{srcname}/archive/%{version}.tar.gz
Patch0: python-flask-restful.remove_q0_testcase.patch
Patch1: 0001-Fix-arguments-with-type-list-705.patch
+Patch2: 0002-Support-aniso8601-3.0-in-tests.patch
BuildArch: noarch
# those are needed for tests:
@@ -110,6 +111,7 @@ that works with your existing ORM/libraries.
rm -rf docs/_themes/.gitignore
%patch0
%patch1
+%patch2
%build
%py2_build
@@ -142,6 +144,9 @@ rm -rf docs/_themes/.gitignore
%endif
%changelog
+* Mon Jun 04 2018 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 0.3.6-4
+- Backport upstream fix: Support-aniso8601-3.0-in-tests
+
* Thu Mar 29 2018 Frantisek Zatloukal <fzatlouk(a)redhat.com> - 0.3.6-3
- Backport upstream fix: Fix-arguments-with-type-list-705
https://src.fedoraproject.org/rpms/python-flask-restful/c/19b62a28cd0120f...