Commit Graph

27 Commits

Author SHA1 Message Date
Milas Bowman db4878118b
breaking: Python 3.12 compatibility & remove custom SSL adapter (#3185)
Add support for Python 3.12.

`match_hostname` is gone in Python 3.12 and has been unused by
Python since 3.7.

The custom SSL adapter allows passing a specific SSL version; this
was first introduced a looong time ago to handle some SSL issues
at the time.

Closes #3176.

---------

Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-21 10:42:53 -05:00
Aarni Koskela 9313536601 Switch linting from flake8 to ruff
Signed-off-by: Aarni Koskela <akx@iki.fi>
2023-08-15 13:36:53 +03:00
Hugo van Kemenade 8590eaad3c
ci: add support for Python 3.11 (#3064)
Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-11-15 08:10:56 -05:00
Ulysses Souza c8fba210a2 Remove support to pre python 3.6
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-22 10:18:23 -03:00
Joffrey F bdc954b009 Stop supporting EOL Python 3.4
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-05-01 19:51:29 -07:00
Joffrey F d7bb808ca6 Update deps for 3.3 & 3.7 support
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-07-18 19:21:54 -07:00
Joffrey F 0acef5f6d2 Add Python 3.6 testing
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-22 18:08:01 -08:00
Joffrey F cdf9acb185 Pin flake8 version
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-11-07 15:18:26 -08:00
Joffrey F 73d8097b3d Fix test issues
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-03-29 15:39:48 -07:00
Ben Firshman d5bc7dc99a
Drop support for Python 2.6
Because it's ancient. If you're still using it, you can use an old
version of docker-py.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-11-22 17:03:03 +00:00
Thomas Grainger e0b9cb2a8c
support Python 3.5
Signed-off-by: Thomas Grainger <tom.grainger@procensus.com>
2016-05-19 17:59:34 +01:00
Joffrey F 241793b101 Use pip environment markers for conditional dependencies
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-30 11:37:17 -07:00
Joffrey F b0e234eb0c Add py2-ipaddress dependency for python 2.x
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-03-29 17:06:36 -07:00
Joffrey F ae6069eea7 Drop support for python 3.2
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-01-20 12:02:14 -08:00
Aanand Prasad caa64b3f6a Allow overriding of positional args to py.test in tox.ini
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-12-10 12:42:54 +00:00
Joffrey F 93a296fb04 Reorganize test directories
More clearly separate unit and integration tests
Allow splitting into multiple files
Cleaner

Signed-off-by: Joffrey F <joffrey@docker.com>
2015-10-21 16:02:09 -07:00
Aanand Prasad 6e27c2a3d0 Run tests with pytest
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-08-25 16:34:33 +01:00
Joffrey F ed94c0d525 Simplified tox config 2015-06-19 23:16:54 +02:00
Joffrey F 265d500f63 Updated tox.ini to also run utils_test.py tests 2014-11-03 20:07:13 +01:00
Gabor Nagy 8caffe4ef6 Add coverage 2014-07-11 16:13:00 +02:00
Joffrey F 28cb2c5994 Added python3.4 in tox.ini 2014-06-20 21:08:58 +02:00
shin- 6b2f750100 Fixed tox dependencies 2014-04-04 17:50:33 +02:00
shin- 2d56149831 Separated test dependencies from runtime dependencies 2014-04-04 16:41:26 +02:00
Vladimir Rutsky 5c850d4822 Use different requirements list on Python 2 and 3
In Python 3 websocker-client not required (and previously requiested
version doesn't work at all).
2014-03-17 10:37:26 +04:00
shin- acd2607407 Flake8 compliance + flake8 tests in tox.ini 2013-10-15 21:15:01 +02:00
Deni Bertovic 4c040359d0 fix tox.ini file
Tox now uses the development client lib in the local repo instead
if using setup.py to install it into every environment. Also
added deps that points to requiremnts.txt so tox installs the needed
dependencies
2013-09-26 00:37:17 +02:00
Sebastian Vetter 48ed4a1d2e Add python 3 support 2013-07-06 00:32:28 +10:00