From 20f049c2301d09001cf2e36cf698d0256261ddd5 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: May 11 2023 19:55:54 +0000 Subject: Unpin requests-toolbelt --- diff --git a/python-boxsdk.spec b/python-boxsdk.spec index ac967be..1e8fe2e 100644 --- a/python-boxsdk.spec +++ b/python-boxsdk.spec @@ -4,7 +4,7 @@ Name: python-boxsdk Version: 3.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python wrapper for the Box API @@ -13,6 +13,8 @@ URL: https://github.com/box/box-python-sdk Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch +Patch0: unpin.patch + %description %{summary}. @@ -46,7 +48,7 @@ BuildRequires: python%{python3_pkgversion}-jwt Python %{python3_version} version. %prep -%autosetup -n box-python-sdk-%{version} +%autosetup -n box-python-sdk-%{version} -p0 %build %py3_build @@ -66,6 +68,9 @@ pytest-3 %{python3_sitelib}/%{modname}-*.egg-info/ %changelog +* Thu May 11 2023 Gwyn Ciesla - 3.7.1-2 +- Unpin python-requests-toolbelt. + * Tue Apr 18 2023 Gwyn Ciesla - 3.7.1-1 - 3.7.1 diff --git a/unpin.patch b/unpin.patch new file mode 100644 index 0000000..09bed7a --- /dev/null +++ b/unpin.patch @@ -0,0 +1,11 @@ +--- setup.py~ 2023-04-18 06:25:36.000000000 -0500 ++++ setup.py 2023-05-11 14:46:16.529349988 -0500 +@@ -54,7 +54,7 @@ + install_requires = [ + 'attrs>=17.3.0', + 'requests>=2.4.3', +- 'requests-toolbelt>=0.4.0, <1.0.0', ++ 'requests-toolbelt>=0.4.0', + 'python-dateutil', # To be removed after dropping Python 3.6 + ] + redis_requires = ['redis>=2.10.3']