Hi everybody, like you, when version 2023.8.20 of Pylance was released, the bypass trick no longer worked and well given that I was on vacation, I had thought that someone would find a new solution. But today, we are at version 2023.9.10 (and VSCodium 1.82.2) and it seems to me that there is still no reliable solution to solve the problem...
So I pulled my sleeves back and I did the tests again and again... Until when fiddle the files of the extension itself, I managed to make it work again! This method is terribly stupid and not the most convenient, but it worked on 2 of my computers with different configurations and it has the advantage of not need to change the name of the application anymore.
So to make it simple, here are the changes to be made to be able to install the extension and remove the verification (I only have Windows, but it should be the same under Linux and I don't know for MAC):
-
Edit the C:\Program Files\VSCodium\resources\app\product.json or create a product.json in C:\Users\YOUR_USERNAME\AppData\Roaming\VSCodium
-
Set the extensionsGallery value:
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items"
},
-
Install the Pylance and Python extension. Close the VSCodium when finished.
-
Open this path C:\Users\YOUR_USERNAME\.vscode-oss\extensions\ms-python.vscode-pylance-2023.X.XX\dist\
-
Rename extension.bundle.js to extension.bundle.js.bak (backup).
Here, I hope it'll be useful to you. If someone wants to modify DOCS.md to put the explanations or pointed this issue, it would be cool for the others users ^^
PS: Sorry for my english, I not have habitude to create Issue.
Hi everybody, like you, when version 2023.8.20 of Pylance was released, the bypass trick no longer worked and well given that I was on vacation, I had thought that someone would find a new solution. But today, we are at version 2023.9.10 (and VSCodium 1.82.2) and it seems to me that there is still no reliable solution to solve the problem...
So I pulled my sleeves back and I did the tests again and again... Until when fiddle the files of the extension itself, I managed to make it work again! This method is terribly stupid and not the most convenient, but it worked on 2 of my computers with different configurations and it has the advantage of not need to change the name of the application anymore.
So to make it simple, here are the changes to be made to be able to install the extension and remove the verification (I only have Windows, but it should be the same under Linux and I don't know for MAC):
Edit the
C:\Program Files\VSCodium\resources\app\product.jsonor create aproduct.jsoninC:\Users\YOUR_USERNAME\AppData\Roaming\VSCodiumSet the
extensionsGalleryvalue:Install the
PylanceandPythonextension. Close the VSCodium when finished.Open this path
C:\Users\YOUR_USERNAME\.vscode-oss\extensions\ms-python.vscode-pylance-2023.X.XX\dist\Rename
extension.bundle.jstoextension.bundle.js.bak(backup).Here, I hope it'll be useful to you. If someone wants to modify DOCS.md to put the explanations or pointed this issue, it would be cool for the others users ^^
PS: Sorry for my english, I not have habitude to create Issue.