Commit Graph

19 Commits

Author SHA1 Message Date
Fabrice Fontaine dd52b70c4c lang/python/python-docker: assign PKG_CPE_ID
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️docker:docker-py

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-01-29 16:00:22 -08:00
Javier Marcet 99520f9114 python-docker: Update to 7.0.0
Upgrade Notes:
 - Removed SSL version (ssl_version) and explicit hostname check
 (assert_hostname) options
   - assert_hostname has not been used since Python 3.6 and was
   removed in 3.12
   - Python 3.7+ supports TLSv1.3 by default
 - Websocket support is no longer included by default
   - By default, docker-py hijacks the TCP connection and does not use
   Websockets
   - Websocket client is only required to use attach_socket(container,
   ws=True)
 - Python 3.7 no longer officially supported (reached end-of-life June
 2023)

Features:
 - Python 3.12 support
 - Full networking_config support for containers.create()
   - Replaces network_driver_opt (added in 6.1.0)
 - Add health() property to container that returns status (e.g.
 unhealthy)
 - Add pause option to container.commit()
 - Add support for bind mount propagation (e.g. rshared, private)
 - Add filters, keep_storage, and all parameters to prune_builds()
 (requires API v1.39+)

Bugfixes:
 - Consistently return docker.errors.NotFound on 404 responses
 - Validate tag format before image push

Miscellaneous:
 - Upgraded urllib3 version in requirements.txt (used for
 development/tests)
 - Documentation typo fixes & formatting improvements
 - Fixed integration test compatibility for newer Moby engine versions
 - Switch to ruff for linting

Signed-off-by: Javier Marcet <javier@marcet.info>
2024-01-02 15:22:50 -08:00
Javier Marcet c045680a62 python-docker: Update to 6.1.3
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-05 02:24:58 +08:00
Javier Marcet 47665d7ac0 python-docker: Update to 6.1.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-05 02:24:58 +08:00
Jeffery To b1b008f42f
python-packages: Clean up build variables
* Rename PYTHON3_PKG_SETUP_VARS to PYTHON3_PKG_BUILD_VARS, and
  PYTHON3_PKG_SETUP_DIR to PYTHON3_PKG_BUILD_PATH

  The new variable names emphasize that these values apply to the new
  build process.

* Remove PYTHON3_PKG_SETUP_ARGS set to the empty string

  These were set to override the default arguments in the old build
  process and not applicable to the new build process.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:22:03 +08:00
Jeffery To be90d8aecd
python-docker: Add missing build dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Javier Marcet 360383a997 python-docker: Update to 6.0.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 16:35:59 +08:00
Javier Marcet 7b3ceb95d9 python-docker: Update to 6.0.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:17:54 -07:00
Javier Marcet f424ecff1f python-docker: Update to 5.0.3
Features:
 - Add cap_add and cap_drop parameters to service create and
 ContainerSpec
 - Add templating parameter to config create

Bugfixes:
 - Fix getting a read timeout for logs/attach with a tty and slow
 output

Miscellaneous:
 - Fix documentation examples

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-13 17:07:47 -07:00
Javier Marcet e652a8c958 python-docker: Update to 5.0.2
Bugfixes:

 - Fix disable_buffering regression

 - Bring back support for ssh identity file

 - Cleanup remaining python-2 dependencies

 - Fix image save example in docs

Miscellaneous:

 - Bump urllib3 to 1.26.5

 - Bump requests to 2.26.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:11:51 -07:00
Javier Marcet 75fbd91d66 python-docker: Update to 5.0.0
Breaking changes:

- Remove support for Python 2.7

- Make Python 3.6 the minimum version supported

Features:

- Add limit parameter to image search endpoint

Bugfixes:

- Fix KeyError exception on secret create

- Verify TLS keys loaded from docker contexts

- Update PORT_SPEC regex to allow square brackets for IPv6 addresses

- Fix containers and images documentation examples

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-04-11 20:30:25 -07:00
Javier Marcet 22b1ca6326 python-docker: Update to 4.4.4
Bugfixes:

- Remove LD_LIBRARY_PATH and SSL_CERT_FILE environment variables when
shelling out to the ssh client.

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-03-09 17:41:18 +00:00
Javier Marcet cce8b3ab31 python-docker: Update to 4.4.3
Bugfixes:

- Fix SSH port parsing when shelling out to the ssh client

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-02-19 11:00:21 +00:00
Javier Marcet 6d07d26a42 python-docker: Update to 4.4.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-02-15 21:33:47 +00:00
Javier Marcet bd49d48123 python-docker: Update to 4.4.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-01-11 23:02:51 +02:00
Javier Marcet 7724c3bb38 python-docker: Update to 4.3.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-08-24 15:03:18 +02:00
Javier Marcet 3dbc8f050b python-docker: Update to 4.2.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-07-03 01:43:58 +02:00
Jeffery To 836b67db90
python-packages: Remove variants
These packages were in the PR stage when the cleanup occurred and so
still had VARIANT:=python3.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-14 03:29:59 +08:00
Javier Marcet d7a01bbba0 python3-docker: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:58:34 +02:00