15
0
forked from pool/python-docker
Commit Graph

31 Commits

Author SHA256 Message Date
4cff894d3e - mention remoived patch names in changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=59
2024-08-28 13:57:40 +00:00
7ec743f316 Accepting request 1196072 from home:nkrapp:branches:devel:languages:python
- Update to 7.1.0
  * Bumped minimum engine API version to 1.24
  * Bumped default engine API version to 1.44 (Moby 25.0)
  * Fixed issue with lang parsing when the registry address
    includes ports taht resulted in `invalid tag format` errors
  * Fixed issue preventing creating new configs (ConfigCollection),
    which failed with a KeyError due to the name field
  * Fixed an issue due to an update in the requests package breaking
    docker-py by applying the suggested fix
  * Documentation improvements
  * Updated Ruff (linter) and fixed minor linting issues
  * Started using hatch for packaging
  * Stopped checking for deprecated container and image related 
    fields (Container and ContainerConfig)
  * Updated tests that check NetworkSettings.Networks.<network>.Aliases
    due to engine changes
- change source url as release tarball doesn't include tests anymore
- drop patches which are now included upstream

OBS-URL: https://build.opensuse.org/request/show/1196072
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=58
2024-08-28 11:13:33 +00:00
60322ccd89 Accepting request 1176158 from home:ojkastl_buildservice:Branch_devel_languages_python
- backport patches to fix errors with requests 2.32.x:
  * 2a059a9f19c7b37c6c71c233754c6845e325d1ec.patch
  * e33e0a437ecd895158c8cb4322a0cdad79312636.patch

OBS-URL: https://build.opensuse.org/request/show/1176158
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=56
2024-05-23 10:01:38 +00:00
d1af4fc2ea - update to 7.0.0:
* Removed SSL version (`ssl_version`) and explicit hostname
    check (`assert_hostname`) options (#3185)
  * Python 3.7+ supports TLSv1.3 by default
  * Websocket support is no longer included by default (#3123)
  * Use `pip install docker[websockets]` to include `websocket-
    client` dependency
  * 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 supported (reached end-of-life June
    2023) (#3187)
  * Python 3.12 support (#3185)
  * 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()` (#3159)
  * Add support for bind mount propagation (e.g. `rshared`,
    `private`)
  * Add support for `filters`, `keep_storage`, and `all` in
    `prune_builds()` on API v1.39+ (#3192)
  * Consistently return `docker.errors.NotFound` on 404 responses
  * Validate tag format before push (#3191)
- Bump required version of pycreds to 0.4.0 (sync with requirements.txt)
- update to 3.7.0 (mandatory for latest docker-compose)
- add python-dockerpycreds dependency in the spec file
  rebase hide_py_pckgmgmt.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=54
2023-12-27 09:32:05 +00:00
cb10485c2e Accepting request 1094902 from home:ojkastl_buildservice:Branch_devel_languages_python
large update to 6.1.3 to fix builds; recreated spec file using py2pack

OBS-URL: https://build.opensuse.org/request/show/1094902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=52
2023-06-25 19:14:34 +00:00
73c2c81090 Accepting request 1085684 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=50
2023-05-09 20:50:21 +00:00
d1a0f2a06c Accepting request 1010114 from home:pgajdos:python
- python-six is not required as well

OBS-URL: https://build.opensuse.org/request/show/1010114
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=48
2022-10-12 08:34:53 +00:00
96da78297f Accepting request 962496 from home:pgajdos:python
- python-mock actually not required for build

OBS-URL: https://build.opensuse.org/request/show/962496
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=46
2022-03-18 09:57:34 +00:00
b98f99ced7 - update to 5.0.3:
* Add cap_add and cap_drop parameters to service create and ContainerSpec
  * Add templating parameter to config create
  * Bump urllib3 to 1.26.5
  * Bump requests to 2.26.0
  * Remove support for Python 2.7
  * Make Python 3.6 the minimum version supported

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=45
2021-12-11 22:15:02 +00:00
a45b6f65ac Accepting request 877794 from home:cbcoutinho:branches:devel:languages:python
Update to 4.4.4, switch to pypi instead of github

OBS-URL: https://build.opensuse.org/request/show/877794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=43
2021-03-10 09:57:42 +00:00
aa73a26d4d - update to 4.4.0:
- Add an alternative SSH connection to the paramiko one, based on shelling out to the SSh client. Similar to the behaviour of Docker cli
  - Default image tag to `latest` on `pull`
  - Fix plugin model upgrade
  - Fix examples URL in ulimits
  - Improve exception messages for server and client errors
  - Bump cryptography from 2.3 to 3.2
  - Set default API version to `auto`
  - Fix conversion to bytes for `float`
  - Support OpenSSH `identityfile` option
  - Add `DeviceRequest` type to expose host resources such as GPUs
  - Add support for `DriverOpts` in EndpointConfig
  - Disable compression by default when using container.get_archive method
  - Update default API version to v1.39
  - Update test engine version to 19.03.12

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=41
2020-12-20 09:56:54 +00:00
27b9be6190 - update to 4.2.2:
- Fix context load for non-docker endpoints

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=39
2020-07-10 12:16:34 +00:00
313c37b44c - update to 4.2.1:
- Add option on when to use `tls` on Context constructor
  - Make context orchestrator field optional

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=37
2020-06-08 13:36:43 +00:00
Tomáš Chvátal
8412fc0bf8 Accepting request 772520 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/772520
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=35
2020-02-09 18:33:09 +00:00
Tomáš Chvátal
b8dd3497ab Accepting request 750609 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/750609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=33
2019-11-29 09:44:03 +00:00
Tomáš Chvátal
ee712f349e Accepting request 719411 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/719411
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=31
2019-07-29 08:41:58 +00:00
Tomáš Chvátal
c670b22d72 - Update to 3.7.2:
* Fix base_url to keep TCP protocol on utils.py by letting the responsability of changing the
    protocol to parse_host afterwards, letting base_url with the original value.
  * XFAIL test_attach_stream_and_cancel on TLS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=29
2019-04-01 13:26:55 +00:00
Tomáš Chvátal
4a260cf6ad - Update to 3.7.1:
* Set a different default number (which is now 9) for SSH pools
  * Adds a BaseHTTPAdapter with a close method to ensure that the pools is clean on close()
  * Makes SSHHTTPAdapter reopen a closed connection when needed like the others

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=27
2019-03-26 13:39:38 +00:00
Tomáš Chvátal
8e18b7c78e Accepting request 682596 from home:jayvdb:py-check-failures
- Remove no longer necessary pytest argument -k 'not MatchHostnameTest'

OBS-URL: https://build.opensuse.org/request/show/682596
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=25
2019-03-07 16:45:20 +00:00
6c2e4b80ef Accepting request 666156 from home:mvyskocil:branches:devel:languages:python
- Bump required version of pycreds to 0.4.0 (sync with requirements.txt)

OBS-URL: https://build.opensuse.org/request/show/666156
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=23
2019-01-15 11:24:07 +00:00
Tomáš Chvátal
7689030c7c Accepting request 665716 from home:mvyskocil:branches:devel:languages:python
- update to 3.7.0 (mandatory for latest docker-compose) 
  * Added support for multiplexed streams (for `attach` and `exec_start`). Learn
    more at https://docker-py.readthedocs.io/en/stable/user_guides/multiplex.html
  * Added the `use_config_proxy` parameter to the following methods:
    `APIClient.build`, `APIClient.create_container`, `DockerClient.images.build`
     and `DockerClient.containers.run` (`False` by default). **This parameter**
    **will become `True` by default in the 4.0.0 release.**
  * Placement preferences for Swarm services are better validated on the client
    and documentation has been updated accordingly
  * see https://github.com/docker/docker-py/releases/tag/3.7.0
    https://github.com/docker/docker-py/releases/tag/3.6.0 for more
    info

OBS-URL: https://build.opensuse.org/request/show/665716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=22
2019-01-14 12:31:30 +00:00
Tomáš Chvátal
6f011e1953 - Fix the fdupes call to match up reality
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=20
2018-11-14 11:57:40 +00:00
Tomáš Chvátal
ef506df6c7 Accepting request 643510 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/643510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=18
2018-10-21 18:22:41 +00:00
Tomáš Chvátal
3382e683bb - Fix build on older releases by not using new pytest syntax
for test selection

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=16
2018-08-29 11:14:11 +00:00
73f4ba23a3 - fix build for older python 3.x versions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=13
2018-07-09 20:29:26 +00:00
Tomáš Chvátal
e4e216ce21 Accepting request 621454 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/621454
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=11
2018-07-08 16:43:43 +00:00
Todd R
5d4da54fff Accepting request 603674 from home:jengelh:branches:devel:languages:python
give factory at least a somewhat useful breaking notice

OBS-URL: https://build.opensuse.org/request/show/603674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=9
2018-05-03 17:17:03 +00:00
Tomáš Chvátal
b7c0b53d80 - Version update to 3.3.0:
* Too many changes to name see upstream tag list:
    https://github.com/docker/docker-py/releases
- Make sure to run tests and properly name all the requirements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=7
2018-05-02 09:27:57 +00:00
14f7af12bf Accepting request 540100 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/540100
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=5
2017-11-10 11:57:55 +00:00
Jan Matejek
46b2cd89f1 Accepting request 533199 from home:apersaud:branches:devel:languages:python
- specfile:
  * added obsoletes %oldpython
- update to version 2.5.1:
  * Bugfixes
    + Fixed a bug where patterns ending with ** in .dockerignore would
      raise an exception
    + Fixed a bug where using attach with the stream argument set to
      False would raise an exception
- changes from version 2.5.0:
  * Features
    + Added support for the squash parameter in APIClient.build and
      DockerClient.images.build.
    + When using API version 1.23 or above, load_image will now return
      a generator of progress as JSON dicts.
    + remove_image now returns the content of the API's response.
  * Bugfixes
    + Fixed an issue where the auto_remove parameter in
      DockerClient.containers.run was not taken into account.
    + Fixed a bug where .dockerignore patterns starting with a slash
      were ignored.
    + Fixed an issue with the handling of ** patterns in .dockerignore
    + Fixed a bug where building FROM a private Docker Hub image when
      not using a cred store would fail.
    + Fixed a bug where calling create_service or update_service with
      task_template as a dict would raise an exception.
    + Fixed the handling of TTY-enabled containers in attach and
      exec_run.
    + DockerClient.containers.run will no longer attempt to stream
      logs if the log driver doesn't support the operation.
  * Miscellaneous
    + Added extra requirements for better TLS support on some
      platforms. These can be installed or required through the
      docker[tls] notation.

OBS-URL: https://build.opensuse.org/request/show/533199
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=3
2017-10-11 10:39:13 +00:00
2d9ce8dcdf Accepting request 529912 from home:tbechtold:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/529912
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=1
2017-09-29 12:30:24 +00:00