<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/.devcontainer, branch main</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>DEV: use micromamba to set up Codespaces</title>
<updated>2023-03-17T11:15:59+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2023-03-17T09:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=084ef49a68775b9e6865b519e7cc5af6e10d21ac'/>
<id>084ef49a68775b9e6865b519e7cc5af6e10d21ac</id>
<content type='text'>
This is faster, and allows using 2-core instances instead of
requiring a minimum of 8 GB / 4 cores.

[skip ci]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is faster, and allows using 2-core instances instead of
requiring a minimum of 8 GB / 4 cores.

[skip ci]
</pre>
</div>
</content>
</entry>
<entry>
<title>DEV: Fix shell configuration in devcontainer (#23076)</title>
<updated>2023-01-24T10:49:17+00:00</updated>
<author>
<name>JP Ungaretti</name>
<email>19893438+jungaretti@users.noreply.github.com</email>
</author>
<published>2023-01-24T10:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4362da7c5e81ed1c96663381ffe8d552d226ef14'/>
<id>4362da7c5e81ed1c96663381ffe8d552d226ef14</id>
<content type='text'>
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&amp;ref=jungaretti%2Fupdate-devcontainer&amp;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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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&amp;ref=jungaretti%2Fupdate-devcontainer&amp;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.</pre>
</div>
</content>
</entry>
<entry>
<title>DEV: Fix devcontainer configuration (#22785)</title>
<updated>2022-12-16T08:09:14+00:00</updated>
<author>
<name>JP Ungaretti</name>
<email>19893438+jungaretti@users.noreply.github.com</email>
</author>
<published>2022-12-16T08:09:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a891096af955c4545fb0c31a457df5b83d4f32d7'/>
<id>a891096af955c4545fb0c31a457df5b83d4f32d7</id>
<content type='text'>
This PR fixes numpy's devcontainer.json to successfully create an Anaconda environment. You can test this new devcontainer.json by creating a codespace for my fork/branch: https://github.com/codespaces/new?hide_repo_select=true&amp;ref=jungaretti%2Ffix-devcontainer&amp;repo=576410652

Changes

* Removed references to Microsoft's anaconda-0.3 image. This image is deprecated. For a list of maintained images, see https://github.com/devcontainers/images
* Added a new setup.sh script that is run by postCreateCommand and removed the unnecessary Dockerfile. For more information about devcontainer lifecycle scripts, see https://containers.dev/implementors/json_reference/#lifecycle-scripts
* Increases memory requirement to 8 GB. Anaconda environment creation seems to fail when only 4 GB of memory are available. This hostRequirements addition will ensure that the environment is created successfully with GitHub Codespaces.
* Remove unnecessary rust dependency</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR fixes numpy's devcontainer.json to successfully create an Anaconda environment. You can test this new devcontainer.json by creating a codespace for my fork/branch: https://github.com/codespaces/new?hide_repo_select=true&amp;ref=jungaretti%2Ffix-devcontainer&amp;repo=576410652

Changes

* Removed references to Microsoft's anaconda-0.3 image. This image is deprecated. For a list of maintained images, see https://github.com/devcontainers/images
* Added a new setup.sh script that is run by postCreateCommand and removed the unnecessary Dockerfile. For more information about devcontainer lifecycle scripts, see https://containers.dev/implementors/json_reference/#lifecycle-scripts
* Increases memory requirement to 8 GB. Anaconda environment creation seems to fail when only 4 GB of memory are available. This hostRequirements addition will ensure that the environment is created successfully with GitHub Codespaces.
* Remove unnecessary rust dependency</pre>
</div>
</content>
</entry>
<entry>
<title>DEV: Add initial devcontainer config for codepaces (#22722)</title>
<updated>2022-12-03T12:17:15+00:00</updated>
<author>
<name>Inessa Pawson</name>
<email>inessapawson@gmail.com</email>
</author>
<published>2022-12-03T12:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4c4e803c3866fd31440e8db395142eeb2c2ffbd4'/>
<id>4c4e803c3866fd31440e8db395142eeb2c2ffbd4</id>
<content type='text'>
* initial files

* STY: remove noop.txt (we have an environment.yaml)

some other style fixups

Co-authored-by: Sarah Kaiser &lt;sckaiser@sckaiser.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* initial files

* STY: remove noop.txt (we have an environment.yaml)

some other style fixups

Co-authored-by: Sarah Kaiser &lt;sckaiser@sckaiser.com&gt;</pre>
</div>
</content>
</entry>
</feed>
