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

Updates to use new Python locator Api #23832

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Updates to use new Python locator Api #23832

merged 1 commit into from
Jul 18, 2024

Conversation

DonJayamanne
Copy link

No description provided.

@DonJayamanne DonJayamanne added no-changelog No news entry required skip package*.json package.json and package-lock.json don't both need updating skip tests Updates to tests unnecessary labels Jul 18, 2024
@@ -306,6 +345,8 @@ class NativeGlobalPythonFinderImpl extends DisposableBase implements NativePytho
notifyUponCompletion();
};

// Assumption is server will ensure there's only one refresh at a time.
// Perhaps we should have a request Id or the like to map the results back to the `refresh` request.
Copy link
Author

Choose a reason for hiding this comment

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

Will review the API tomorrow/later (after finishing other work), but leaving this as is for now
@karthiknadig /cc

// Lowercase for purposes of comparison (safe).
executablesFoundByNativeLocator.add(data.executable.toLowerCase());
} else if (data.prefix) {
if (isNativeInfoEnvironment(data)) {
Copy link
Author

Choose a reason for hiding this comment

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

@karthiknadig none of this code gets executed in the main branch anymore,
We can discuss that offline and fix that in a sepearate PR
But we'll need to get that done before the release

@DonJayamanne DonJayamanne marked this pull request as ready for review July 18, 2024 07:25
@vscodenpa vscodenpa added this to the July 2024 milestone Jul 18, 2024
@DonJayamanne DonJayamanne merged commit abe223f into main Jul 18, 2024
78 of 79 checks passed
@DonJayamanne DonJayamanne deleted the newApi branch July 18, 2024 07:45
eleanorjboyd pushed a commit to eleanorjboyd/vscode-python that referenced this pull request Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog No news entry required skip package*.json package.json and package-lock.json don't both need updating skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants