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 Python CI breakages #262

Merged
merged 15 commits into from
Dec 19, 2024
Merged

Fix Python CI breakages #262

merged 15 commits into from
Dec 19, 2024

Conversation

mihelich
Copy link
Contributor

@mihelich mihelich commented Dec 13, 2024

Mitigate drift in supported GitHub runner versions:

  1. ubuntu-latest now uses ubuntu-24.04, which broke our Python CI due to newer and stricter GCC.
  2. macos-12 is EOL.

Fix (1) by pinning Python builds to ubuntu-22.04. Note that ubuntu-24.04 also drops out-of-the-box support for Python 3.8, which we should continue testing to match the Brain.

Fix (2) by upgrading to macos-13, likewise the final runner with Python 3.8 baked in. This required a fix to an undefined behavior (compiler-dependent) bug in the pybindings for Lie group types.

Completes SWE-531 and SWE-538

Rollout of ubuntu-24.04 as ubuntu-latest broke our Python CI due
to newer and stricter GCC. Mitigate by using ubuntu-20.04, matching
what we currently use for the PyPI release.
Use supported runners that still support Python 3.8, matching the
system Python on the Brain.
It doesn't appear to be used and conflicts with libc++-dev on
ubuntu-22.04:
https://bugs.launchpad.net/ubuntu/+source/google-glog/+bug/1991919
These rely on a prebuilt virtualenv for build tooling, created by
the "Release" job, which would need additional attention.
The ADL-based friend lookup is helpful for operators but confusing
and unnecessary for regular functions.
@mihelich mihelich changed the title Use a consistent ubuntu across all Linux CI jobs. Fix Python CI breakages Dec 17, 2024
Resolve error between poses to a concrete Eigen::Vector instead of
an expression template representation.
@mihelich mihelich marked this pull request as draft December 18, 2024 22:35
@mihelich mihelich marked this pull request as ready for review December 18, 2024 22:44
Copy link
Contributor

@guilhermedemouraa guilhermedemouraa left a comment

Choose a reason for hiding this comment

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

Very minor comment. Thanks!

@mihelich mihelich merged commit b78ce90 into main Dec 19, 2024
15 checks passed
@mihelich mihelich deleted the patrick/swe-531-fix-ci-breakage branch December 19, 2024 17:42
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