summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorJP Ungaretti <19893438+jungaretti@users.noreply.github.com>2023-01-24 02:49:17 -0800
committerGitHub <noreply@github.com>2023-01-24 11:49:17 +0100
commit4362da7c5e81ed1c96663381ffe8d552d226ef14 (patch)
tree2318a46067329768b16e8be4d98d25a2590b9903 /numpy/array_api/_array_object.py
parent04823c1a95e23c55432a78c7c7414c040279c2e1 (diff)
downloadnumpy-4362da7c5e81ed1c96663381ffe8d552d226ef14.tar.gz
DEV: Fix shell configuration in devcontainer (#23076)
This PR moves our repo setup to onCreateCommand from postCreateCommand in order to resolve a race condition between conda init and the default shell in VS Code. You can test this new devcontainer.json by creating a codespace for my fork/branch: https://github.com/codespaces/new?hide_repo_select=true&ref=jungaretti%2Fupdate-devcontainer&repo=576410652 postCreateCommand doesn't block interaction with your codespace. You can use other terminals and move around editors while it runs. On the other hand, onCreateCommand runs before you interact with your codespace. You won't be able to open a terminal until it finishes. onCreateCommand is a better choice for running our setup script because we need to run conda init before using the terminal.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions