Commit Graph

74 Commits

Author SHA1 Message Date
yliao
109fe00035 generated client change 2024-05-21 22:28:03 +00:00
yliao
c7be3fc235 generated client change 2023-12-18 19:33:52 +00:00
Yu Liao
f494b8de33 generated client change 2023-08-31 01:36:47 +00:00
Kubernetes Prow Robot
51f3e636f3
Merge pull request #2022 from ofek/setuptools
Remove erroneous runtime dependence on setuptools
2023-06-11 15:57:48 -07:00
Yu Liao
42d6156b27 generated client change 2023-05-31 21:09:36 +00:00
Atsushi Yamamoto
8f075d4d14
Include Python 3.11 to setuptools classifiers 2023-03-15 14:50:04 -07:00
Ofek Lev
9a6e009a3e Remove erroneous runtime dependence on setuptools 2023-03-02 13:41:20 -05:00
Tomasz Prus
cdfd750727 Fix snapshot version to be compliant with PEP440. 2023-02-26 12:01:40 +01:00
Yu Liao
356208a0f6 generated client change 2023-01-24 02:04:54 +00:00
Yu Liao
beb98e076f generated client change
Some checks failed
Kubernetes Python Client - Validation / build (3.10) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.6) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.7) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.8) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.9, coverage) (push) Has been cancelled
2022-10-11 20:12:43 +00:00
Yu Liao
8e643c9cb1 generated client change 2022-06-06 21:11:30 +00:00
Haowei Cai
72b03a81f9 generated client change 2022-05-02 11:59:00 -07:00
Yu Liao
ffceaa87d2 generated client change 2022-02-14 14:12:03 -08:00
Yu Liao
443f4a5d07 generated client change 2022-01-04 09:43:10 -08:00
Kubernetes Prow Robot
c21a79feef
Merge pull request #1631 from tdihp/pr-fix-resourcelock
Fix leaderelection.resourcelock not found
2021-11-30 11:45:03 -08:00
Yu Liao
9c3891d40e generated client change 2021-11-29 11:00:29 -08:00
Ping He
c8f1392704 Fix leaderelection.resourcelock not found
Signed-off-by: Ping He <tdihp@hotmail.com>
2021-11-24 10:29:38 +08:00
Yu Liao
6d785aabd5 generated client change 2021-10-25 14:41:05 -07:00
Christian Clauss
d5a7db3cce
Programming Language :: Python :: 3.10 2021-10-15 13:09:17 +02:00
Haowei Cai
ba844599ab generated client change 2021-09-13 12:59:17 -07:00
Scott Lee
0a8c1fdee1 Require python3 2021-08-05 18:24:36 -06:00
Nabarun Pal
c55930bb50
Generate updated client 18.0.0-snapshot
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-09 21:07:31 +05:30
Nabarun Pal
88ca071341
Drop support for Python 3.5
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-06 11:51:58 +05:30
Priyanka Saggu
4431c4d577
drop python2 support from k8s-client/python
Signed-off-by: Priyanka Saggu <priyankasaggu11929@gmail.com>
2021-05-14 23:05:33 +05:30
Soumitra Kumar
d7584c538c Added kubernetes.leaderelection in packages list to fix No module named 'kubernetes.leaderelection' error
To reproduce: Make sure to create a file outside of checked out python repo directory.
$ cat hello_k8s.py
import kubernetes

kubernetes.config.load_kube_config()

k8s = kubernetes.client.CoreV1Api()
print("Listing pods with their IPs:")
ret = k8s.list_pod_for_all_namespaces(watch=False)
for i in ret.items:
    print("%s\t%s\t%s" % (i.status.pod_ip, i.metadata.namespace, i.metadata.name))

python hello_k8s.py
Traceback (most recent call last):
  File "hello_k8s.py", line 1, in <module>
    import kubernetes
  File "<frozen zipimport>", line 259, in load_module
  File "anaconda3/lib/python3.8/site-packages/kubernetes-17.0.0_snapshot-py3.8.egg/kubernetes/__init__.py", line 25, in <module>
