@@ -22,9 +22,9 @@ architectures.
22
22
23
23
### Support matrix [ ^ conda-callout ]
24
24
25
- | Python Version {{< fa arrow-right >}} | Python 3.9 | Python 3.10 | Python 3.11 |
25
+ | | Python 3.9 | Python 3.10 | Python 3.11 |
26
26
| -----------------------------------------: | :--------------------------: | :--------------: | :--------------: |
27
- | ** Operating System ** {{< fa arrow-down >}} | | | |
27
+ | | | | |
28
28
| ** Linux** | {{< fa check >}}[ ^ supported ] | {{< fa check >}} | {{< fa check >}} |
29
29
| ** macOS (x86_64)** | {{< fa check >}} | {{< fa check >}} | {{< fa check >}} |
30
30
| ** macOS (aarch64)** | {{< fa check >}} | {{< fa check >}} | {{< fa check >}} |
@@ -124,9 +124,9 @@ for manager, params in managers.items():
124
124
125
125
### Support matrix
126
126
127
- | Python Version {{< fa arrow-right >}} | Python 3.9 | Python 3.10 | Python 3.11 |
127
+ | | Python 3.9 | Python 3.10 | Python 3.11 |
128
128
| -----------------------------------------: | :--------------------------: | :-----------------------: | :-----------------------: |
129
- | ** Operating System ** {{< fa arrow-down >}} | | | |
129
+ | | | | |
130
130
| ** Linux** | {{< fa check >}}[ ^ supported ] | {{< fa check >}} | {{< fa check >}} |
131
131
| ** macOS (x86_64)** | {{< fa check >}} | {{< fa check >}} | {{< fa check >}} |
132
132
| ** macOS (arm64/M1/M2)** | {{< fa ban >}}[ ^ m1 ] | {{< fa ban >}}[ ^ m1 ] | {{< fa ban >}}[ ^ m1 ] |
@@ -181,6 +181,71 @@ for manager, params in managers.items():
181
181
This will launch a ` bash` shell with all of the required dependencies installed.
182
182
This may take a while due to artifact download from the cache.
183
183
184
+ # # Container (uv)
185
+
186
+ # ## Support matrix
187
+
188
+ | | Python 3.9 | Python 3.10 | Python 3.11 |
189
+ | -----------------------------------------: | :--------------------------: | :-----------------------: | :-----------------------: |
190
+ | | | | |
191
+ | ** Linux** | {{< fa check > }} | {{< fa check > }} | {{< fa check > }} |
192
+ | ** macOS (x86_64)** | {{< fa check > }} | {{< fa check > }} | {{< fa check > }} |
193
+ | ** macOS (arm64/M1/M2)** | {{< fa check > }} | {{< fa check > }} | {{< fa check > }} |
194
+ | ** Windows** | {{< fa check > }} | {{< fa check > }} | {{< fa check > }} |
195
+
196
+ 1. Git clone the project repository.
197
+
198
+ 1. Install ` Docker Desktop` for your platform.
199
+
200
+ 1. [Install ` VS Code` ](https://code.visualstudio.com/)
201
+
202
+ 1. [Install ` VS Code Docker Extension` ](https://marketplace.visualstudio.com/items? itemName=ms-azuretools.vscode-docker)
203
+
204
+ 1. [Install ` VS Code Dev Containers Extension` ](https://marketplace.visualstudio.com/items? itemName=ms-vscode-remote.remote-containers)
205
+
206
+ 1. If using an Apple Silicon Mac, virtualization may be fastest with Colima.
207
+ 1. [Install ` Colima` ](https://github.com/abiosoft/colima)
208
+ 2. Verify that the disk allocation to Colima is satisfactory with ` colima template --editor code` .
209
+ 3. To use Colima for virtualization, ` docker context use colima` or ` export DOCKER_CONTEXT=colima` .
210
+ 4. Verify that the Colima context is in effect with ` docker context ls` (look for ' *' ).
211
+ 5. Start the Colima VM: ` start colima` .
212
+ 6. If you encounter disk resource issues after building images, ` colima prune` or ` colima delete` may be needed.
213
+
214
+ As an alternative to ` Colima` , install Rosetta 2.
215
+
216
+ ` ` ` sh
217
+ softwareupdate --install-rosetta
218
+ ` ` `
219
+
220
+ 1. In ` VS Code` , open the project directory.
221
+
222
+ 1. Menu options for working with devcontainers are available through the blue ` ><`
223
+ button, at the lower left corner of the project window.
224
+
225
+ * Use ` Reopen the container` to build an image and launch a container.
226
+ * Press any button to close the automatically launched terminal.
227
+ * Launch a new ` VS Code` terminal from the main menu.
228
+ * The project will be in the container as an editable install with Ibis library,
229
+ dev and test dependencies installed, and with the working directory ` /app` .
230
+
231
+ 1. Use ` uv` commands such ` uv pip list` to show the installed packages in the ` uv`
232
+ .venv.
233
+
234
+ 1. Run non-` uv` commands in the virtual environment using ` uv run` , for
235
+ example ` uv run pytest -m core` . Standard ` git` commands are available without
236
+ ` uv run` because they do not need packages in the .venv to work.
237
+
238
+ 1. To exit a container, click the ` Dev Container` button on the lower left of the
239
+ window and select the last menu option, ` Close Remote Connection` .
240
+
241
+ 1. To ensure you have the latest dependencies from the main branch based on
242
+ ` pyproject.toml` :
243
+
244
+ * Exit any running container.
245
+ * From your local Git repo, ` git pull origin main` .
246
+ * Reopen the project in a new container.
247
+ * ` Rebuild Container` to copy files from the local Git repo and have the build
248
+ run ` uv sync` .
184
249
185
250
# # pip
186
251
0 commit comments