Skip to content

Load SDK from Python venv#5

Merged
AmaranthineCodices merged 5 commits intomainfrom
lbrown/python-env-detect
Jul 16, 2025
Merged

Load SDK from Python venv#5
AmaranthineCodices merged 5 commits intomainfrom
lbrown/python-env-detect

Conversation

@AmaranthineCodices
Copy link
Collaborator

@AmaranthineCodices AmaranthineCodices commented Jul 11, 2025

Removes the legacy SDK loading code, including our automatic use of magic. This breaks all test cases.

We now search for a Python environment using the Python extension's APIs, then try to load MAX from it.

@AmaranthineCodices AmaranthineCodices marked this pull request as ready for review July 14, 2025 20:15
@mckaydavis
Copy link

Removes the legacy SDK loading code, including our automatic use of magic. This breaks all test cases.
Are you planning to fix the tests in this PR?

@AmaranthineCodices
Copy link
Collaborator Author

Removes the legacy SDK loading code, including our automatic use of magic. This breaks all test cases.

Are you planning to fix the tests in this PR?

I tried but wasn't able to get them working. I'm going to have to rebuild our test infrastructure; vscode-test-cli isn't working for our needs.

Copy link

@mckaydavis mckaydavis left a comment

Choose a reason for hiding this comment

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

Can please you file / link follow-up tickets for testing?

Comment on lines +139 to +142
// this.envManager.showBazelwRunInstallPrompt(
// 'The LLDB Debug Adapter seems to be corrupted.',
// sdk.homePath,
// );

Choose a reason for hiding this comment

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

Why is this commented out but not removed?
If this is not released to users yet, I recommend either re-enabling it.
(or just removing it)

@AmaranthineCodices AmaranthineCodices merged commit d8d2383 into main Jul 16, 2025
1 of 2 checks passed
@AmaranthineCodices AmaranthineCodices deleted the lbrown/python-env-detect branch July 16, 2025 18:43
This was referenced Jul 16, 2025
AmaranthineCodices added a commit that referenced this pull request Jul 16, 2025
This will allow us to test SDK-related features again in the aftermath of #5.
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