Commit Graph

28 Commits

Author SHA1 Message Date
Flynn
9d620ad4cb Add utility functions to parse and format GEP-2257 Duration strings for Gateway API
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
2024-08-09 23:35:23 -04:00
Tomasz Prus
3b89a714e2 remove ipaddress from requirements.txt 2024-02-04 23:50:07 +01:00
Shantanu
af68284e6e
Drop urllib3 upper bound
This was added in 27459d5c12.

Note that google-auth now requires urllib3>=2 in https://github.com/googleapis/google-auth-library-python/pull/1389

(I'm also not sure that I follow the logic in https://github.com/kubernetes-client/python/pull/2105, since dependency resolvers will be able to work it out)
2023-10-04 01:31:21 -07:00
Jochen Saalfeld
27459d5c12
Setting upper version bound for urllib3
Since google-auth doesn't support urllib3>2.0 (https://github.com/googleapis/google-auth-library-python/issues/1365), an upper version bound for urllib3 needs to be set. Otherwise the package is not installable, since the dependency to google-auth breaks.
2023-08-23 10:32:41 +02:00
danielpodwysocki
a968c3a05f fix broken oauthlib dependency 2023-02-24 23:42:15 +01:00
Nabarun Pal
cd1507671c
Update pyyaml from 3.12 to 5.4.1
5.3.1 fixed partially vulnerabilities disclosed in CVE-2020-1747.
A complete fix was debated at https://github.com/yaml/pyyaml/issues/420
and eventually got patched in 5.4.1

Changeset: https://github.com/yaml/pyyaml/compare/3.12...5.4.1

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-09 21:03:45 +05:30
micw523
f3e3170dd9
Update urllib3 for CVE-2019-11324 2019-07-25 20:06:52 -04:00
Alexey Volkov
a579f15868
Fix broken dependencies.
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.
2019-04-22 18:09:08 -07:00
Neha Yadav
3d125557c5 Make dependancy adal optional 2019-02-08 03:23:29 +05:30
Mehdy Bohlool
4763374eef Potential security fix CVE-2018-20060 2018-12-17 10:19:33 +11:00
Brendan Burns
9afec55f4a Add Azure Active Directory Library to dependencies. 2018-07-23 12:18:17 -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
Matthew Thode
a3ef4c4357
make websocket-client dependency more open
fixes: https://github.com/kubernetes-incubator/client-python/issues/413

The issue as reported in https://github.com/kubernetes-incubator/client-python/issues/262
was not reproduced in versions of websocketclient over 0.43.0, so just mask
the known bad versions.  This allows consumption of possible security fixes and
allows the client to be co-installable with more python libraries.
2017-12-13 11:37:44 -06:00
Damian Myerscough
cbe7ed5a02 Update requirements library for oidc auth (#331)
* Update requirements library for oidc auth

* Update requirements library for oidc auth
2017-08-30 03:21:53 -07:00
mbohlool
e447a955a0 Add requests requirement for gce config refresher 2017-07-21 14:50:54 -07:00
BoySherman
065335bc65 Updating requirement to ensure that a version of websocket greather than or equal to 0.32.0 is used 2017-07-20 09:22:53 +01:00
BoySherman
c4aac96342 Restricting the websocket-client to <=0.40, present PR allows for 0.44 which has again become broken 2017-07-19 13:15:22 +01:00
Spyros Trigazis
afe706d63a Remove oauth2client requirement (#286)
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>
2017-07-07 10:26:06 -07:00
Spyros Trigazis
ae7f2bc9dc Use oauth2 from google-auth
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>
2017-07-06 18:31:15 +02:00
Mehdy Bohlool
3f7933050f Update requirements.txt 2017-04-26 13:58:52 -07: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
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
Davanum Srinivas
066bba1802 Implementation for /exec using websocket
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
2017-02-07 16:48:26 -05:00
mbohlool
f6e417df60 Add ipaddress as a dependency. urllib3 will fix ssl ipaddress hostnames if this package exists 2016-11-23 13:36:33 -08:00
mbohlool
98e675ec3c Add dependency to a newer version of urllib3 that fixes ssl host check with ipaddress 2016-11-16 16:16:26 -08:00
mbohlool
033e180ff3 Add kube config support 2016-11-16 16:16:24 -08:00
mbohlool
69b1cb1a35 Generated client 2016-11-02 13:38:36 -07:00