Accepting request 1221322 from devel:kubic
- version update to 30.1.0 * please refer to the changelog at https://github.com/kubernetes-client/python/blob/v30.1.0/CHANGELOG.md#v3010 - remove patch: - kubernetes-client-python-pr2178-assertEqual-py312.patch gh#kubernetes-client/python#2178 - merged upstream and released. - Fix formatting of if/else conditional blocks for build/install section OBS-URL: https://build.opensuse.org/request/show/1221322 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kubernetes?expand=0&rev=29
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1468069a573430fb1cb5ad22876868f57977930f80a6749405da31cd6086a7e9
|
||||
size 817854
|
||||
3
kubernetes-30.1.0.tar.gz
Normal file
3
kubernetes-30.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41e4c77af9f28e7a6c314e3bd06a8c6229ddd787cad684e0ab9f69b498e98ebc
|
||||
size 887810
|
||||
@@ -1,22 +0,0 @@
|
||||
From 346e28acab1877906d0d1c817ee16ac6a11a4f8a Mon Sep 17 00:00:00 2001
|
||||
From: Ben Greiner <code@bnavigator.de>
|
||||
Date: Sat, 13 Jan 2024 22:25:26 +0100
|
||||
Subject: [PATCH] Replace deprecated assertEquals call
|
||||
|
||||
---
|
||||
kubernetes/base/config/kube_config_test.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kubernetes/base/config/kube_config_test.py b/kubernetes/base/config/kube_config_test.py
|
||||
index b415492032..1c8bbbe64d 100644
|
||||
--- a/kubernetes/config/kube_config_test.py
|
||||
+++ b/kubernetes/config/kube_config_test.py
|
||||
@@ -1615,7 +1615,7 @@ def test__get_kube_config_loader_file_persist(self):
|
||||
actual = _get_kube_config_loader(filename=config_file,
|
||||
persist_config=True)
|
||||
self.assertTrue(callable(actual._config_persister))
|
||||
- self.assertEquals(actual._config_persister.__name__, "save_changes")
|
||||
+ self.assertEqual(actual._config_persister.__name__, "save_changes")
|
||||
|
||||
def test__get_kube_config_loader_dict_no_persist(self):
|
||||
expected = FakeConfig(host=TEST_HOST,
|
||||
@@ -1,7 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 4 04:42:43 UTC 2024 - Priyanka Saggu <priyanka.saggu@suse.com>
|
||||
|
||||
- version update to 30.1.0
|
||||
* please refer to the changelog at https://github.com/kubernetes-client/python/blob/v30.1.0/CHANGELOG.md#v3010
|
||||
|
||||
- remove patch: - kubernetes-client-python-pr2178-assertEqual-py312.patch
|
||||
gh#kubernetes-client/python#2178 - merged upstream and released.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 13:05:22 UTC 2024 - Priyanka Saggu <priyanka.saggu@suse.com>
|
||||
|
||||
- version update to 29.0.0
|
||||
* please refer to the changelog at https://github.com/kubernetes-client/python/blob/v29.0.0/CHANGELOG.md#v2900
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 21:17:01 UTC 2024 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Fixed %{?sle15_python_module_pythons}
|
||||
- Fixed %{?sle15_python_module_pythons}, jsc#PED-8481
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 18 19:52:07 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
@@ -15,21 +15,19 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-kubernetes
|
||||
Version: 28.1.0
|
||||
Version: 30.1.0
|
||||
Release: 0
|
||||
Summary: Kubernetes python client
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/kubernetes-client/python
|
||||
# Source tar - https://pypi.org/project/kubernetes/#files
|
||||
Source: https://files.pythonhosted.org/packages/source/k/kubernetes/kubernetes-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM kubernetes-client-python-pr2178-assertEqual-py312.patch gh#kubernetes-client/python#2178
|
||||
Patch0: kubernetes-client-python-pr2178-assertEqual-py312.patch
|
||||
BuildRequires: %{python_module PyYAML >= 5.4.1}
|
||||
BuildRequires: %{python_module certifi >= 14.05.14}
|
||||
BuildRequires: %{python_module google-auth >= 1.0.1}
|
||||
BuildRequires: %{python_module oauthlib >= 3.2.2}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module python-dateutil >= 2.5.3}
|
||||
BuildRequires: %{python_module requests-oauthlib}
|
||||
@@ -46,11 +44,15 @@ BuildRequires: %{python_module Sphinx >= 1.4}
|
||||
BuildRequires: %{python_module pluggy >= 0.3.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module recommonmark}
|
||||
%if 0%{?sle_version} && 0%{?sle_version} > 150400
|
||||
# Build python-kubernetes with oauthlib >=3.2.2, for sle_version > SLE-15-SP4
|
||||
BuildRequires: %{python_module oauthlib >= 3.2.2}
|
||||
# /SECTION
|
||||
Requires: python-oauthlib >= 3.2.2
|
||||
%endif
|
||||
Requires: python-PyYAML >= 5.4.1
|
||||
Requires: python-certifi >= 14.05.14
|
||||
Requires: python-google-auth >= 1.0.1
|
||||
Requires: python-oauthlib >= 3.2.2
|
||||
Requires: python-python-dateutil >= 2.5.3
|
||||
Requires: python-requests
|
||||
Requires: python-requests-oauthlib
|
||||
@@ -67,10 +69,24 @@ Python client for kubernetes http://kubernetes.io/
|
||||
%autosetup -p1 -n kubernetes-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?sle_version} && 0%{?sle_version} >= 150500
|
||||
%bcond_without pyproject
|
||||
%else
|
||||
%bcond_with pyproject
|
||||
%endif
|
||||
|
||||
%if %{with pyproject}
|
||||
%pyproject_wheel
|
||||
%else
|
||||
%python_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{with pyproject}
|
||||
%pyproject_install
|
||||
%else
|
||||
%python_install
|
||||
%endif
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -84,6 +100,6 @@ rm kubernetes/dynamic/test_discovery.py
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
%{python_sitelib}/kubernetes
|
||||
%{python_sitelib}/kubernetes-%{version}.dist-info
|
||||
%{python_sitelib}/kubernetes-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user