@@ -11,7 +11,10 @@ name = "executable-tutorials"
1111platforms = [" linux-64" , " osx-64" , " osx-arm64" , " win-64" , " emscripten-wasm32" ]
1212version = " 0.1.0"
1313
14- [tasks ]
14+ [feature .base ]
15+ platforms = [" linux-64" , " osx-64" , " osx-arm64" , " win-64" ]
16+
17+ [feature .base .tasks ]
1518build = { cmd = [
1619 " sphinx-build" ,
1720 " ." , # source directory
@@ -25,29 +28,30 @@ clean = "rm -rf _build/*"
2528start = " jupyter lab --FileContentsManager.preferred_dir tutorials"
2629test = " bash ./test.sh"
2730
28- [activation ]
31+ [feature . base . activation ]
2932# Workaround overrides JupyterLab configuration (at the environment level) to
3033# make double-clicking on a Jupytext Markdown file open that file as a
3134# notebook. This is important for the development workflow for contributors.
3235scripts = [" bash {$PIXI_PROJECT_ROOT}/.binder/postBuild" ]
3336
34- [dependencies ]
37+ [feature . base . dependencies ]
3538python = " >=3.11"
3639matplotlib-base = " >=3.9"
37- # jupyterlab = ">=4.2"
38- # jupyterlab-myst = ">=2.4"
40+ jupyterlab = " >=4.2"
41+ jupyterlab-myst = " >=2.4"
3942pytest = " >=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 = " *"
5155
5256[feature .py312 ]
5357platforms = [" linux-64" , " osx-64" , " osx-arm64" , " win-64" ]
@@ -97,7 +101,8 @@ cmd = "python -m http.server 8000 -d _build/html/jupyterlite/"
97101depends-on = [" build_wasm" ]
98102
99103[environments ]
100- py312 = [" py312" ]
101- py313 = [" py313" ]
104+ default = [" base" ]
105+ py312 = [" base" , " py312" ]
106+ py313 = [" base" , " py313" ]
102107jupyterlite-runtime = [" jupyterlite-runtime" ]
103108jupyterlite-host = [" jupyterlite-host" ]
0 commit comments