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

Python launch scripts #1914

Merged
merged 8 commits into from
Jul 26, 2023
Merged

Python launch scripts #1914

merged 8 commits into from
Jul 26, 2023

Conversation

cmnrd
Copy link
Collaborator

@cmnrd cmnrd commented Jul 25, 2023

This PR implements the solution proposed in #1458 (comment). Instead of printing a Python command to run, we generate a shell or batch script in bin/ which can be executed to run the Python program. This ensures that the executing Python runtime is the same as the one we linked against during compilation.

Copy link
Collaborator

@edwardalee edwardalee left a comment

Choose a reason for hiding this comment

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

Great!! Thanks for fixing this!

@cmnrd
Copy link
Collaborator Author

cmnrd commented Jul 25, 2023

For some reason the Python CI now runs much longer. Has anyone an idea why that could be?

Copy link
Collaborator

@petervdonovan petervdonovan left a comment

Choose a reason for hiding this comment

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

I do not see anything wrong with this and do not know why it would make the tests take longer to run.

@lhstrh lhstrh added this pull request to the merge queue Jul 25, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 25, 2023
@cmnrd cmnrd added this pull request to the merge queue Jul 26, 2023
Merged via the queue into master with commit 7dd7a94 Jul 26, 2023
43 checks passed
@cmnrd cmnrd deleted the python-launch branch July 26, 2023 09:22
@petervdonovan petervdonovan added the feature New feature label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants