@@ -11,7 +11,10 @@ name = "executable-tutorials"
11
11
platforms = [" linux-64" , " osx-64" , " osx-arm64" , " win-64" , " emscripten-wasm32" ]
12
12
version = " 0.1.0"
13
13
14
- [tasks ]
14
+ [feature .base ]
15
+ platforms = [" linux-64" , " osx-64" , " osx-arm64" , " win-64" ]
16
+
17
+ [feature .base .tasks ]
15
18
build = { cmd = [
16
19
" sphinx-build" ,
17
20
" ." , # source directory
@@ -25,29 +28,30 @@ clean = "rm -rf _build/*"
25
28
start = " jupyter lab --FileContentsManager.preferred_dir tutorials"
26
29
test = " bash ./test.sh"
27
30
28
- [activation ]
31
+ [feature . base . activation ]
29
32
# Workaround overrides JupyterLab configuration (at the environment level) to
30
33
# make double-clicking on a Jupytext Markdown file open that file as a
31
34
# notebook. This is important for the development workflow for contributors.
32
35
scripts = [" bash {$PIXI_PROJECT_ROOT}/.binder/postBuild" ]
33
36
34
- [dependencies ]
37
+ [feature . base . dependencies ]
35
38
python = " >=3.11"
36
39
matplotlib-base = " >=3.9"
37
- # jupyterlab = ">=4.2"
38
- # jupyterlab-myst = ">=2.4"
40
+ jupyterlab = " >=4.2"
41
+ jupyterlab-myst = " >=2.4"
39
42
pytest = " >=8.3.5,<9"
40
- # nbval = ">=0.11.0,<0.12"
41
- # jupytext = ">=1.17.1,<2"
42
-
43
- [pypi-dependencies ]
44
- # sphinx = ">=8.0.2"
45
- # myst-nb = ">=1.1"
46
- # jupytext = ">=1.16"
47
- # sphinx-book-theme = ">=1.1"
48
- # sphinx-copybutton = ">=0.5"
49
- # sphinx-design = "*"
50
- # pytest-custom_exit_code = "*"
43
+ nbval = " >=0.11.0,<0.12"
44
+ jupytext = " >=1.17.1,<2"
45
+ ipympl = " *"
46
+
47
+ [feature .base .pypi-dependencies ]
48
+ sphinx = " >=8.0.2"
49
+ myst-nb = " >=1.1"
50
+ jupytext = " >=1.16"
51
+ sphinx-book-theme = " >=1.1"
52
+ sphinx-copybutton = " >=0.5"
53
+ sphinx-design = " *"
54
+ pytest-custom_exit_code = " *"
51
55
52
56
[feature .py312 ]
53
57
platforms = [" linux-64" , " osx-64" , " osx-arm64" , " win-64" ]
@@ -97,7 +101,8 @@ cmd = "python -m http.server 8000 -d _build/html/jupyterlite/"
97
101
depends-on = [" build_wasm" ]
98
102
99
103
[environments ]
100
- py312 = [" py312" ]
101
- py313 = [" py313" ]
104
+ default = [" base" ]
105
+ py312 = [" base" , " py312" ]
106
+ py313 = [" base" , " py313" ]
102
107
jupyterlite-runtime = [" jupyterlite-runtime" ]
103
108
jupyterlite-host = [" jupyterlite-host" ]
0 commit comments