diff --git a/python-kubernetes.spec b/python-kubernetes.spec index 78aec96..698fae2 100644 --- a/python-kubernetes.spec +++ b/python-kubernetes.spec @@ -134,6 +134,13 @@ Python client for the kubernetes API. sed -i 's/1.24.2/1.23/g' requirements.txt %endif +#BZ1758141 - python autorequires do not handles asterisks properly. +#Fedora is using 0.56.0+ since at least Fedora 31 so this works aorund +#the issue by setting the minimum version above the problem versions. +%if 0%{?fedora} > 30 +sed -i 's/websocket-client.*/websocket-client>=0.43.0/g' requirements.txt +%endif + pushd kubernetes rm -rf base tar zxvf %{SOURCE1} @@ -215,6 +222,7 @@ cp -pr kubernetes/e2e_test %{buildroot}%{python3_sitelib}/%{library}/ %changelog * Thu Jan 30 2020 Fedora Release Engineering - 10.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +- Work around BZ1758141 for BZ1799937 * Fri Nov 08 2019 Jason Montleon 10.0.1-1 - Update to upstream 10.0.1