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

Support to execute reticulate input #6529

Merged
merged 1 commit into from
Mar 3, 2025
Merged

Support to execute reticulate input #6529

merged 1 commit into from
Mar 3, 2025

Conversation

dfalbel
Copy link
Contributor

@dfalbel dfalbel commented Feb 27, 2025

This will help addressing #3865
Also helps with: #6541

Previously, the reticulate extension would just ignore the code passed using the input argument of reticulate::real_python(). Turns out that's what is currently used by the quarto extension to send code to the reticulate repl. We now make sure that it's executed in the reticulate console.

Needs: posit-dev/ark#730

Release Notes

New Features

  • N/A

Bug Fixes

QA Notes

This can be tested by running:

reticulate::repl_python(input="x= 1")

This could should be executed in the Reticulate Python console.

@:reticulate

Copy link

github-actions bot commented Feb 27, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:reticulate

readme  valid tags

Copy link
Collaborator

@jmcphers jmcphers left a comment

Choose a reason for hiding this comment

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

image

@dfalbel dfalbel merged commit 4a4d941 into main Mar 3, 2025
11 checks passed
@dfalbel dfalbel deleted the reticulate-input branch March 3, 2025 10:57
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants