Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less strict docker dependency versions #1536

Merged
merged 2 commits into from
Mar 12, 2023

Conversation

jcugat
Copy link
Contributor

@jcugat jcugat commented Mar 7, 2023

TL;DR

Change the minimum required version of the docker dependency from v5.* to v4.*

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

We need it because we use Flyte alongside other packages which force a docker version in the v4.* range (specifically tensorflow's tfx package).

I have tried running the tests locally while force-installing docker docker==4.0.2 and it worked without any errors, so there's no breaking change between those versions that would affect this project.

Also it would be great if this change was backported to the Flyte v1.2.* and v1.3.* branches, thanks!

Tracking Issue

NA

Follow-up issue

NA

@welcome
Copy link

welcome bot commented Mar 7, 2023

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

Signed-off-by: Josep Cugat <josepc@spotify.com>
@jcugat jcugat force-pushed the upstream-master branch from bd5f26f to 07dd177 Compare March 7, 2023 11:45
@codecov
Copy link

codecov bot commented Mar 7, 2023

Codecov Report

Merging #1536 (ee52e42) into master (28da983) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1536   +/-   ##
=======================================
  Coverage   69.70%   69.70%           
=======================================
  Files         310      310           
  Lines       28721    28721           
  Branches     2721     2721           
=======================================
  Hits        20019    20019           
  Misses       8194     8194           
  Partials      508      508           
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pingsutw
Copy link
Member

pingsutw commented Mar 7, 2023

@jcugat I'm just curious how do you integrate tfx with flyte. are you compiling tfx workflow to flyte workflow?

@jcugat
Copy link
Contributor Author

jcugat commented Mar 8, 2023

@pingsutw Not exactly, we use Flyte to launch Kubeflow Pipelines, which uses TFX under the hood. There's some more details in this blog post: https://engineering.atspotify.com/2019/12/the-winding-road-to-better-machine-learning-infrastructure-through-tensorflow-extended-and-kubeflow/

@pingsutw pingsutw merged commit 152080f into flyteorg:master Mar 12, 2023
@welcome
Copy link

welcome bot commented Mar 12, 2023

Congrats on merging your first pull request! 🎉

@jcugat jcugat deleted the upstream-master branch March 13, 2023 10:41
@jcugat
Copy link
Contributor Author

jcugat commented Mar 13, 2023

Thanks for merging @pingsutw!

Would it be possible to also backport this to the v1.2 and v1.3 releases? Should I do anything to help that happen?

jcugat added a commit to jcugat/flytekit that referenced this pull request Mar 24, 2023
Signed-off-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Kevin Su <pingsutw@apache.org>
jcugat added a commit to jcugat/flytekit that referenced this pull request Mar 24, 2023
Signed-off-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Kevin Su <pingsutw@apache.org>
@jcugat
Copy link
Contributor Author

jcugat commented Mar 24, 2023

@pingsutw I've opened the following PRs to backport this fix. Hopefully it's the correct approach:

eapolinario pushed a commit that referenced this pull request Mar 28, 2023
Signed-off-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Kevin Su <pingsutw@apache.org>
eapolinario pushed a commit that referenced this pull request Mar 28, 2023
Signed-off-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Josep Cugat <josepc@spotify.com>
Co-authored-by: Kevin Su <pingsutw@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants