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

[AIRFLOW-1159] upgrading to docker >2.0 #2369

Closed
wants to merge 5 commits into from
Closed

Conversation

elipapa
Copy link

@elipapa elipapa commented Jun 15, 2017

Dear Airflow maintainers,

Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!

JIRA

Description

  • Here are some details about my PR, including screenshots of any UI changes:

docker-py has been renamed to docker and introduced a few breaking changes http://docker-py.readthedocs.io/en/stable/change-log.html

Tests

  • My PR adds the following unit tests OR does not need testing for this extremely good reason:

the functionality is not altered/improved and no new test is required.

Commits

  • My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

@mention-bot
Copy link

@elipapa, thanks for your PR! By analyzing the history of the files in this pull request, we identified @asnir, @bolkedebruin and @r39132 to be potential reviewers.

@saguziel
Copy link
Contributor

@elipapa pls fix tests

@elipapa
Copy link
Author

elipapa commented Jun 27, 2017 via email

@r39132
Copy link
Contributor

r39132 commented Apr 29, 2018

@elipapa please rebase. I will take a look after.

@codecov-io
Copy link

codecov-io commented May 1, 2018

Codecov Report

Merging #2369 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2369   +/-   ##
======================================
  Coverage    75.9%   75.9%           
======================================
  Files         197     197           
  Lines       14702   14702           
======================================
  Hits        11159   11159           
  Misses       3543    3543
Impacted Files Coverage Δ
airflow/hooks/docker_hook.py 91.89% <100%> (ø) ⬆️
airflow/operators/docker_operator.py 97.67% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a67c13e...53e8518. Read the comment docs.

@Fokko
Copy link
Contributor

Fokko commented May 1, 2018

We already switched a couple of times between docker and docker-py, but I can't recall the nuances. @benjaminsims ?

@elipapa
Copy link
Author

elipapa commented May 2, 2018

@Fokko actually there are no differences: it's the same official docker python SDK package, but it has been renamed after v2.0.
The official documentation (https://docker-py.readthedocs.io/en/stable/) now dictates the install to be pip install docker instead of pip install docker-py

@Fokko
Copy link
Contributor

Fokko commented May 2, 2018

Ack, thanks. It looks like 3.3.0 is the current version. Maybe bump it to 3+ right away?

https://pypi.org/project/docker/

@elipapa
Copy link
Author

elipapa commented May 2, 2018

That's what's already happening.
pip will by default use the most recent stable version (which is 3.3.0 at the moment). I have only placed the requirements that it is >=2.0 but not fixed it at that.

You can see it in the travis log:
image

@ron819
Copy link
Contributor

ron819 commented Sep 26, 2018

@elipapa any progress with this?

@ashb
Copy link
Member

ashb commented Oct 23, 2018

Fixed by #4049 or #3407

@ashb ashb closed this Oct 23, 2018
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.

8 participants