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

[python] - solution to features issue #870 - unable to open codespace in jupyterlab #1156

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gauravsaini04
Copy link
Contributor

Ref: #870

Feature Name

  • Python

Description

Changelog

  • Have added to containerEnv['PATH'] in devcontainer-feature.json in python feature

Checklist

  • Checked that applied changes work as expected

@@ -67,7 +67,7 @@
"PYTHON_PATH": "/usr/local/python/current",
"PIPX_HOME": "/usr/local/py-utils",
"PIPX_BIN_DIR": "/usr/local/py-utils/bin",
"PATH": "/usr/local/python/current/bin:/usr/local/py-utils/bin:${PATH}"
"PATH": "/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/share/nvm/current/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin:${PATH}"
Copy link
Contributor

Choose a reason for hiding this comment

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

The user name vscode is hard coded. Is that ideal?

Copy link
Contributor

Choose a reason for hiding this comment

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

+1, This solution would prevent the feature from working for people who have specified the containerUser

@gauravsaini04 gauravsaini04 marked this pull request as ready for review October 24, 2024 00:04
@gauravsaini04 gauravsaini04 requested a review from a team as a code owner October 24, 2024 00:04
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.

3 participants