Haowei Cai
de596e9317
debug log example
2020-02-18 12:41:51 -08:00
Kubernetes Prow Robot
390f3cfd2b
Merge pull request #1038 from micw523/contrib-1
...
Grammar fixes to contributing doc
2020-02-11 14:44:07 -08:00
Kubernetes Prow Robot
9117d6fd7f
Merge pull request #1076 from roycaihw/release-hot-issues
...
Document hot issues in release process
2020-02-10 15:49:55 -08:00
Haowei Cai
e0794ec5a6
Document hot issues in release process
2020-02-10 15:39:44 -08:00
Kubernetes Prow Robot
0976d59d6f
Merge pull request #1073 from fabianvf/fix-py3-hang
...
Cleanup ThreadPool with atexit rather than __del__
2020-02-10 14:07:54 -08:00
Fabian von Feilitzsch
13dffb8976
Add test to ensure kubernetes client threadpool is cleaned up
2020-02-06 12:55:39 -05:00
Fabian von Feilitzsch
18d21df367
Cleanup ThreadPool with atexit rather than __del__
...
This removes the __del__ function from the generated Python client,
and replaces it with a cleanup function. When a ThreadPool is created,
the cleanup function is registered with the atexit module.
This PR also allows the client to be used as a context manager, which
will automatically clean up after itself rather than having to wait til
process exit.
This fixes issue #1037 , where the API client could hang indefinitely at
garbage collection.
2020-02-06 12:08:51 -05:00
Xianglong Wang
4bb5c1fadf
more fixes and add more information
2020-01-15 13:50:39 -06:00
Nabarun Pal
d5d2a6ae11
Updates README
2020-01-09 23:14:16 +05:30
Kubernetes Prow Robot
5181d2389e
Merge pull request #1049 from eagerworks/fix_custom_object_doc
...
Fix Custom Objects API example
2020-01-09 09:15:46 -08:00
Xianglong Wang
07cddc3f94
minor grammar fix
2020-01-09 10:37:28 -06:00
Nabarun Pal
ad1eec573e
Updates CHANGELOG
2020-01-09 11:15:49 +05:30
JP Balarini
59171faa72
Fix custom object API example
2020-01-08 17:53:34 -03:00
Kubernetes Prow Robot
96766c2d59
Merge pull request #1035 from micw523/enable-dynamic
...
Enables the use of dynamic client
2020-01-06 10:16:17 -08:00
Xianglong Wang
b4e906555b
Grammar fixes to contributing doc
2019-12-23 17:15:24 -06:00
Kubernetes Prow Robot
3634a72ddc
Merge pull request #1007 from cclauss/patch-1
...
Use ==/!= to compare str, bytes, and int literals
2019-12-23 11:23:33 -08:00
Kubernetes Prow Robot
039f167bff
Merge pull request #1031 from micw523/contrib
...
Add Contribution 101
2019-12-23 11:21:33 -08:00
Kubernetes Prow Robot
b871710b8b
Merge pull request #1036 from micw523/api
...
Fix deprecation warning in e2e tests
2019-12-18 14:27:12 -08:00
micw523
02232a2e22
Change apis to api
2019-12-18 15:38:27 -06:00
micw523
6a27be5cd2
enable dynamic client
2019-12-18 15:18:20 -06:00
Kubernetes Prow Robot
706da45eb2
Merge pull request #1034 from micw523/rm-swagger
...
Remove .swagger-codegen
2019-12-18 12:43:57 -08:00
micw523
5be6868304
Remove .swagger-codegen
2019-12-18 14:04:05 -06:00
Xianglong Wang
e16f98e766
Change base repo update to use a single line
2019-12-17 13:35:16 -06:00
Xianglong Wang
f966677563
Format changes, add contents
2019-12-16 16:38:06 -06:00
micw523
a33906c485
Add contribution 101
2019-12-13 16:00:37 -05:00
Kubernetes Prow Robot
ccd3ce4fc2
Merge pull request #1015 from roycaihw/master
...
Update README and CHANGELOG in master branch
2019-11-22 19:41:50 -08:00
Haowei Cai
16911e3e8d
update README
2019-11-22 12:04:17 -08:00
Haowei Cai
eb805aab86
update changelog
2019-11-22 12:04:10 -08:00
Kubernetes Prow Robot
579e96f5c6
Merge pull request #1011 from tomplus/master
...
fix: add client.api package to setup.py
2019-11-22 11:38:43 -08:00
Tomasz Prus
9859cb7cce
fix: add client.api package to setup.py
2019-11-21 10:29:03 +01:00
Christian Clauss
5b94a9a5da
Use ==/!= to compare str, bytes, and int literals
...
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. On n Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8
2019-11-16 14:12:46 +01:00
Kubernetes Prow Robot
02ef5be4ec
Merge pull request #995 from roycaihw/11.0.0-snapshot
...
Generate 11.0.0-snapshot client
2019-11-15 10:50:32 -08:00
Haowei Cai
b3164930dd
turn on warning filter to print deprecation warning by default
2019-11-12 12:51:22 -08:00
Haowei Cai
9d29ac1ded
use new module name in example
2019-11-11 12:05:27 -08:00
Haowei Cai
64beb03480
update CHANGELOG for master branch changes
2019-11-11 12:02:41 -08:00
Haowei Cai
9959273625
hotfix for patching custom objects issue#866
2019-11-11 12:02:41 -08:00
Haowei Cai
dee078639b
Add alias package kubernetes.client.apis with deprecation warning
2019-11-11 12:02:41 -08:00
Haowei Cai
5cddbde0bf
generated client change for 11.0.0-snapshot
2019-11-11 12:02:41 -08:00
Haowei Cai
6c015d1f9d
update version constants for master branch
2019-11-11 12:02:38 -08:00
Haowei Cai
778b25d87f
update base submodule, update CHANGELOG and include CHANGELOG from 11.0.0a1
2019-11-11 12:02:38 -08:00
Kubernetes Prow Robot
3739db034d
Merge pull request #865 from ymalen/patch-1
...
Update README.md
2019-10-31 18:08:53 -07:00
Kubernetes Prow Robot
3aea166b7a
Merge pull request #981 from fooka03/master
...
Merge azure refresh fix from python-base
2019-10-31 18:04:54 -07:00
Yacov Malen
be0a752240
Merge branch 'master' into patch-1
2019-10-23 11:10:48 +03:00
Yacov Malen
d89c7f6a5f
Update README.md
2019-10-23 11:06:53 +03:00
Kubernetes Prow Robot
ca4f31198e
Merge pull request #970 from Jamim/feature/python3.8-tests
...
Enable testing for Python 3.8
2019-10-16 15:18:40 -07: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
9c205e6147
Merge pull request #978 from palnabarun/coverage-pytest-port
...
Port coverage report generation to pytest
2019-10-16 09:45:31 -07:00
Nabarun Pal
064b80e0cd
Moves coverage report generation to pytest from nosetests
...
Adds pytest-cov to requirements
2019-10-16 15:24:10 +05:30
Nigel Foucha
f1339b864d
Merge azure refresh fix from python-base
2019-10-09 13:18:10 -04:00
Kubernetes Prow Robot
2dfb303553
Merge pull request #975 from micw523/patch-1
...
Update py.test to pytest
2019-10-08 17:55:50 -07:00