ModuleNotFoundError: No module named 'kubernetes.leaderelection'
2021-02-05 15:17:53 -08:00
Haowei Cai (Roy)
f461dd42d4
Merge pull request #1311 from gliptak/python1
Add Python 3.9 to build
2020-11-23 18:25:50 -08:00
Gábor Lipták
213cd83c8a
Add Python 3.9 to build
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2020-11-09 19:28:08 -05:00
Nabarun Pal
598d41ba5f
Generate client 17.0.0
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-07 16:10:08 +05:30
Nabarun Pal
c206745dcd
Generate updated client 2020-04-03 01:46:00 +05:30
Xianglong Wang
dac7ee161b
Add kubernetes.dynamic to setup.py pkg list 2020-03-02 16:37:19 -06:00
Tomasz Prus
9859cb7cce fix: add client.api package to setup.py 2019-11-21 10:29:03 +01:00
Haowei Cai
5cddbde0bf generated client change for 11.0.0-snapshot 2019-11-11 12:02:41 -08:00
Aliaksei Urbanski
4d858922f1 Enable testing for Python 3.8
Python 3.8 is there, so I believe that it would be nice
to declare support and add tests for it on CI.

Python 3.8.0 release announcement:
https://discuss.python.org/t/python-3-8-0-is-now-available/2478
2019-10-16 23:50:01 +03:00
Kubernetes Prow Robot
c1842a3e53
Merge pull request #893 from oz123/docs_update
Docs update
2019-08-02 14:47:56 -07:00
Oz Tiram
3b84216652 Mulitple docs fixes
*  Document how to build the doumentation with sphinx

    For convinience, I added a Makefile which spares one to memorize the
    long sphinx command, or type python setup.py build_sphinx

    You simply use `make html` and you will get the docs.

 * Render README with markdown properly

   conf.py includes some code to work around a  bug in
   common mark. The markdown is now properly converted to HTML.

 * Fix rendering of CONTRIBUTING.md
2019-07-31 18:13:57 +02:00
Oz N Tiram
671bf7dc68 Python 3.4 is no longer supported
This update the setup metadata to indicate this
2019-07-25 07:38:02 +02:00
Haowei Cai
b603b4a9c4 generated client change for 10.0.0-snapshot 2019-04-03 13:53:46 -07:00
Neha Yadav
3d125557c5 Make dependancy adal optional 2019-02-08 03:23:29 +05:30
Haowei Cai
cd411d2707 generated client change for 9.0.0-snapshot version constant update 2018-12-07 16:43:15 -08:00
micw523
de9b187054 Prepare for Python 3.7 tests 2018-11-09 19:58:26 -06:00
micw523
5a92ba65aa Add kubectl create -f feature 2018-10-31 19:34:18 -05:00
Haowei Cai
316509b32a generated client change for 8.0.0 snapshot on master branch
against kubernetes release-1.12 branch
2018-09-28 14:16:18 -07:00
Haowei Cai
5f81a65909 Generated client change for Kubernetes 1.11 2018-07-11 13:31:26 -07:00
Anthony Sottile
e2b7ee7c9e Only depend on ipaddress in python2
The ipaddress module became a standard module in python3.3.

This uses [environment markers][pep508] to only select the `ipaddress` module
in python2.7.  In setuptools, the most compatible way to accomplish this is
through the `extras_require` field (as suggested in the [wheel][wheel] docs).

[pep508]: https://www.python.org/dev/peps/pep-0508/#id23
[wheel]: https://wheel.readthedocs.io/en/latest/#defining-conditional-dependencies
2018-04-11 09:22:01 -07:00
Haowei Cai
71b5abce5a Generated API change for kubernetes 1.10 2018-03-12 11:11:47 -07:00
Haowei Cai
ed052519da Update org and repo name 2018-01-26 15:41:55 -08:00
Haowei Cai
3abfdf9ebd Update master to kubernetes 1.9 2018-01-26 13:44:27 -08:00
mbohlool
6b1a80c67f Updte master to kubernetes 1.8 2017-10-09 17:56:32 -07:00
mbohlool
77a504e294 Fix exec example to use new configuration model 2017-10-09 17:15:34 -07:00
Lars Kellogg-Stedman
ccf288c49a make sure that kubernetes.stream module gets installed
Previously, installing the client using `python setup.py install`
would fail to install the `kubernetes.stream` module, leading to
errors when trying to `import kubernetes`.

Closes #355
2017-10-06 17:06:10 -04:00