Skip to content

Conversation

debarshiray
Copy link
Member

The src/go.sum file was updated with go mod tidy.

The src/go.sum file was updated with 'go mod tidy'.

containers#1614
@debarshiray debarshiray force-pushed the wip/rishi/github.com-NVIDIA-nvidia-container-toolkit-1.17.3 branch from 5482d56 to 957601f Compare January 29, 2025 20:20
Copy link

The src/go.sum file was updated with 'go mod tidy'.

containers#1614
Copy link

@debarshiray
Copy link
Member Author

recheck

Copy link

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 30, 2025
Copy link

... for CVE-2024-0134 or GHSA-7jm9-xpwx-v999.

NVIDIA Container Toolkit 1.17.0 requires Go >= 1.21, even though it's
not mentioned in its go.mod file [1].

The src/go.sum file was updated with 'go mod tidy'.

[1] NVIDIA/nvidia-container-toolkit#886

containers#1614
The src/go.sum file was updated with 'go mod tidy'.

containers#1614
@debarshiray debarshiray force-pushed the wip/rishi/github.com-NVIDIA-nvidia-container-toolkit-1.17.3 branch from 855a811 to 82e85ba Compare January 30, 2025 20:39
@debarshiray debarshiray requested a review from Jmennius as a code owner January 30, 2025 20:39
Copy link

@debarshiray
Copy link
Member Author

Thanks for the review, @Jmennius

The src/go.sum file was updated with 'go mod tidy'.

containers#1614
Copy link

Copy link

Copy link

@debarshiray debarshiray merged commit 4f4c3c9 into containers:main Jan 31, 2025
3 checks passed
@debarshiray debarshiray deleted the wip/rishi/github.com-NVIDIA-nvidia-container-toolkit-1.17.3 branch January 31, 2025 10:10
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Apr 25, 2025
The os.IsNotExist() function [1] predates the introduction of the
errors.Is() function [2] in Go 1.13 [3].  From Go >= 1.16, the
documentation explicitly recommends the use of errors.Is() instead of
os.IsNotExist() [4].

The Go implementation of Toolbx never used any Go older than 1.13 [5],
and currently it requires Go >= 1.21 [6].  So, there's no reason not to
use the more modern and recommended alternative.

[1] https://pkg.go.dev/os#IsNotExist

[2] https://pkg.go.dev/errors#Is

[3] https://go.dev/blog/go1.13-errors

[4] Go commit b641f0dcf48aa748
    golang/go@b641f0dcf48aa748
    golang/go#41122

[5] Commit d857471
    containers@d857471aa2f233e5
    containers#318

[6] Commit 82e85ba
    containers@82e85bac9f5e69a5
    containers#1614
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Apr 25, 2025
The os.IsNotExist() function [1] predates the introduction of the
errors.Is() function [2] in Go 1.13 [3].  From Go >= 1.16, the
documentation explicitly recommends the use of errors.Is() instead of
os.IsNotExist() [4].

The Go implementation of Toolbx never used any Go older than 1.13 [5],
and currently it requires Go >= 1.21 [6].  So, there's no reason not to
use the more modern and recommended alternative.

[1] https://pkg.go.dev/os#IsNotExist

[2] https://pkg.go.dev/errors#Is

[3] https://go.dev/blog/go1.13-errors

[4] Go commit b641f0dcf48aa748
    golang/go@b641f0dcf48aa748
    golang/go#41122

[5] Commit d857471
    containers@d857471aa2f233e5
    containers#318

[6] Commit 82e85ba
    containers@82e85bac9f5e69a5
    containers#1614

containers#1629
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Apr 28, 2025
The os.IsNotExist() function [1] predates the introduction of the
errors.Is() function [2] in Go 1.13 [3].  From Go >= 1.16, the
documentation explicitly recommends the use of errors.Is() instead of
os.IsNotExist() [4].

The Go implementation of Toolbx never used any Go older than 1.13 [5],
and currently it requires Go >= 1.21 [6].  So, there's no reason not to
use the more modern and recommended alternative.

[1] https://pkg.go.dev/os#IsNotExist

[2] https://pkg.go.dev/errors#Is

[3] https://go.dev/blog/go1.13-errors

[4] Go commit b641f0dcf48aa748
    golang/go@b641f0dcf48aa748
    golang/go#41122

[5] Commit d857471
    containers@d857471aa2f233e5
    containers#318

[6] Commit 82e85ba
    containers@82e85bac9f5e69a5
    containers#1614

containers#1629
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants