GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — update docker-py to 7.1.0 by thaJeztah · Pull Request #47092 · moby/moby

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Jan 17, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • fixes Unskip docker-py commit tests #46967
  • depends on / stacked on docker-py: unskip some tests #47091
  • relates to c8d/docker-py: Temporarily skip test_save_and_load* #46965
  • relates to c8d/docker-py: Temporarily skip test_commit_* #46966
  • relates to integration/commit: Don't check for deprecated fields docker/docker-py#3203

update docker-py to 7.1.0

full diff: docker/docker-py@7.0.0...7.1.0

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@thaJeztah thaJeztah added status/2-code-review area/testing labels Jan 17, 2024
@thaJeztah thaJeztah self-assigned this Jan 17, 2024
@thaJeztah
thaJeztah force-pushed the bump_docker_py branch from 976380a to 72d0710 Compare January 17, 2024 16:08
@thaJeztah thaJeztah added the containerd-integration Issues and PRs related to containerd integration label Jan 17, 2024
@thaJeztah
thaJeztah force-pushed the bump_docker_py branch from 72d0710 to 0a5d374 Compare January 17, 2024 16:09
@thaJeztah thaJeztah removed the containerd-integration Issues and PRs related to containerd integration label Jan 18, 2024
@thaJeztah
thaJeztah force-pushed the bump_docker_py branch from 0a5d374 to dbf3789 Compare January 18, 2024 15:23
@vvoland vvoland mentioned this pull request Feb 22, 2024
api/image-inspect: Remove Container and ContainerConfig #47430
Merged
@vvoland

vvoland commented Mar 5, 2024

Copy link
Copy Markdown
Contributor

We should undraft this if we want to deprecate Container related fields in image inspect in v26: docker/cli#4893

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thaJeztah

thaJeztah commented Mar 5, 2024

Copy link
Copy Markdown
Member Author

Ah, yeah; I think we had skips for those set, or we don't?

Looking at docker/docker-py@2a5f354, perhaps we need to do another update there to update it to v25, and we could ask them to tag a new version (could be a "patch" or "minor" release; looks like it's mostly bug fixes, but also compatibility with newer API versions(?) so that could mean "minor" version update.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vvoland

vvoland commented Mar 5, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Hmm looks like we have the skips but they don't work? 🤔 they're only for the containerd integration.

At least #47430 shows related docker-py failures.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thaJeztah

thaJeztah commented Mar 5, 2024

Copy link
Copy Markdown
Member Author

they're only for the containerd integration.

Ah, right, I guess we could still skip unconditionally. That said; not 100% against updating to "master"; mostly was trying to stay on tagged versions, but it's not critical

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thaJeztah
thaJeztah force-pushed the bump_docker_py branch from dbf3789 to 62e7092 Compare May 24, 2024 12:57
@thaJeztah thaJeztah changed the title update docker-py to current master update docker-py to current 7.1.0 May 24, 2024
@thaJeztah
thaJeztah marked this pull request as ready for review May 24, 2024 12:58
@thaJeztah
thaJeztah requested a review from tianon as a code owner May 24, 2024 12:58
@thaJeztah thaJeztah added the process/cherry-pick/26.1 label May 24, 2024
@thaJeztah
thaJeztah force-pushed the bump_docker_py branch from 62e7092 to 9fcbe99 Compare May 24, 2024 16:41
@thaJeztah thaJeztah changed the title update docker-py to current 7.1.0 update docker-py to 7.1.0 May 25, 2024
@thaJeztah thaJeztah added this to the 27.0.0 milestone May 27, 2024
krissetto
krissetto approved these changes May 27, 2024
View reviewed changes
Comment thread hack/make/test-docker-py
# TODO(thaJeztah): set a default VERSION in the tests/integration Dockerfile in docker-py or set SETUPTOOLS_SCM_PRETEND_VERSION conditionally
# shellcheck disable=SC2086
exec docker build ${build_opts} -t "${docker_py_image}" -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"
exec docker build ${build_opts} -t "${docker_py_image}" --build-arg VERSION="${DOCKER_PY_COMMIT}" -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"

@krissetto krissetto May 27, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh no, yet another env var whose value then gets used for SETUPTOOLS_SCM_PRETEND_VERSION ? 🙈

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@thaJeztah thaJeztah May 27, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup; looks like it was there before, but at the time it had a default value in the Dockerfile (99.0.0?).

That default was removed, so now it must be passed. We should fix that, because I think we should try to make any Dockerfile have sensible defaults, so that they work without passing build-args (only in exceptional cases where a build-arg MUST be set).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

krissetto reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@thaJeztah thaJeztah mentioned this pull request May 28, 2024
Set a dummy-version if none set, and remove unused APT_MIRROR build-arg docker/docker-py#3267
Merged
@thaJeztah
update docker-py to 7.1.0
347bb41
full diff: docker/docker-py@7.0.0...7.1.0

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah
thaJeztah force-pushed the bump_docker_py branch from 9fcbe99 to 347bb41 Compare May 28, 2024 09:39
@thaJeztah

thaJeztah commented May 28, 2024

Copy link
Copy Markdown
Member Author

Rebased, and updated the TODO's to include a link to docker/docker-py#3267, which should allow removing the VERSION build-arg.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

neersighted
neersighted approved these changes May 28, 2024
View reviewed changes
@thaJeztah
thaJeztah merged commit 4e07c49 into moby:master May 28, 2024
@thaJeztah
thaJeztah deleted the bump_docker_py branch May 28, 2024 18:42
@thaJeztah thaJeztah mentioned this pull request Jun 3, 2024
[26.1 backport] update docker-py to 7.1.0 #47893
Merged
@thaJeztah thaJeztah added process/cherry-picked and removed process/cherry-pick/26.1 labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@neersighted neersighted neersighted approved these changes
@tianon tianon Awaiting requested review from tianon
+1 more reviewer
@krissetto krissetto krissetto approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@thaJeztah thaJeztah

Labels

area/testing process/cherry-picked status/2-code-review

Projects

None yet

Milestone

27.0.0

Development

Successfully merging this pull request may close these issues.

Unskip docker-py commit tests

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@thaJeztah @vvoland @neersighted @krissetto
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.