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

Fix dependence of special Python builds for CAN #649

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Fix dependence of special Python builds for CAN #649

merged 2 commits into from
Dec 19, 2024

Conversation

rumpelsepp
Copy link
Member

  • chore: mv misc -> scripts
  • fix: Remove dependence on special Python builds for CAN functionality

The CAN constants are compiled in depending in the enabled kernel
features. In case a Python interpreter is built in a special
environment (e.g., https://github.com/indygreg/python-build-standalone
used by the uv tool), then a few constants might be missing. The absence
of these constants does not limit the availability of the CAN feature on
a supported kernel. So, lets checkin a generated file with the correct
constants to avoid running into this problem.
@rumpelsepp rumpelsepp requested a review from peckto as a code owner December 17, 2024 08:36
@rumpelsepp rumpelsepp added the bug Something isn't working label Dec 17, 2024
@rumpelsepp rumpelsepp linked an issue Dec 17, 2024 that may be closed by this pull request
@rumpelsepp rumpelsepp merged commit b89aea9 into master Dec 19, 2024
12 checks passed
@rumpelsepp rumpelsepp deleted the compat branch December 19, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python builds downloaded by uv miss certain constants
1 participant