Skip to content

Use the correct interpreter for Windows Debug.#755

Merged
clalancette merged 1 commit intomasterfrom
clalancette/remove-python-cmake-module
Oct 3, 2024
Merged

Use the correct interpreter for Windows Debug.#755
clalancette merged 1 commit intomasterfrom
clalancette/remove-python-cmake-module

Conversation

@clalancette
Copy link
Copy Markdown
Contributor

This is connected with ros2/ros2#1524 ; before we merge in most of the PRs connected with that, we'll need to merge in something like this fix. Note that this is still a draft because I need to test deploy this.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette clalancette force-pushed the clalancette/remove-python-cmake-module branch from 90b96b1 to c28517d Compare September 24, 2024 00:14
Copy link
Copy Markdown
Member

@cottsay cottsay left a comment

Choose a reason for hiding this comment

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

A couple of non-critical thoughts:

  1. I'm not blown away by the fact that we're coupling this code to a provisioning detail like the installation location of the python debug interpreter executable, but I don't see an obvious way to avoid it.
  2. Because it's just a simple substitution, you man consider using str.replace() instead of a regex.

@clalancette clalancette marked this pull request as ready for review October 3, 2024 18:14
@clalancette
Copy link
Copy Markdown
Contributor Author

CI for this (along with all of the rest of the changes needed) is in ros2/ros2#1524 (comment)

@clalancette
Copy link
Copy Markdown
Contributor Author

Thanks for the review. For now, I'm going to leave it as a regex just to get this in. I have some larger plans for revamping this whole file, so we can probably address that at that point.

@clalancette clalancette merged commit 5859b8b into master Oct 3, 2024
@clalancette clalancette deleted the clalancette/remove-python-cmake-module branch October 3, 2024 18:20
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