8000 Support detecting and selecting pypy installations and environments · Issue #16408 · microsoft/vscode-python · GitHub
[go: up one dir, main page]

Skip to content

Support detecting and selecting pypy installations and environments #16408

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

Closed
stonebig opened this issue Jun 6, 2021 · 1 comment
Closed
Assignees
Labels
area-environments Features relating to handling interpreter environments bug Issue identified by VS Code Team member as probable bug

Comments

@stonebig
Copy link
stonebig commented Jun 6, 2021

on Windows the pattern is like below, and seems "missed"

pypy3.7-v7.3.5rc3-win64\pypy3.exe
pypy3.7-v7.3.5-win64\pypy3.exe

indeed, I have parametrized "settings.json" like this

{ 
"python.interpreterPath": "${env:WINPYDIR}\\\\pypy3.exe", 
"jupyter.widgetScriptSources": [ 
"jsdelivr.com", 
"unpkg.com" 
], 
} 

.... pypy3.exe is not said "found"
image

if I copy "pypy3.exe" to "python.exe" ... miracle (greuuuuuuuuh)
image

image

I would suppose the problem is in there ?

https://github.com/microsoft/vscode-python/blob/main/src/client/pythonEnvironments/discovery/locators/services/pyenvLocator.ts

@stonebig stonebig added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Jun 6, 2021
@stonebig stonebig changed the title PyEnvLocators seems to not recognize recent PyPy3 patte A450 rn pyenvLocator.ts seems to not recognize recent PyPy3 pattern Jun 6, 2021
@karthiknadig karthiknadig self-assigned this Jun 7, 2021
@karthiknadig karthiknadig added area-environments Features relating to handling interpreter environments triage and removed triage-needed Needs assignment to the proper sub-team labels Jun 7, 2021
@karthiknadig
Copy link
Member
karthiknadig commented Jun 7, 2021

We don't support detecting and using pypy. This would be a feature request on the extension.

In the pyenvLocator code, we parse the version information as a best effort. But we don't switch the executable type we look for internally to pypy3.exe.

@karthiknadig karthiknadig changed the title pyenvLocator.ts seems to not recognize recent PyPy3 pattern Support detecting and selecting pypy installations and environments Jun 7, 2021
@microsoft microsoft locked and limited conversation to collaborators Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants
0