alexrecuenco
4d3d9f64b9
Removed Python2 support
...
Closes : #6890
Some remarks,
- `# coding ... utf-8` statements are not needed
- isdigit on strings instead of a try-catch.
- Default opening mode is read, so we can do `open()` without the `'r'` everywhere
- Removed inheritinng from `object` class, it isn't necessary in python3.
- `super(ClassName, self)` can now be replaced with `super()`
- Use of itertools and `chain` on a couple places dealing with sets.
- Used the operator module instead of lambdas when warranted
`itemgetter(0)` instead of `lambda x: x[0]`
`attrgetter('name')` instead of `lambda x: x.name`
- `sorted` returns a list, so no need to use `list(sorted(...))`
- Removed `dict()` using dictionary comprehensions whenever possible
- Attempted to remove python3.2 support
Signed-off-by: alexrecuenco <alejandrogonzalezrecuenco@gmail.com>
2020-08-11 17:45:13 +07:00
dependabot-preview[bot]
f8dd8e8287
Bump docker from 4.2.2 to 4.3.0
...
Bumps [docker](https://github.com/docker/docker-py ) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/docker/docker-py/releases )
- [Commits](https://github.com/docker/docker-py/compare/4.2.2...4.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 21:26:02 +00:00
Anca Iordache
bf5bdab499
Merge pull request #7570 from docker/dependabot/pip/idna-2.10
...
Bump idna from 2.8 to 2.10
2020-08-05 18:08:02 +02:00
dependabot-preview[bot]
5fb1b139ca
Bump requests from 2.22.0 to 2.24.0
...
Bumps [requests](https://github.com/psf/requests ) from 2.22.0 to 2.24.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.22.0...v2.24.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 09:26:45 +00:00
dependabot-preview[bot]
789bfb0e8b
Bump python-dotenv from 0.13.0 to 0.14.0
...
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases )
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/theskumar/python-dotenv/compare/v0.13.0...v0.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 11:25:27 +02:00
Ulysses Souza
15c1cabdad
Merge pull request #7563 from aiordache/validate_context_endpoint
...
Error out when context target is not a docker engine
2020-06-30 18:46:57 +02:00
aiordache
9c376dbe2f
check context in use targets a docker engine
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-06-30 18:27:47 +02:00
dependabot-preview[bot]
ef565ce7a7
Bump idna from 2.8 to 2.10
...
Bumps [idna](https://github.com/kjd/idna ) from 2.8 to 2.10.
- [Release notes](https://github.com/kjd/idna/releases )
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst )
- [Commits](https://github.com/kjd/idna/compare/v2.8...v2.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 21:24:11 +00:00
dependabot-preview[bot]
d8c996a65e
Bump pyyaml from 5.3 to 5.3.1
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 5.3 to 5.3.1.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/5.3...5.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 04:38:19 +02:00
dependabot-preview[bot]
de7f864008
Bump certifi from 2020.4.5.1 to 2020.6.20
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2020.4.5.1 to 2020.6.20.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2020.04.05.1...2020.06.20 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 00:31:28 +02:00
Ulysses Souza
854c14a5bc
Merge pull request #7031 from venthur/remove_python2
...
Removed Python2 support
2020-06-10 17:03:19 +02:00
Ulysses Souza
9f734f7c53
Pin all indirect dependencies
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-04 13:43:27 +02:00
Ulysses Souza
3f0a7fe3ee
Bump docker-py
...
This should fix https problems when running on
remote daemon
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-03 17:49:08 +02:00
Bastian Venthur
5529376d4c
Removed six
...
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
2020-06-03 17:43:16 +02:00
Bastian Venthur
e8424d5ae0
Removed Python2 support
...
Closes : #6890
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
2020-06-03 17:37:47 +02:00
Ulysses Souza
d80e08b3e9
Pin wcwidth==0.1.9
...
wcwidth version 0.2.0 until at least 0.2.3 results in:
[745] Failed to execute script pyi_rth_pkgres
Traceback (most recent call last):
File "site-packages/PyInstaller/loader/rthooks/pyi_rth_pkgres.py", line 13, in <module>
File "/code/.tox/py37/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.__dict__)
File "site-packages/pkg_resources/__init__.py", line 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-02 23:56:34 +02:00
dependabot-preview[bot]
9be0f7bbe6
Bump urllib3 from 1.25.7 to 1.25.9
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.25.7 to 1.25.9.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.7...1.25.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 12:01:08 +00:00
Ulysses Souza
d52b51e8ea
Bump python-dotenv from 0.11.0 to 0.13.0
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-20 18:31:52 +02:00
dependabot-preview[bot]
b7d6dc7941
Bump certifi from 2019.11.28 to 2020.4.5.1
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2019.11.28 to 2020.4.5.1.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-17 15:48:12 +00:00
Ulysses Souza
a62a1e1d62
Add "distro" package
...
This package implements the method 'platform.linux_distribution' removed in
Python 3.8
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-16 20:04:05 +02:00
Ulysses Souza
cfefeaa6f7
Resolve a compatibility issue
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-02-27 10:48:37 +01:00
Ulysses Souza
61b749cecd
Merge pull request #7238 from docker/dependabot/pip/idna-2.9
...
Bump idna from 2.8 to 2.9
2020-02-21 11:54:50 +01:00
dependabot-preview[bot]
0f8e7a8874
Bump idna from 2.8 to 2.9
...
Bumps [idna](https://github.com/kjd/idna ) from 2.8 to 2.9.
- [Release notes](https://github.com/kjd/idna/releases )
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst )
- [Commits](https://github.com/kjd/idna/compare/v2.8...v2.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 22:16:41 +00:00
dependabot-preview[bot]
01df88e1eb
Bump python-dotenv from 0.10.5 to 0.11.0
...
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv ) from 0.10.5 to 0.11.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases )
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/theskumar/python-dotenv/compare/v0.10.5...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 22:15:09 +00:00
Anca Iordache
2dfd85e30e
Use docker context interface from docker-py
...
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-02-06 12:01:37 +01:00
Ulysses Souza
6d2658ea65
Add python-dotenv
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-27 13:50:34 +01:00
Ulysses Souza
d1ef7c41aa
Merge pull request #7140 from docker/dependabot/pip/cached-property-1.5.1
...
Bump cached-property from 1.3.0 to 1.5.1
2020-01-14 19:50:31 +01:00
Ulysses Souza
78dc92246f
Merge pull request #7142 from docker/dependabot/pip/ipaddress-1.0.23
...
Bump ipaddress from 1.0.18 to 1.0.23
2020-01-14 18:51:15 +01:00
dependabot-preview[bot]
dafece4ae5
Bump cached-property from 1.3.0 to 1.5.1
...
Bumps [cached-property](https://github.com/pydanny/cached-property ) from 1.3.0 to 1.5.1.
- [Release notes](https://github.com/pydanny/cached-property/releases )
- [Changelog](https://github.com/pydanny/cached-property/blob/master/HISTORY.rst )
- [Commits](https://github.com/pydanny/cached-property/compare/1.3.0...1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 17:26:05 +00:00
Ulysses Souza
f15e54ab1b
Merge pull request #7090 from docker/dependabot/pip/urllib3-1.25.7
...
Bump urllib3 from 1.24.2 to 1.25.7
2020-01-14 18:25:49 +01:00
Ulysses Souza
71e166e3bd
Merge pull request #7139 from docker/dependabot/pip/certifi-2019.11.28
...
Bump certifi from 2017.4.17 to 2019.11.28
2020-01-14 18:24:58 +01:00
dependabot-preview[bot]
120a7b1b06
Bump ipaddress from 1.0.18 to 1.0.23
...
Bumps [ipaddress](https://github.com/phihag/ipaddress ) from 1.0.18 to 1.0.23.
- [Release notes](https://github.com/phihag/ipaddress/releases )
- [Commits](https://github.com/phihag/ipaddress/compare/v1.0.18...v1.0.23 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 17:23:07 +00:00
dependabot-preview[bot]
661afb4003
Bump paramiko from 2.6.0 to 2.7.1
...
Bumps [paramiko](https://github.com/paramiko/paramiko ) from 2.6.0 to 2.7.1.
- [Release notes](https://github.com/paramiko/paramiko/releases )
- [Changelog](https://github.com/paramiko/paramiko/blob/master/NEWS )
- [Commits](https://github.com/paramiko/paramiko/compare/2.6.0...2.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 13:34:32 +00:00
dependabot-preview[bot]
707a340304
Bump certifi from 2017.4.17 to 2019.11.28
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2017.4.17 to 2019.11.28.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2017.04.17...2019.11.28 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 13:32:31 +00:00
Ulysses Souza
26f1aeff15
Merge pull request #7054 from docker/dependabot/pip/jsonschema-3.2.0
...
Bump jsonschema from 3.0.1 to 3.2.0
2020-01-09 15:30:05 +01:00
Sergey Fursov
c818bfc62c
support PyYAML up to 5.x version
...
Signed-off-by: Sergey Fursov <geyser85@gmail.com>
2020-01-09 12:30:51 +01:00
dependabot-preview[bot]
4ace98acbe
Bump jsonschema from 3.0.1 to 3.2.0
...
Bumps [jsonschema](https://github.com/Julian/jsonschema ) from 3.0.1 to 3.2.0.
- [Release notes](https://github.com/Julian/jsonschema/releases )
- [Changelog](https://github.com/Julian/jsonschema/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/Julian/jsonschema/compare/v3.0.1...v3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 15:01:58 +00:00
Ulysses Souza
36790fc0e8
Merge pull request #7058 from docker/dependabot/pip/idna-2.8
...
Bump idna from 2.5 to 2.8
2020-01-08 16:00:45 +01:00
Ulysses Souza
23d663a84e
Merge pull request #7059 from docker/dependabot/pip/pysocks-1.7.1
...
Bump pysocks from 1.6.7 to 1.7.1
2020-01-08 15:58:00 +01:00
dependabot-preview[bot]
81e3566ebd
Bump urllib3 from 1.24.2 to 1.25.7
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.24.2 to 1.25.7.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.24.2...1.25.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 14:42:12 +00:00
Ulysses Souza
bd0ec191bd
Merge pull request #7092 from docker/dependabot/pip/colorama-0.4.3
...
Bump colorama from 0.4.0 to 0.4.3
2020-01-08 15:41:40 +01:00
dependabot-preview[bot]
f2f6b30350
Bump websocket-client from 0.32.0 to 0.57.0
...
Bumps [websocket-client](https://github.com/websocket-client/websocket-client ) from 0.32.0 to 0.57.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases )
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog )
- [Commits](https://github.com/websocket-client/websocket-client/compare/v0.32.0...v0.57.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 09:17:12 +00:00
dependabot-preview[bot]
75c45c27df
Bump pysocks from 1.6.7 to 1.7.1
...
Bumps [pysocks](https://github.com/Anorov/PySocks ) from 1.6.7 to 1.7.1.
- [Release notes](https://github.com/Anorov/PySocks/releases )
- [Changelog](https://github.com/Anorov/PySocks/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Anorov/PySocks/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 09:17:04 +00:00
Nicolas De Loof
0e826efee5
attempt to fix windows build
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-01-08 10:15:48 +01:00
dependabot-preview[bot]
025002260b
Bump colorama from 0.4.0 to 0.4.3
...
Bumps [colorama](https://github.com/tartley/colorama ) from 0.4.0 to 0.4.3.
- [Release notes](https://github.com/tartley/colorama/releases )
- [Changelog](https://github.com/tartley/colorama/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/tartley/colorama/compare/0.4.0...0.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 13:31:00 +00:00
dependabot-preview[bot]
101ee1cd62
Bump idna from 2.5 to 2.8
...
Bumps [idna](https://github.com/kjd/idna ) from 2.5 to 2.8.
- [Release notes](https://github.com/kjd/idna/releases )
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst )
- [Commits](https://github.com/kjd/idna/compare/v2.5...v2.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 13:27:05 +00:00
okor
17bbbba7d6
update docker-py
...
Signed-off-by: Jason Ormand <jason.ormand1@gmail.com>
2019-10-18 09:37:24 +02:00
Nicolas De Loof
452880af7c
Use python Posix support to get tty size
...
stty is not portable outside *nix
Note: shutil.get_terminal_size require python 3.3
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-10-16 14:31:27 +02:00
Nicolas De Loof
8973a940e6
Bump paramiko to 2.6.0
...
close #6953
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-10-10 08:55:15 +02:00
Antonio Gutierrez
66856e884c
requirements: update jsonschema dependency
...
Fixes: https://github.com/docker/compose/issues/6347
Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com>
2019-07-27 21:43:40 +02:00