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

[devcontainer] Update cmake to detect Python 3.12 #740

Merged
merged 3 commits into from
Feb 26, 2025

Conversation

KSerrania
Copy link
Collaborator

@KSerrania KSerrania commented Jan 16, 2025

What does this PR do?

Changes the devcontainer to use cmake 3.30.2 (like the other build images) instead of the stock version bundled in Ubuntu 22.04 (3.22.1).

Motivation

This is necessary to ensure cmake detects Python 3.12, for the same reasons as #642.

Possible Drawbacks / Trade-offs

Adds more manual steps to the devcontainer build.

Another alternative would be to update the container's base to ubuntu:24.04 (bundles Python 3.12 + a more recent cmake version), but this is a larger change that may require additional updates.

Additional Notes

I tested by running the inv agent.build --run-on linux command, targeting a devcontainer built locally on this branch. Before merging, I'd like for someone else to test the main Agent commands in it.

@KSerrania KSerrania requested review from a team as code owners January 16, 2025 18:48
@KSerrania KSerrania requested a review from a team as a code owner January 20, 2025 10:01
@KSerrania KSerrania merged commit 04bd0c5 into main Feb 26, 2025
28 checks passed
@KSerrania KSerrania deleted the kserrania/fix-devcontainer branch February 26, 2025 15:16
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.

3 participants