Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: docker/docker-py
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6.0.1
Choose a base ref
...
head repository: docker/docker-py
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.1.0
Choose a head ref
  • 14 commits
  • 24 files changed
  • 13 contributors

Commits on Nov 15, 2022

  1. ci: add support for Python 3.11 (#3064)

    Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    hugovk authored Nov 15, 2022
    Configuration menu
    Copy the full SHA
    8590eaa View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. volume: do not strip trailing characters from names (#3073)

    Only remove `:ro` or `:rw` suffixes in their entirety; do not
    strip arbitrary `r` / `o` / `w` / `:` characters individually.
    
    Signed-off-by: Loïc Leyendecker <loic.leyendecker@gmail.com>
    loicleyendecker authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    82cf559 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. docs: fix wrong command syntax in code annotation (#3081)

    Signed-off-by: Maxim Mironyuk <serieznyi@gmail.com>
    serieznyi authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    3afb4b6 View commit details
    Browse the repository at this point in the history
  2. build(deps): Bump setuptools from 63.2.0 to 65.5.1 (#3082)

    Bumps [setuptools](https://github.com/pypa/setuptools) from 63.2.0 to 65.5.1.
    - [Release notes](https://github.com/pypa/setuptools/releases)
    - [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
    - [Commits](pypa/setuptools@v63.2.0...v65.5.1)
    
    ---
    updated-dependencies:
    - dependency-name: setuptools
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    d38b41a View commit details
    Browse the repository at this point in the history
  3. fix(store): warn on init instead of throw (#3080)

    Signed-off-by: yanlong.wang <yanlong.wang@naiver.org>
    nomagick authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    22718ba View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. exec: fix file handle leak with container.exec_* APIs (#2320)

    Requests with stream=True MUST be closed or else the connection will
    never be returned to the connection pool. Both ContainerApiMixin.attach
    and ExecApiMixin.exec_start were leaking in the stream=False case.
    exec_start was modified to follow attach for the stream=True case as
    that allows the caller to close the stream when done (untested).
    
    Tested with:
    
        # Test exec_run (stream=False) - observe one less leak
        make integration-test-py3 file=models_containers_test.py' -k test_exec_run_success -vs -W error::ResourceWarning'
        # Test exec_start (stream=True, fully reads from CancellableStream)
        make integration-test-py3 file=api_exec_test.py' -k test_execute_command -vs -W error::ResourceWarning'
    
    After this change, one resource leak is removed, the remaining resource
    leaks occur because none of the tests call client.close().
    
    Fixes #1293
    (Regression from #1130)
    
    Signed-off-by: Peter Wu <pwu@cloudflare.com>
    Co-authored-by: Milas Bowman <milas.bowman@docker.com>
    Lekensteyn and milas authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    34e6829 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. client: add network_driver_opt to container run and create (#3083)

    Signed-off-by: Mariano Scazzariello <marianoscazzariello@gmail.com>
    Skazza94 authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    ee9151f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master'

    (Old PR unintentionally went to the `master` branch.)
    milas committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    aca129d View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. api: add one-shot option to container stats (#3089)

    Signed-off-by: Andy Roxby <107427605+aroxby-wayscript@users.noreply.github.com>
    aroxby-wayscript authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    e9d4ddf View commit details
    Browse the repository at this point in the history
  2. api: add status parameter to services list (#3093)

    Signed-off-by: Lorin Bucher <lorin@lbtec.dev>
    lorinbucher authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    7cd7458 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. socket: fix for errors on pipe close in Windows (#3099)

    Need to return data, not size. By returning an empty
    string, EOF will be detected properly since `len()`
    will be `0`.
    
    Fixes #3098.
    
    Signed-off-by: Milas Bowman <milas.bowman@docker.com>
    milas authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    f846232 View commit details
    Browse the repository at this point in the history
  2. api: note the data arg may also be a stream in put_archive (#2478)

    Signed-off-by: Aarni Koskela <akx@iki.fi>
    akx authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    aaf68b7 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. socket: use poll() instead of select() except on Windows (#2865)

    Fixes #2278, which was originally addressed in #2279, but was not
    properly merged. Additionally it did not address the problem
    of poll not existing on Windows. This patch falls back on the
    more limited select method if host system is Windows.
    
    Signed-off-by: Tyler Westland <tylerofthewest@gmail.com>
    I-question-this authored Apr 21, 2023
    Configuration menu
    Copy the full SHA
    a02ba74 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. deps: compatiblity with requests ≥ 2.29.0 and urllib3 2.x (#3116)

    Requirements are the same, so it's still possible to use `urllib3 < 2`
    or `requests == 2.28.2` for example.
    
    Signed-off-by: Felix Fontein <felix@fontein.de>
    felixfontein authored May 5, 2023
    Configuration menu
    Copy the full SHA
    3178c8d View commit details
    Browse the repository at this point in the history
Loading