vendor: github.com/klauspost/compress v1.18.2#3564
vendor: github.com/klauspost/compress v1.18.2#3564thaJeztah wants to merge 1 commit intodocker:masterfrom
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.
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