All our libraries that depended on `kubernetes` started breaking today.
The reason is that pip does not do a good job properly resolving the compatible package versions.
It just install packages in order without caring about the incompatibilities.
The urllib3 package installed is incompatible with the `requests` package that's getting installed later.
Changing the order fixes the issue.
In #278 google-auth was added in requirements and in [1]
python-base stopped using it.
Remove oauth2client requirement and update submodule commit.
[1] https://github.com/kubernetes-client/python-base/pull/16
Related-Issue: #275
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
oauth2client is deprecated [1], use google-auth.
When kubernetes-client/base-python is updated to not use
oauth2client, remove oauth2client.
[1] https://github.com/google/oauth2client/releases (see Note)
Closes: #275
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
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
inspired by the POC from @chekolyn
* Adds a new requirement on websocket-client
* Add a new class WSClient that uses WebSocketApp from
the websocket-client.
* Make sure we pass Authorization header
* Make sure we honor the SSL settings in configuration
* Some of the code will get overwritten when we generate
fresh classes from swagger definition. To remind us
added a e2e test so we don't lose the changes
* Added a new configuration option to enable/disable failures
when hostnames in certificates don't match
Fixes#58