dev-python/kubernetes - 36.0.3 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/kubernetes-36.0.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/kubernetes-36.0.3

Or alternatively:

emerge --autounmask-write -a =dev-python/kubernetes-36.0.3

Package Information

Description:
Kubernetes python client
Homepage:
https://github.com/kubernetes-client/python https://pypi.org/project/kubernetes/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
36.0.3 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

DESCRIPTION="Kubernetes python client"
HOMEPAGE="
	https://github.com/kubernetes-client/python
	https://pypi.org/project/kubernetes/
"
SRC_URI="https://github.com/kubernetes-client/python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}"/python-${PV}

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/certifi-14.5.14[${PYTHON_USEDEP}]
	>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
	>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-6.0.3[${PYTHON_USEDEP}]
	>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
	dev-python/requests-oauthlib[${PYTHON_USEDEP}]
	>=dev-python/urllib3-1.24.2[${PYTHON_USEDEP}]
	!~dev-python/urllib3-2.6.0[${PYTHON_USEDEP}]
	>=dev-python/durationpy-0.7[${PYTHON_USEDEP}]
	<dev-python/aiohttp-4.0.0[${PYTHON_USEDEP}]
	>=dev-python/aiohttp-3.13.5[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()
EPYTEST_IGNORE=(
	# too long
	kubernetes/base/leaderelection/leaderelection_test.py
	kubernetes/leaderelection/leaderelection_test.py
)
EPYTEST_DESELECT=(
	# too many open files, the ulimit must be changed by hand
	'kubernetes/stream/ws_client_test.py::test_rest_call_ignores_env'
	'kubernetes/stream/ws_client_test.py::test_websocket_call_honors_env'
	'kubernetes/test/test_api_client.py::TestApiClient::test_atexit_closes_threadpool'
	'kubernetes/test/test_api_client.py::TestApiClient::test_context_manager_closes_threadpool'
)
distutils_enable_tests pytest

# need more packages to work, but they are not in gentoo nor pentoo, TBD
# distutils_enable_sphinx doc/source dev-python/recommonmark

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/certifi-14.5.14[]
	>=dev-python/six-1.9.0[]
	>=dev-python/python-dateutil-2.5.3[]
	>=dev-python/pyyaml-6.0.3[]
	>=dev-python/websocket-client-0.32.0[]
	dev-python/requests[]
	dev-python/requests-oauthlib[]
	>=dev-python/urllib3-1.24.2[]
	!~dev-python/urllib3-2.6.0[]
	>=dev-python/durationpy-0.7[]
	<dev-python/aiohttp-4.0.0[]
	>=dev-python/aiohttp-3.13.5[]

Manifest for 36.0.3

Type File Size Source URLs
DIST kubernetes-36.0.3.gh.tar.gz 4867117 bytes https://github.com/kubernetes-client/python/archive/refs/tags/v36.0.3.tar.gz