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

Remove transient sysinfo package now that moby has moved away from containerd v1 #3909

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

apostasie
Copy link
Contributor

@apostasie apostasie commented Feb 21, 2025

During the migration to containerd v2, we forked sysinfo as docker was still depending on containerd v1 at that time.

With their latest 28 release, docker has now moved on, and we can get rid of the fork.

This PR removes the fork and bump docker dep to the required version.

There are also a few minor changes required to make it work:

  • move to runtime.NumCPU as the sysinfo indirection has been removed upstream
  • remove use of deprecated fields

@apostasie apostasie changed the title Fix ParseUintList docker deprecation Remove transient sysinfo package now that moby has moved away from containerd v1 Feb 21, 2025
During the migration to containerd v2, we forked sysinfo as docker was still depending
on containerd v1 at that time.
With their latest 28 release, docker has now moved on, and we can get rid of the fork.
There is a few minor changes required to make it work:
- move to runtime.NumCPU as the sysinfo indirection has been removed
- remove use of deprecated fields

Signed-off-by: apostasie <[email protected]>
@apostasie apostasie marked this pull request as ready for review February 21, 2025 23:01
@apostasie
Copy link
Contributor Author

CI failure is #3513

@AkihiroSuda if you can poke the CI, this is ready-to-go otherwise.

@AkihiroSuda AkihiroSuda added this to the v2.x.x (tentative) milestone Feb 22, 2025
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@apostasie
Copy link
Contributor Author

CI failure is #3556

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