17
0
Files
python-kubernetes/python-kubernetes.spec
Dirk Mueller 45547b284c Accepting request 1006979 from home:yarunachalam:branches:devel:languages:python
- Update to v24.2.0
  Uncategorized
  The dynamic client now support the _request_timeout parameter to configure connection and request timeouts. (#1732, @philipp-sontag-by)
- Update to v24.1.0b1
  Uncategorized
  The dynamic client now support the _request_timeout parameter to configure connection and request timeouts. (#1732, @philipp-sontag-by)
- Update to v24.1.0a1
  API Change
  Add 2 new options for kube-proxy running in winkernel mode. --forward-healthcheck-vip, if specified as true, health check traffic whose
  destination is service VIP will be forwarded to kube-proxy's healthcheck service. --root-hnsendpoint-name specifies the name of the hns endpoint
  for the root network namespace. This option enables the pass-through load balancers like Google's GCLB to correctly health check the backend services.
  Without this change, the health check packets is dropped, and Windows node will be considered to be unhealthy by those load balancers.
  (kubernetes/kubernetes#99287, @anfernee)
  Added CEL runtime cost calculation into CustomerResource validation. CustomerResource validation will fail if runtime cost exceeds the budget.
  (kubernetes/kubernetes#108482, @cici37)
  Added a new metric webhook_fail_open_count to monitor webhooks that fail to open. (kubernetes/kubernetes#107171, @ltagliamonte-dd)
  Adds a new Status subresource in Network Policy objects (kubernetes/kubernetes#107963, @rikatz)
  Adds support for InterfaceNamePrefix and BridgeInterface as arguments to --detect-local-mode option and also introduces a new optional
  --pod-interface-name-prefix and --pod-bridge-interface flags to kube-proxy. (kubernetes/kubernetes#95400, @tssurya)
  CEL CRD validation expressions may now reference existing object state using the identifier oldSelf. (kubernetes/kubernetes#108073, @benluddy)
  CRD deep copies should no longer contain shallow copies of JSONSchemaProps.XValidations. (kubernetes/kubernetes#107956, @benluddy)
  CRD writes will generate validation errors if a CEL validation rule references the identifier oldSelf on a part of the schema that does not
  support it. (kubernetes/kubernetes#108013, @benluddy)
  CSIStorageCapacity.storage.k8s.io: The v1beta1 version of this API is deprecated in favor of v1, and will be removed in v1.27. If a CSI driver
  supports storage capacity tracking, then it must get deployed with a release of external-provisioner that supports the v1 API. (kubernetes/kubernetes#108445, @pohly)
  Custom resource requests with fieldValidation=Strict consistently require apiVersion and kind, matching non-strict requests (kubernetes/kubernetes#109019, @liggitt)
  Feature of DefaultPodTopologySpread is graduated to GA (kubernetes/kubernetes#108278, @kerthcet)
  Feature of NonPreemptingPriority is graduated to GA (kubernetes/kubernetes#107432, @denkensk)
  Feature of PodOverhead is graduated to GA (kubernetes/kubernetes#108441, @pacoxu)
  Fixed OpenAPI serialization of the x-kubernetes-validations field (kubernetes/kubernetes#107970, @liggitt)

OBS-URL: https://build.opensuse.org/request/show/1006979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kubernetes?expand=0&rev=36
2022-09-29 19:03:02 +00:00

84 lines
2.9 KiB
RPMSpec

#
# spec file for package python-kubernetes
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-kubernetes
Version: 24.2.0
Release: 0
Summary: Kubernetes python client
License: Apache-2.0
URL: https://github.com/kubernetes-incubator/client-python
Source: https://files.pythonhosted.org/packages/source/k/kubernetes/kubernetes-%{version}.tar.gz
# https://github.com/kubernetes-client/python/issues/1790
Patch0: python-kubernetes-no-mock.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 pluggy}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= 2.5.3}
BuildRequires: %{python_module recommonmark}
BuildRequires: %{python_module requests-oauthlib}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools >= 21.0.0}
BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: %{python_module urllib3 >= 1.23}
BuildRequires: %{python_module websocket-client >= 0.32.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 5.4.1
Requires: python-certifi >= 14.05.14
Requires: python-google-auth >= 1.0.1
Requires: python-python-dateutil >= 2.5.3
Requires: python-requests
Requires: python-requests-oauthlib
Requires: python-setuptools >= 21.0.0
Requires: python-six >= 1.9.0
Requires: python-urllib3 >= 1.24.2
Requires: python-websocket-client >= 0.32.0
BuildArch: noarch
%python_subpackages
%description
Python client for kubernetes http://kubernetes.io/
%prep
%autosetup -p1 -n kubernetes-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# quote CONTRIBUTING.md:
# 2. [End to end tests](kubernetes/e2e_test): these are tests that can only be verified with a live kubernetes server.
rm kubernetes/dynamic/test_client.py
rm kubernetes/dynamic/test_discovery.py
%pytest
%files %{python_files}
%license LICENSE
%doc README.md CHANGELOG.md
%{python_sitelib}/*
%changelog