Yu Liao
9ec2a3f131
generated client change
2022-02-07 10:14:14 -08:00
Yu Liao
f9dfc11e52
generated client change
2022-01-31 11:52:30 -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
mbohlool
ef558a5ce4
Update generated client
2017-06-29 01:34:59 -07:00
Sergi Almacellas Abellana
20fa5b4ded
Add support for python3.6
2017-06-07 10:30:51 +02:00
Sergi Almacellas Abellana
e2d3f6d096
Add tests requires on setup.py
2017-06-02 10:07:26 +02:00
Sergi Almacellas Abellana
a6870afa60
Read setup.py dependencies from requeriments.txt
...
Fixes #136
2017-06-02 10:02:04 +02:00
mbohlool
7aec646a6d
Exclude urllib3 version 1.21 from depedencies as it breaks our code
2017-04-26 13:12:16 -07:00
mbohlool
bc33850424
Fix urllib3 dependency to <=1.20
2017-04-25 13:25:30 -07:00
mbohlool
35ca453a47
Update client code
2017-04-05 15:24:07 -07:00
Davanum Srinivas
8ac4254116
Sync requirements and add license info
...
Follow guidelines in:
https://packaging.python.org/requirements/
* Make sure the same list of packages are in setup.cfg and
requirements.txt
* install_requires reqs in setup.cfg should be "Abstract" with
no version information
* Add License information for each package
Fixes #131
2017-02-22 07:17:48 -05:00
mbohlool
a0b391abc1
Kubernetes is not a valid value for Environment classifier in setup.py
2017-01-10 14:10:23 -08:00
mbohlool
b971b6b5d1
Update generated client after bugfix kubernetes/kubernetes#39465
2017-01-10 13:20:19 -08:00
mbohlool
58aa16506e
Extract DevelopmentStatus as a constant to scripts/constants.py
2017-01-10 11:35:18 -08:00