This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 691
Make golden image digests work with Python 3.9 #2098
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bpcreech
requested review from
gravypod,
linzhp,
pcj,
smukherj1 and
uhthomas
as code owners
May 28, 2022 20:07
smukherj1
approved these changes
May 30, 2022
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 22, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
12 tasks
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 22, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 22, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
zevdg
added a commit
to zevdg/rules_docker
that referenced
this pull request
Aug 23, 2022
We had to do this recently with bazelbuild#2098. This is also useful for organisations that link against different zlib implementations (namely zlib-ng). This change makes it possible to easily swap out the hashes without modifying the test code.
dpward
reviewed
Sep 20, 2022
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.
Ubuntu 21.04 was not an LTS release, and was unsupported several months before this commit...
Did you mean ubuntu2204
?
AugustKarlstedt
added a commit
to AugustKarlstedt/rules_docker
that referenced
this pull request
Oct 12, 2022
|
St0rmingBr4in
pushed a commit
to St0rmingBr4in/rules_docker
that referenced
this pull request
Oct 17, 2022
* Make golden image digests work with Python 3.9 This fixes bazelbuild#2097 * Upgrade tests to Ubuntu 2104 * Update file_test golden digests Co-authored-by: Ben Creech <bpcreech@google.com>
AugustKarlstedt
added a commit
to AugustKarlstedt/rules_docker
that referenced
this pull request
Jan 14, 2023
This reverts commit afb5787.
AugustKarlstedt
added a commit
to AugustKarlstedt/rules_docker
that referenced
this pull request
Jan 14, 2023
Update BUILD revert some stuff from bazelbuild#2098 goldens n Revert "n" This reverts commit 8c094e7. Revert "goldens" This reverts commit ce1ff41. Revert "revert some stuff from bazelbuild#2098" This reverts commit afb5787. Revert "Update presubmit.yml" This reverts commit bf40dad.
AugustKarlstedt
added a commit
to AugustKarlstedt/rules_docker
that referenced
this pull request
Jan 14, 2023
Update presubmit.yml Update BUILD Update BUILD revert some stuff from bazelbuild#2098 goldens n Revert "n" This reverts commit 8c094e7. Revert "goldens" This reverts commit ce1ff41. Revert "revert some stuff from bazelbuild#2098" This reverts commit afb5787. Revert "Update presubmit.yml" This reverts commit bf40dad.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This fixes #2097 wherein
image_test
fails with Python 3.9+For future reference this commit was generated with:
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
This test fails with Python 3.9 and it looks like the best fix is to change the golden image digests to match the new reality.
Issue Number: #2097
What is the new behavior?
Just new digests in the test to match CPython 3.9
tarfile
behavior.Does this PR introduce a breaking change?
Technically Python 3.9 creates a breaking changes in that the image digests generated by
rules_docker
aren't reproducible across the upgrade from Python <=3.8, but this PR didn't create and doesn't attempt to change that situation.Other information