Skip to content

Commit

Permalink
Using docker>=7,<8
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 641764527
  • Loading branch information
lego0901 authored and tfx-copybara committed Jun 10, 2024
1 parent 810e466 commit 0d6d618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
## Bug Fixes and Other Changes

## Dependency Updates
| Package Name | Version Constraints | Previously (in `v1.14.0`) | Comments |
| Package Name | Version Constraints | Previously (in `v1.15.1`) | Comments |
| -- | -- | -- | -- |
| `requests` | - | `<2.32.0` | https://github.com/psf/requests/issues/6707 |
| `docker` | `>=7,<8` | `>=4.1,<5` | |

## Documentation Updates

Expand All @@ -42,7 +42,7 @@
## Bug Fixes and Other Changes

## Dependency Updates
| Package Name | Version Constraints | Previously (in `v1.14.0`) | Comments |
| Package Name | Version Constraints | Previously (in `v1.15.0`) | Comments |
| -- | -- | -- | -- |
| `kfp-pipeline-spec` | `kfp-pipeline-spec>=0.1.10,<0.2` | `>0.1.13,<0.2` | |

Expand Down
8 changes: 1 addition & 7 deletions tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,11 @@ def make_pipeline_sdk_required_install_packages():
'packaging>=22',
'portpicker>=1.3.1,<2',
'protobuf>=3.20.3,<5',
'docker>=4.1,<5',
'docker>=7,<8',
'google-apitools>=0.5,<1',
'google-api-python-client>=1.8,<2',
# TODO(b/176812386): Deprecate usage of jinja2 for placeholders.
'jinja2>=2.7.3,<4',
# TODO(b/341782771): Currently, requests(>=2.32.0) and docker-py have a
# collision because the docker-py uses internal behavior of the old
# requests. This version constraint is a temporary fix, and this may need
# to be rollbacked to fix vulnerablity such as CVE-2024-35195. See
# https://github.com/psf/requests/issues/6707 for more details.
'requests<2.32.0',
# typing-extensions allows consistent & future-proof interface for typing.
# Since kfp<2 uses typing-extensions<4, lower bound is the latest 3.x, and
# upper bound is <5 as the semver started from 4.0 according to their doc.
Expand Down

0 comments on commit 0d6d618

Please sign in to comment.