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

Don't build netifaces wheel on pip parse #245

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

lalten
Copy link
Contributor

@lalten lalten commented Jan 15, 2024

Adds ros2/ros2cli#875 as a patch.

netifaces is unmaintained: al45tair/netifaces#78.
It does not provide official prebuilt wheels for Python > 3.9: https://pypi.org/project/netifaces/#files

We don't have a non-bazel host compiler so building that Python wheel is difficult in our CI.

Copy link
Owner

@mvukov mvukov left a comment

Choose a reason for hiding this comment

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

LGTM, though I would've chosen ifaddr as it's a pure python impl. I guess you wanted to be in sync with from ros2/ros2cli#875.

- <exec_depend>python3-netifaces</exec_depend>
<exec_depend>python3-packaging</exec_depend>
<exec_depend>python3-pkg-resources</exec_depend>
+ <exec_depend>python3-psutil</exec_depend>
Copy link
Owner

Choose a reason for hiding this comment

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

Oh, well, we don't need this, but I guess you wanted to recycle the patch from ros2/ros2cli#875.

@mvukov mvukov enabled auto-merge (squash) January 17, 2024 17:32
@mvukov
Copy link
Owner

mvukov commented Jan 17, 2024

btw, psutil binaries are only for amd64. I guess you don't need e.g. arm64 at the moment?

@mvukov mvukov merged commit e6fb2a9 into mvukov:main Jan 17, 2024
6 checks passed
@lalten lalten deleted the dont-build-netifaces-wheel branch January 17, 2024 17:55
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