-
Notifications
You must be signed in to change notification settings - Fork 616
vendor: github.com/klauspost/compress v1.18.2 #3564
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
base: master
Are you sure you want to change the base?
Conversation
No changes in vendored code Fixes a regression in v1.18.1 that resulted in invalid flate/zip/gzip encoding. The v1.18.1 tag has been retracted. full diff: klauspost/compress@v1.18.1...v1.18.2 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
tonistiigi
left a comment
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.
This looks like an indirect dependency that should be updated via buildkit vendor.
|
It would eventually be updated through BuildKit as well (once moby/buildkit#6390 lands in a release), but go modules are designed around MVS (Minimal Version Selection), so users (like buildx) can update to compatible higher version;
In this case, the module version specified here no longer exists; it was retracted. I guess technically it would be considered a bug in |
|
Yeah, I didn't mean that it would make the version calculation incorrect, but just that it is a mess to manage dependencies when projects that don't actually use it change to a different version from the upstream. Similar to why I'd like the core dependencies that are shared with containerd to come with containerd vendor (although these are mostly direct dependencies). I'm adding this to the next milestone so if for some reason we don't get it via buildkit vendor before next release cycle we can take this directly. |
|
Ultimately, That's also how distro packages are built; there's always a single version of every go module in use ... for all Go projects. If (say) In either case, I opened this PR, because I didn't want to update BuildKit to master and keep it on a tagged version, but both BuildKit and CLI would be updating the version (but the CLI is not a go module yet, so I wanted to do it ahead of time (for #3569). Now that that PR is open, we could merge that one instead, which includes this commit. |
No changes in vendored code
Fixes a regression in v1.18.1 that resulted in invalid flate/zip/gzip encoding. The v1.18.1 tag has been retracted.
full diff: klauspost/compress@v1.18.1...v1.18.2