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

build(deps): bump github.com/anchore/syft from 0.89.0 to 0.94.0 #79

Merged
merged 2 commits into from
Nov 19, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2023

Bumps github.com/anchore/syft from 0.89.0 to 0.94.0.

Release notes

Sourced from github.com/anchore/syft's releases.

v0.94.0

Added Features

Bug Fixes

(Full Changelog)

v0.93.0

Added Features

Bug Fixes

Additional Changes

(Full Changelog)

v0.92.0

Added Features

  • Support for multiple image refs of same sha in OCI layout [#1544]

Bug Fixes

Additional Changes

... (truncated)

Commits
  • 8f6bdde Label PRs when the json schema changes (#2240)
  • ef43294 Add download location when cataloging directory npm package lock (#2238)
  • e1ad340 fix: allow packages to be captured from DIST/EGG case (#2239)
  • 07f1304 Account for maven bundle plugin and fix filename matching (#2220)
  • 6c7900f chore(deps): bump actions/checkout from 4.1.0 to 4.1.1 (#2236)
  • 7018573 Remove internal string set (#2219)
  • f3ad8cf bump clio to get stderr reporting fix (#2232)
  • 31f1d7d Fix panic for empty input to Swift cataloger (#2226)
  • 144ed72 Add additional license filenames (#2227)
  • dcec2bc chore(deps): bump github/codeql-action from 2.22.2 to 2.22.3 (#2229)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/anchore/syft](https://github.com/anchore/syft) from 0.89.0 to 0.94.0.
- [Release notes](https://github.com/anchore/syft/releases)
- [Changelog](https://github.com/anchore/syft/blob/main/.goreleaser.yaml)
- [Commits](anchore/syft@v0.89.0...v0.94.0)

---
updated-dependencies:
- dependency-name: github.com/anchore/syft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@jedevc
Copy link
Collaborator

jedevc commented Nov 6, 2023

@cdupuis @crazy-max, sorry this has not been top priority for me recently 😢

Do you think we could do a release based on this syft version (assuming tests pass neatly, etc).

@jedevc jedevc force-pushed the dependabot/go_modules/github.com/anchore/syft-0.94.0 branch 2 times, most recently from 4386060 to 40ca704 Compare November 6, 2023 12:01
go.mod Outdated
@@ -1,30 +1,35 @@
module github.com/docker/buildkit-syft-scanner

go 1.20
go 1.21.0
Copy link
Member

Choose a reason for hiding this comment

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

I don't think that's correct and should be <major>.<minor> no?

Suggested change
go 1.21.0
go 1.21

Copy link
Collaborator

Choose a reason for hiding this comment

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

🤔 odd. I set it to go 1.21, and go mod tidy produced this...

Copy link
Member

@crazy-max crazy-max Nov 6, 2023

Choose a reason for hiding this comment

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

I was looking at the docs and this might be correct since Go 1.21: https://go.dev/doc/modules/gomod-ref#go-notes

At go 1.21 or higher:

  • The go line declares a required minimum version of Go to use with this module.
  • The go line must be greater than or equal to the go line of all dependencies.
  • The go command no longer attempts to maintain compatibility with the previous older version of Go.
  • The go command is more careful about keeping checksums of go.mod files in the go.sum file.

go.mod Outdated
go 1.20
go 1.21.0

toolchain go1.21.3
Copy link
Member

Choose a reason for hiding this comment

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

I guess since we enforce Go toolchain's to 1.21.3 here it would downgrade to this version if GO_VERSION=1.21 used in the golang image is >1.21.3?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think so: https://go.dev/doc/modules/gomod-ref#go-notes (emphasis mine)

Declares a suggested Go toolchain to use with this module. Only takes effect when the module is the main module and the default toolchain is older than the suggested toolchain.

So this was also auto-generated by go mod tidy. I had go 1.21 written in the file, and go 1.21.3 installed locally. go mod tidy tidies this to go 1.21.0 and toolchain go1.21.3. I've bumped to use go 1.21.3 so no toolchain directive is required.

Not quite sure what we want to do across the buildkit-related projects, looks like this is going to be the first of many cases.

Copy link
Collaborator

Choose a reason for hiding this comment

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

oh so go mod tidy is tidying to this because that's what syft specifies: anchore/syft#2108.

Copy link
Member

Choose a reason for hiding this comment

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

oh so go mod tidy is tidying to this because that's what syft specifies: anchore/syft#2108.

Oh boy 🙈

@jedevc jedevc force-pushed the dependabot/go_modules/github.com/anchore/syft-0.94.0 branch from 40ca704 to c3d37c3 Compare November 6, 2023 17:50
@jedevc jedevc merged commit ad86359 into master Nov 19, 2023
9 checks passed
@jedevc jedevc deleted the dependabot/go_modules/github.com/anchore/syft-0.94.0 branch November 19, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants