You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure you have python and python extension installed.
Make sure python extension is activated (open python file)
Create pyproject.toml with following content:
[project]
name = "spam"
version = "2020.0.0"
description = "Lovely Spam! Wonderful Spam!"
keywords = ["egg", "bacon", "sausage", "tomatoes", "Lobster Thermidor"]
dependencies = [
"httpx",
"gidgethub[httpx]",
"django; os_name != 'nt'",
"django; os_name == 'nt'",
]
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools", "wheel"] # PEP 508 specifications.
Things to check:
You should see hint squiggle like this, if the package is not installed. For os specific case you should see the squiggle only under the dependency that applies to your os. More environment markers here (https://peps.python.org/pep-0508/#environment-markers):
If you remove the [build-system] part and save, Create Environment button should go away.
If there are no dependencies or if all packages are installed then Create Environment button should go away.
Note: we don't trigger on file system events to detect package installs at this point. So you will need to close and reopen the file for this.
Note 2: We don't validate versions at this point. We only detect if a package is installed.
The text was updated successfully, but these errors were encountered:
Refs: #21141
Complexity: 2
Create Issue
Requirements
Verification steps:
pyproject.toml
with following content:Things to check:
You should see hint squiggle like this, if the package is not installed. For os specific case you should see the squiggle only under the dependency that applies to your os. More environment markers here (https://peps.python.org/pep-0508/#environment-markers):

If you remove the
[build-system]
part and save,Create Environment
button should go away.If there are no dependencies or if all packages are installed then
Create Environment
button should go away.Note: we don't trigger on file system events to detect package installs at this point. So you will need to close and reopen the file for this.
Note 2: We don't validate versions at this point. We only detect if a package is installed.
The text was updated successfully, but these errors were encountered: