calkit-python 0.41.14__tar.gz → 0.41.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.gitignore +2 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.pre-commit-config.yaml +0 -2
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.prettierignore +0 -1
- calkit_python-0.41.16/.prettierrc.json +6 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/AGENTS.md +3 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/Makefile +12 -10
- {calkit_python-0.41.14 → calkit_python-0.41.16}/PKG-INFO +1 -1
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/check.py +5 -2
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/config.py +53 -6
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/main/core.py +14 -1
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/new.py +1 -1
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/notebooks.py +17 -10
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/update.py +1 -1
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/core.py +7 -3
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/detect.py +64 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/environments.py +18 -2
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/julia.py +29 -2
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/package.json +3 -23
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/schemas/calkit/package.json.orig +2 -22
- calkit_python-0.41.14/calkit/labextension/static/remoteEntry.65469af996e7a96aa983.js → calkit_python-0.41.16/calkit/labextension/static/remoteEntry.ac9035764d5b2adbb542.js +1 -1
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/notebooks.py +1 -3
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/pipeline.py +32 -8
- {calkit_python-0.41.14 → calkit_python-0.41.16/calkit/tests/jupyterlab}/conftest.py +1 -2
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_core.py +15 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_detect.py +49 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_julia.py +46 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_pipeline.py +49 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/package.json +2 -22
- {calkit_python-0.41.14 → calkit_python-0.41.16}/pyproject.toml +9 -7
- calkit_python-0.41.16/vscode-ext/README.md +148 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/package.json +47 -4
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/extension.ts +272 -494
- calkit_python-0.41.16/vscode-ext/src/figures/core.ts +93 -0
- calkit_python-0.41.16/vscode-ext/src/figures/view.ts +474 -0
- calkit_python-0.41.16/vscode-ext/src/pipeline/core.ts +81 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/sidebar.ts +244 -78
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/test/figures.test.ts +41 -1
- calkit_python-0.41.16/vscode-ext/src/test/pipeline.test.ts +61 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/types.ts +30 -1
- calkit_python-0.41.14/vscode-ext/README.md +0 -66
- calkit_python-0.41.14/vscode-ext/src/figures.ts +0 -40
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.claude-plugin/marketplace.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.gitattributes +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.python-version +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.vscode/launch.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/.vscode/tasks.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/CITATION.cff +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/CODE_OF_CONDUCT.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/CONTRIBUTING.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/LICENSE +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/README.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/agent-plugin/.claude-plugin/plugin.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/agent-plugin/skills/add-pipeline-stage/SKILL.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/agent-plugin/skills/conventions/SKILL.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/agent-plugin/skills/create-pipeline/SKILL.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/__main__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/calc.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/check.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/cloud.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/delete.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/describe.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/dev.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/import_.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/latex.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/list.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/main/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/main/xr.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/office.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/overleaf.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cli/scheduler.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/cloud.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/conda.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/config.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/datasets.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/dependencies.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/docker.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/dvc/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/dvc/core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/dvc/zip.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/fs.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/git.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/github.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/gui.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/install.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/invenio.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/jupyter.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/jupyterlab/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/jupyterlab/routes.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/schemas/calkit/plugin.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/502.9a2c5772a15466e923ef.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/695.2c41003a452d43d2b358.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/867.a42a046aa5108f54f8fb.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/909.e3f9cc3408834a7fdcc3.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/946.050af2abf7845cfbdbd2.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/946.050af2abf7845cfbdbd2.js.LICENSE.txt +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/b2f1c3efe70cb539d121.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/style.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/static/third-party-licenses.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/licenses.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/magics.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/matlab.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/models/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/models/core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/models/io.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/models/iteration.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/models/pipeline.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/office.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/ops.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/overleaf.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/releases.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/server.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/article/paper.tex +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/jfm/jfm.bst +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/jfm/jfm.cls +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/jfm/lineno-FLM.sty +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/jfm/paper.tex +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/templates/latex/jfm/upmath.sty +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/main/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/main/test_core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/main/test_lock.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/main/test_subprojects.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/main/test_xr.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_check.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_cloud.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_config.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_delete.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_import.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_latex.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_list.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_new.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_notebooks.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_overleaf.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_scheduler.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/cli/test_update.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/dvc/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/dvc/test_core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/dvc/test_zip.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/jupyterlab/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/jupyterlab/test_routes.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/models/__init__.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/models/test_core.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/models/test_iteration.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/models/test_pipeline.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_calc.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_check.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_cloud.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_conda.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_dependencies.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_docker.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_environments.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_fs.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_git.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_install.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_invenio.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_jupyter.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_licenses.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_magics.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_matlab.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_notebooks.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_releases.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/tests/test_templates.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/CNAME +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/ai-tools.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/apps.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/calculations.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/calkit-yaml.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/cli-reference.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/cloud-integration.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/datasets.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/dependencies.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/environments.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/examples.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/governance.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/help.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/hpc.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/c-to-the-k-white.svg +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/calkit-fragmentation-compendium.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/calkit-no-bg.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/connect-zenodo.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/jupyterlab/all-green.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/jupyterlab/collect-data-stale.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/jupyterlab/new-env.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/jupyterlab/new-notebook.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/jupyterlab/pipeline-badge.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/jupyterlab-params.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/plos-osi-code-2024-03.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/img/vscode-nb-params.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/index.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/installation.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/jupyterlab.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/local-server.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/notebooks.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/overleaf.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/pipeline/index.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/pipeline/manual-steps.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/pipeline/running-and-logging.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/quickstart.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/references.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/releases.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/reproducibility.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/subprojects.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/adding-latex-pub-docker.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/ai-agents.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/conda-envs.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/existing-project.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/first-project.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/github-actions.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/actions-repo-secrets.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/building-codespace.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/codespaces-secrets-2.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/editor-split.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/go-to-linked-code.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/issue-from-selection.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/new-project.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/new-pub-2.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/new-token.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/paper.tex.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/project-home-3.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/push.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/latex-codespaces/stage.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/anakin-excel.jpg +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/chart-more-rows.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/create-project.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/elsevier-research-data-guidelines.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/excel-chart.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/excel-data.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/insert-link-to-file.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/needs-clone.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/new-stage.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/phd-comics-version-control.webp +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/pipeline-out-of-date.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/status-more-rows.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/uncommitted-changes.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/untracked-data.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/updated-publication.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/word-to-pdf-stage-2.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/office/workflow-page.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/clone.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/create-project.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/datasets-page.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/figure-on-website-updated.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/figure-on-website.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/new-token.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/reclone.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/openfoam/status-after-import-dataset.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/quick-actions.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/run-proc.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/vscode-slurm-notebook/create-calkit-env.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/vscode-slurm-notebook/create-inner-env.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/vscode-slurm-notebook/create-new-calkit-env.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/vscode-slurm-notebook/select-calkit-env.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/vscode-slurm-notebook/slurm-job-running.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/vscode-slurm-notebook/slurm-launch-options.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/img/vscode-slurm-notebook/starting-slurm-job.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/index.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/jupyterlab.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/latex-codespaces.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/matlab.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/notebook-pipeline.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/office.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/openfoam.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/procedures.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/tutorials/vscode-slurm-notebook.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/docs/version-control.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/flake.lock +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/flake.nix +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/.yarnrc.yml +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/babel.config.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/install.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/jest.config.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/jupyter-config/server-config/calkit.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/schema/plugin.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/__tests__/useQueries.spec.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/calkit-config.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/cell-output-marker.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/commit-dialog.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/environment-editor.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/notebook-registration.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/notebook-toolbar.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/pipeline-status-bar.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/project-info-editor.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/sidebar-settings.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/sidebar.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/components/stage-editor.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/feature-flags.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/file-browser-menu.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/hooks/__tests__/useQueries.test.tsx +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/hooks/useQueries.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/icons.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/index.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/io-tracker.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/pipeline-state.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/queryClient.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/request.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/src/shims-mainmenu.d.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/base.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/cell-output-marker.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/environment-editor.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/environment-selector.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/img/calkit-no-bg.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/index.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/index.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/notebook-toolbar.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/pipeline-status-bar.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/style/sidebar.css +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/tsconfig.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/tsconfig.test.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/ui-tests/.gitignore +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/ui-tests/README.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/ui-tests/jupyter_server_test_config.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/ui-tests/package.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/ui-tests/playwright.config.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/ui-tests/tests/calkit.spec.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/ui-tests/yarn.lock +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16/jupyterlab-ext}/yarn.lock +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/mkdocs.yml +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/scripts/generate-docs-references.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/scripts/install.ps1 +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/scripts/install.sh +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/scripts/make-calk9.sh +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/scripts/sync-docs.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/test/dvc-md5-dir/osx-arm64.txt +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/test/nb-julia.ipynb +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/test/nb-params.ipynb +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/test/nb-subdir.ipynb +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/test/pipeline.ipynb +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/test/script.py +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/test/test-log.log +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/uv.lock +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/.gitignore +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/.vscodeignore +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/CHANGELOG.md +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/LICENSE +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/images/calkit-icon.svg +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/images/calkit-no-bg.png +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/package-lock.json +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/scripts/set-proposed-api.js +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/environments.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/notebooks.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/test/environments.test.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/test/kernel-selection.test.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/src/test/notebooks.test.ts +0 -0
- {calkit_python-0.41.14 → calkit_python-0.41.16}/vscode-ext/tsconfig.json +0 -0
|
@@ -43,3 +43,6 @@ The only exception here is if splitting up a function makes it easier to
|
|
|
43
43
|
write meaningful unit tests.
|
|
44
44
|
If a function is only used inside one other function, nest it inside the
|
|
45
45
|
caller at the top.
|
|
46
|
+
|
|
47
|
+
No spaces on either side of en or em dashes used for ranges or pauses in prose,
|
|
48
|
+
respectively.
|
|
@@ -53,19 +53,21 @@ import-profile: ## Profile the import time of the CLI.
|
|
|
53
53
|
|
|
54
54
|
.PHONY: jlab-dev
|
|
55
55
|
jlab-dev: ## Develop the JupyterLab extension.
|
|
56
|
-
uv run jlpm run watch
|
|
56
|
+
cd jupyterlab-ext && uv run jlpm run watch
|
|
57
57
|
|
|
58
58
|
.PHONY: jlab
|
|
59
59
|
jlab: ## Build the JupyterLab extension.
|
|
60
|
-
uv run jlpm run build:prod
|
|
60
|
+
cd jupyterlab-ext && uv run jlpm run build:prod
|
|
61
61
|
|
|
62
|
-
.PHONY: test-
|
|
63
|
-
test-
|
|
64
|
-
@echo "🚀 Running
|
|
65
|
-
@uv run jlpm test
|
|
62
|
+
.PHONY: test-jlab
|
|
63
|
+
test-jlab: ## Run JupyterLab extension unit tests with Jest.
|
|
64
|
+
@echo "🚀 Running JupyterLab extension unit tests"
|
|
65
|
+
@cd jupyterlab-ext && uv run jlpm test
|
|
66
66
|
|
|
67
|
-
.PHONY: test-ui
|
|
68
|
-
test-ui: ## Run the JupyterLab UI integration tests.
|
|
67
|
+
.PHONY: test-jlab-ui
|
|
68
|
+
test-jlab-ui: ## Run the JupyterLab UI integration tests.
|
|
69
69
|
@echo "🚀 Running JupyterLab UI tests with Playwright"
|
|
70
|
-
@uv run
|
|
71
|
-
@uv run --directory=ui-tests jlpm
|
|
70
|
+
@cd jupyterlab-ext && uv run jlpm run build:prod
|
|
71
|
+
@uv run --directory=jupyterlab-ext/ui-tests jlpm install
|
|
72
|
+
@uv run --directory=jupyterlab-ext/ui-tests jlpm playwright install
|
|
73
|
+
@uv run --directory=jupyterlab-ext/ui-tests jlpm playwright test -u --reporter=list
|
|
@@ -180,7 +180,8 @@ def _check_julia_env(
|
|
|
180
180
|
try:
|
|
181
181
|
subprocess.check_call(
|
|
182
182
|
cmd,
|
|
183
|
-
env=os.environ.copy()
|
|
183
|
+
env=os.environ.copy()
|
|
184
|
+
| {"JULIA_LOAD_PATH": calkit.julia.load_path()},
|
|
184
185
|
)
|
|
185
186
|
except subprocess.CalledProcessError:
|
|
186
187
|
calkit.environments.save_cache(
|
|
@@ -206,7 +207,9 @@ def _check_julia_env(
|
|
|
206
207
|
cmd = calkit.julia.ensure_startup_file_disabled_in_command(cmd)
|
|
207
208
|
try:
|
|
208
209
|
subprocess.check_call(
|
|
209
|
-
cmd,
|
|
210
|
+
cmd,
|
|
211
|
+
env=os.environ.copy()
|
|
212
|
+
| {"JULIA_LOAD_PATH": calkit.julia.load_path()},
|
|
210
213
|
)
|
|
211
214
|
except subprocess.CalledProcessError:
|
|
212
215
|
calkit.environments.save_cache(
|
|
@@ -4,6 +4,8 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import glob
|
|
6
6
|
import os
|
|
7
|
+
import platform
|
|
8
|
+
import re
|
|
7
9
|
import subprocess
|
|
8
10
|
|
|
9
11
|
import typer
|
|
@@ -233,12 +235,57 @@ def config_github_ssh():
|
|
|
233
235
|
subprocess.run(keygen_cmd)
|
|
234
236
|
# Start the SSH agent in the background
|
|
235
237
|
typer.echo("Checking that the SSH agent is running")
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
).
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
238
|
+
# Note that under git bash / MSYS (MSYSTEM is set) we get a POSIX
|
|
239
|
+
# ssh-agent on PATH, so we use the POSIX path even on Windows there.
|
|
240
|
+
native_windows = platform.system() == "Windows" and not os.environ.get(
|
|
241
|
+
"MSYSTEM"
|
|
242
|
+
)
|
|
243
|
+
if native_windows:
|
|
244
|
+
# On native Windows, OpenSSH's ssh-agent runs as a Windows service
|
|
245
|
+
# rather than exporting environment variables to the current shell.
|
|
246
|
+
# The service ships disabled by default, so ensure it's enabled
|
|
247
|
+
# before starting it (enabling requires administrator privileges).
|
|
248
|
+
p = subprocess.run(
|
|
249
|
+
[
|
|
250
|
+
"powershell",
|
|
251
|
+
"-NoProfile",
|
|
252
|
+
"-Command",
|
|
253
|
+
(
|
|
254
|
+
"if ((Get-Service ssh-agent).StartType -eq 'Disabled') "
|
|
255
|
+
"{ Set-Service ssh-agent -StartupType Manual }; "
|
|
256
|
+
"Start-Service ssh-agent"
|
|
257
|
+
),
|
|
258
|
+
],
|
|
259
|
+
capture_output=True,
|
|
260
|
+
text=True,
|
|
261
|
+
)
|
|
262
|
+
if p.returncode != 0:
|
|
263
|
+
err = (p.stderr.strip() or p.stdout.strip()).lower()
|
|
264
|
+
if "access" in err and "denied" in err:
|
|
265
|
+
raise_error(
|
|
266
|
+
"Failed to start ssh-agent service: access denied.\n"
|
|
267
|
+
"The ssh-agent service is disabled and enabling it "
|
|
268
|
+
"requires administrator privileges. Please run the "
|
|
269
|
+
"following in an elevated (Run as administrator) "
|
|
270
|
+
"PowerShell, then try again:\n\n"
|
|
271
|
+
" Set-Service ssh-agent -StartupType Manual; "
|
|
272
|
+
"Start-Service ssh-agent"
|
|
273
|
+
)
|
|
274
|
+
raise_error(
|
|
275
|
+
"Failed to start ssh-agent service: "
|
|
276
|
+
f"{p.stderr.strip() or p.stdout.strip()}"
|
|
277
|
+
)
|
|
278
|
+
else:
|
|
279
|
+
# On POSIX systems, ssh-agent -s prints shell commands that export
|
|
280
|
+
# SSH_AUTH_SOCK and SSH_AGENT_PID; parse them into our environment so
|
|
281
|
+
# the subsequent ssh-add call can find the agent
|
|
282
|
+
p = subprocess.run(["ssh-agent", "-s"], capture_output=True, text=True)
|
|
283
|
+
if p.returncode != 0:
|
|
284
|
+
raise_error("Failed to start ssh-agent")
|
|
285
|
+
for match in re.finditer(
|
|
286
|
+
r"(SSH_AUTH_SOCK|SSH_AGENT_PID)=([^;\n]+);", p.stdout
|
|
287
|
+
):
|
|
288
|
+
os.environ[match.group(1)] = match.group(2)
|
|
242
289
|
# Add the SSH key to the ssh-agent
|
|
243
290
|
typer.echo(f"Adding SSH key to ssh-agent: {key_path}")
|
|
244
291
|
cmd = ["ssh-add", key_path]
|
|
@@ -581,6 +581,18 @@ def get_status(
|
|
|
581
581
|
if pipeline_status and not pipeline_status.has_pipeline:
|
|
582
582
|
typer.echo("This project has no pipeline.")
|
|
583
583
|
return
|
|
584
|
+
# A failed environment check makes get_status bail out before computing
|
|
585
|
+
# staleness, leaving stale_stages empty. Don't let that masquerade as an
|
|
586
|
+
# up-to-date pipeline---say plainly that the status is unknown.
|
|
587
|
+
elif pipeline_status and pipeline_status.failed_environment_checks:
|
|
588
|
+
# The failing environments were already named in the warning emitted
|
|
589
|
+
# right after computing pipeline_status, so keep this explanatory
|
|
590
|
+
# only rather than repeating the list.
|
|
591
|
+
typer.echo(
|
|
592
|
+
"Pipeline status unavailable until the failed environment "
|
|
593
|
+
"checks above are resolved."
|
|
594
|
+
)
|
|
595
|
+
return
|
|
584
596
|
elif pipeline_status and pipeline_status.is_stale:
|
|
585
597
|
typer.echo("Stale stages:")
|
|
586
598
|
for stage_name in pipeline_status.stale_stage_names:
|
|
@@ -2586,7 +2598,8 @@ def run_in_env(
|
|
|
2586
2598
|
subprocess.check_call(
|
|
2587
2599
|
julia_cmd,
|
|
2588
2600
|
cwd=wdir,
|
|
2589
|
-
env=os.environ.copy()
|
|
2601
|
+
env=os.environ.copy()
|
|
2602
|
+
| {"JULIA_LOAD_PATH": calkit.julia.load_path()},
|
|
2590
2603
|
)
|
|
2591
2604
|
except subprocess.CalledProcessError:
|
|
2592
2605
|
raise_error("Failed to run in julia environment")
|
|
@@ -2108,7 +2108,7 @@ def new_julia_env(
|
|
|
2108
2108
|
except subprocess.CalledProcessError:
|
|
2109
2109
|
raise_error(f"Failed to install Julia version {julia_version}")
|
|
2110
2110
|
cmd = ["julia", f"+{julia_version}", f"--project={env_dir}", "-e"]
|
|
2111
|
-
install_cmd = f'using Pkg; Pkg.activate("{env_dir}");'
|
|
2111
|
+
install_cmd = f'using Pkg; Pkg.activate("{calkit.julia.escape_string(env_dir)}");'
|
|
2112
2112
|
for package in packages or []:
|
|
2113
2113
|
install_cmd += f' Pkg.add("{package}");'
|
|
2114
2114
|
cmd.append(install_cmd)
|
|
@@ -310,14 +310,18 @@ def check_env_kernel(
|
|
|
310
310
|
"still failed."
|
|
311
311
|
)
|
|
312
312
|
# Don't include version in display_name; IJulia appends it automatically
|
|
313
|
+
# Escape interpolated values for the Julia string literals---notably the
|
|
314
|
+
# Windows project path, whose backslashes are otherwise read as invalid
|
|
315
|
+
# unicode escapes.
|
|
316
|
+
esc = calkit.julia.escape_string
|
|
313
317
|
julia_cmd = (
|
|
314
318
|
"import IJulia;"
|
|
315
319
|
"kp=IJulia.installkernel("
|
|
316
|
-
f'"{kernel_name}",'
|
|
317
|
-
f'"--project={env_dir_abs}",'
|
|
320
|
+
f'"{esc(kernel_name)}",'
|
|
321
|
+
f'"--project={esc(env_dir_abs)}",'
|
|
318
322
|
'"--startup-file=no",'
|
|
319
|
-
f'displayname="{display_name}",'
|
|
320
|
-
'env=Dict("JULIA_LOAD_PATH" => "
|
|
323
|
+
f'displayname="{esc(display_name)}",'
|
|
324
|
+
f'env=Dict("JULIA_LOAD_PATH" => "{esc(calkit.julia.load_path())}")'
|
|
321
325
|
");"
|
|
322
326
|
"println(kp);"
|
|
323
327
|
)
|
|
@@ -474,8 +478,7 @@ def execute_notebook(
|
|
|
474
478
|
# Create this environment and write it to file
|
|
475
479
|
envs[res.name] = res.env
|
|
476
480
|
ck_info["environments"] = envs
|
|
477
|
-
|
|
478
|
-
calkit.ryaml.dump(ck_info, f)
|
|
481
|
+
calkit.save_calkit_info(ck_info)
|
|
479
482
|
# Detect language from environment
|
|
480
483
|
if language is None:
|
|
481
484
|
detected_language = language_from_notebook(path)
|
|
@@ -501,16 +504,20 @@ def execute_notebook(
|
|
|
501
504
|
raise ValueError(
|
|
502
505
|
"Language must be one of 'python', 'matlab', 'julia', or 'r'"
|
|
503
506
|
)
|
|
504
|
-
# Try to set kernelspec metadata so execution uses the expected kernel
|
|
507
|
+
# Try to set kernelspec metadata so execution uses the expected kernel.
|
|
508
|
+
# Always read/write as UTF-8: notebooks routinely contain non-ASCII (e.g.,
|
|
509
|
+
# Greek letters such as "ν" in code), and on Windows the default open()
|
|
510
|
+
# encoding is cp1252, which mangles UTF-8 content into mojibake ("ν" ->
|
|
511
|
+
# "ν") and breaks execution.
|
|
505
512
|
try:
|
|
506
|
-
with open(path, "r") as f:
|
|
513
|
+
with open(path, "r", encoding="utf-8") as f:
|
|
507
514
|
nb_json = json.load(f)
|
|
508
515
|
metadata = nb_json.setdefault("metadata", {})
|
|
509
516
|
kernelspec = metadata.setdefault("kernelspec", {})
|
|
510
517
|
kernelspec["name"] = kernel_name
|
|
511
518
|
kernelspec["display_name"] = display_name
|
|
512
|
-
kernelspec
|
|
513
|
-
with open(path, "w") as f:
|
|
519
|
+
kernelspec["language"] = language.lower()
|
|
520
|
+
with open(path, "w", encoding="utf-8") as f:
|
|
514
521
|
json.dump(nb_json, f, indent=1)
|
|
515
522
|
except Exception as e:
|
|
516
523
|
if verbose:
|
|
@@ -746,7 +746,7 @@ def update_julia_env(
|
|
|
746
746
|
env_dir = os.path.dirname(spec_path) or "."
|
|
747
747
|
julia_version = env.get("julia")
|
|
748
748
|
julia_bin = ["julia", f"+{julia_version}"] if julia_version else ["julia"]
|
|
749
|
-
cmds = [f'Pkg.activate("{env_dir}")']
|
|
749
|
+
cmds = [f'Pkg.activate("{calkit.julia.escape_string(env_dir)}")']
|
|
750
750
|
if add:
|
|
751
751
|
pkg_list = "[" + ", ".join(f'"{p}"' for p in add) + "]"
|
|
752
752
|
cmds.append(f"Pkg.add({pkg_list})")
|
|
@@ -144,7 +144,9 @@ def load_calkit_info(
|
|
|
144
144
|
if wdir is not None:
|
|
145
145
|
fpath = os.path.join(wdir, fpath)
|
|
146
146
|
if os.path.isfile(fpath):
|
|
147
|
-
|
|
147
|
+
# Always read as UTF-8; on Windows the default open() encoding is
|
|
148
|
+
# cp1252, which mangles non-ASCII content (e.g., Greek letters).
|
|
149
|
+
with open(fpath, encoding="utf-8") as f:
|
|
148
150
|
info = ryaml.load(f)
|
|
149
151
|
if info is None:
|
|
150
152
|
info = {}
|
|
@@ -166,7 +168,7 @@ def load_calkit_info(
|
|
|
166
168
|
if wdir is not None:
|
|
167
169
|
include_fpath = os.path.join(wdir, include_fpath)
|
|
168
170
|
if os.path.isfile(include_fpath):
|
|
169
|
-
with open(include_fpath) as f:
|
|
171
|
+
with open(include_fpath, encoding="utf-8") as f:
|
|
170
172
|
include_data = ryaml.load(f)
|
|
171
173
|
info[kind][obj_name] |= include_data
|
|
172
174
|
return info
|
|
@@ -180,7 +182,9 @@ def save_calkit_info(
|
|
|
180
182
|
fpath = "calkit.yaml"
|
|
181
183
|
if wdir is not None:
|
|
182
184
|
fpath = os.path.join(wdir, fpath)
|
|
183
|
-
|
|
185
|
+
# Always write as UTF-8; on Windows the default open() encoding is cp1252,
|
|
186
|
+
# which mangles non-ASCII content (e.g., Greek letters) into mojibake.
|
|
187
|
+
with open(fpath, "w", encoding="utf-8") as f:
|
|
184
188
|
ryaml.dump(info, f)
|
|
185
189
|
|
|
186
190
|
|
|
@@ -1229,6 +1229,49 @@ def _extract_r_string_assignments(code: str) -> dict[str, str]:
|
|
|
1229
1229
|
return assignments
|
|
1230
1230
|
|
|
1231
1231
|
|
|
1232
|
+
def _extract_r_string_vector_assignments(code: str) -> dict[str, list[str]]:
|
|
1233
|
+
"""Extract character-vector assignments in R code.
|
|
1234
|
+
|
|
1235
|
+
Captures assignments of the form ``x <- c("a", "b")`` so that a later
|
|
1236
|
+
``pacman::p_load(char = x)`` can be resolved back to its package list.
|
|
1237
|
+
"""
|
|
1238
|
+
assignments = {}
|
|
1239
|
+
pattern = re.compile(
|
|
1240
|
+
r"([A-Za-z_][A-Za-z0-9_.]*)\s*(?:<-|=)\s*c\(([^)]*)\)",
|
|
1241
|
+
flags=re.DOTALL,
|
|
1242
|
+
)
|
|
1243
|
+
for name, body in pattern.findall(code):
|
|
1244
|
+
strings = re.findall(r'["\']([a-zA-Z0-9._]+)["\']', body)
|
|
1245
|
+
if strings:
|
|
1246
|
+
assignments[name] = strings
|
|
1247
|
+
return assignments
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
def _resolve_r_package_args(
|
|
1251
|
+
call_args: str, vector_assignments: dict[str, list[str]]
|
|
1252
|
+
) -> set[str]:
|
|
1253
|
+
"""Resolve package names from a ``pacman::p_load()`` argument list.
|
|
1254
|
+
|
|
1255
|
+
Handles quoted literals, inline ``c(...)`` vectors, bare (non-standard
|
|
1256
|
+
evaluation) names like ``p_load(dplyr, tidyr)``, and ``char = x`` where
|
|
1257
|
+
``x`` is a character vector assigned earlier in the script.
|
|
1258
|
+
"""
|
|
1259
|
+
packages = set()
|
|
1260
|
+
# Quoted strings are package names, whether passed directly or inside c()
|
|
1261
|
+
packages.update(re.findall(r'["\']([a-zA-Z0-9._]+)["\']', call_args))
|
|
1262
|
+
# char = <var> referencing a character-vector assignment
|
|
1263
|
+
for var in re.findall(r"char\s*=\s*([A-Za-z_][A-Za-z0-9_.]*)", call_args):
|
|
1264
|
+
packages.update(vector_assignments.get(var, []))
|
|
1265
|
+
# Bare names passed positionally; drop keyword arguments (install=, update=,
|
|
1266
|
+
# character.only=, etc.) and their values before collecting identifiers
|
|
1267
|
+
stripped = re.sub(r"[A-Za-z_][A-Za-z0-9_.]*\s*=\s*[^,]+", "", call_args)
|
|
1268
|
+
for token in re.findall(r"[A-Za-z_][A-Za-z0-9_.]*", stripped):
|
|
1269
|
+
# c() is the vector constructor, not a package; TRUE/FALSE are values
|
|
1270
|
+
if token not in {"c", "TRUE", "FALSE", "T", "F"}:
|
|
1271
|
+
packages.add(token)
|
|
1272
|
+
return packages
|
|
1273
|
+
|
|
1274
|
+
|
|
1232
1275
|
def _extract_julia_string_assignments(code: str) -> dict[str, str]:
|
|
1233
1276
|
"""Extract simple string assignments in Julia code."""
|
|
1234
1277
|
assignments = {}
|
|
@@ -1622,6 +1665,27 @@ def detect_r_dependencies(
|
|
|
1622
1665
|
for pattern in patterns:
|
|
1623
1666
|
matches = re.findall(pattern, code)
|
|
1624
1667
|
dependencies.update(matches)
|
|
1668
|
+
# requireNamespace()/loadNamespace() take the package as a string and are
|
|
1669
|
+
# commonly used to guard optional installs (e.g. pacman/here bootstrapping)
|
|
1670
|
+
dependencies.update(
|
|
1671
|
+
re.findall(
|
|
1672
|
+
r'(?:require|load)Namespace\s*\(\s*["\']([a-zA-Z0-9._]+)["\']',
|
|
1673
|
+
code,
|
|
1674
|
+
)
|
|
1675
|
+
)
|
|
1676
|
+
# Qualified calls like pkg::fn() or pkg:::fn() reference a package without
|
|
1677
|
+
# ever attaching it, so the package itself is still a dependency
|
|
1678
|
+
dependencies.update(re.findall(r"\b([a-zA-Z][a-zA-Z0-9._]*)\s*:::?", code))
|
|
1679
|
+
# pacman::p_load() loads (and optionally installs) packages dynamically; its
|
|
1680
|
+
# arguments may be bare names, quoted strings, or a character vector passed
|
|
1681
|
+
# via char=, possibly referencing a variable assigned earlier in the script
|
|
1682
|
+
vector_assignments = _extract_r_string_vector_assignments(code)
|
|
1683
|
+
for call_args in re.findall(
|
|
1684
|
+
r"p_load\s*\(((?:[^()]|\([^()]*\))*)\)", code, flags=re.DOTALL
|
|
1685
|
+
):
|
|
1686
|
+
dependencies.update(
|
|
1687
|
+
_resolve_r_package_args(call_args, vector_assignments)
|
|
1688
|
+
)
|
|
1625
1689
|
# Filter out base R packages
|
|
1626
1690
|
base_packages = {
|
|
1627
1691
|
"base",
|
|
@@ -5,6 +5,7 @@ import hashlib
|
|
|
5
5
|
import json
|
|
6
6
|
import os
|
|
7
7
|
import platform
|
|
8
|
+
import re
|
|
8
9
|
import subprocess
|
|
9
10
|
import tempfile
|
|
10
11
|
from pathlib import Path
|
|
@@ -1454,7 +1455,9 @@ def create_julia_project_file_content(
|
|
|
1454
1455
|
return content
|
|
1455
1456
|
|
|
1456
1457
|
|
|
1457
|
-
def create_r_description_content(
|
|
1458
|
+
def create_r_description_content(
|
|
1459
|
+
dependencies: list[str], project_name: str | None = None
|
|
1460
|
+
) -> str:
|
|
1458
1461
|
"""Generate R DESCRIPTION file content listing dependencies.
|
|
1459
1462
|
|
|
1460
1463
|
This creates a minimal DESCRIPTION file that renv can work with.
|
|
@@ -1463,13 +1466,26 @@ def create_r_description_content(dependencies: list[str]) -> str:
|
|
|
1463
1466
|
----------
|
|
1464
1467
|
dependencies : list[str]
|
|
1465
1468
|
List of R package names.
|
|
1469
|
+
project_name : str | None
|
|
1470
|
+
Name for the DESCRIPTION's ``Package`` field. It is sanitized into a
|
|
1471
|
+
valid R package name (letters, numbers and dots, starting with a
|
|
1472
|
+
letter). Falls back to the detected project name, then to
|
|
1473
|
+
``CalkitProject``.
|
|
1466
1474
|
|
|
1467
1475
|
Returns
|
|
1468
1476
|
-------
|
|
1469
1477
|
str
|
|
1470
1478
|
The DESCRIPTION file content.
|
|
1471
1479
|
"""
|
|
1472
|
-
|
|
1480
|
+
if project_name is None:
|
|
1481
|
+
project_name = calkit.detect_project_name(prepend_owner=False)
|
|
1482
|
+
# Valid R package names may only contain letters, numbers and dots, and
|
|
1483
|
+
# must start with a letter, so replace anything else (e.g. hyphens) with a
|
|
1484
|
+
# dot and prefix a letter if needed
|
|
1485
|
+
package_name = re.sub(r"[^A-Za-z0-9.]+", ".", project_name).strip(".")
|
|
1486
|
+
if not package_name or not package_name[0].isalpha():
|
|
1487
|
+
package_name = "Calkit." + package_name if package_name else "Calkit"
|
|
1488
|
+
content = f"""Package: {package_name}
|
|
1473
1489
|
Version: 0.0.1
|
|
1474
1490
|
Title: Auto-generated R environment
|
|
1475
1491
|
"""
|
|
@@ -27,9 +27,36 @@ def get_julia_exe() -> str:
|
|
|
27
27
|
return "julia"
|
|
28
28
|
|
|
29
29
|
|
|
30
|
+
def load_path() -> str:
|
|
31
|
+
"""Return the ``JULIA_LOAD_PATH`` scoping resolution to the active project
|
|
32
|
+
and stdlib.
|
|
33
|
+
|
|
34
|
+
Julia splits ``JULIA_LOAD_PATH`` on the platform path separator---``;`` on
|
|
35
|
+
Windows and ``:`` elsewhere---so a hardcoded ``:`` leaves ``@stdlib`` off
|
|
36
|
+
the load path on Windows and even stdlib packages (e.g. ``Pkg``) fail to
|
|
37
|
+
resolve. ``os.pathsep`` matches Julia's rule on every platform.
|
|
38
|
+
"""
|
|
39
|
+
return os.pathsep.join(["@", "@stdlib"])
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def escape_string(value: str) -> str:
|
|
43
|
+
"""Escape ``value`` for embedding in a Julia double-quoted string literal.
|
|
44
|
+
|
|
45
|
+
Julia treats ``\\``, ``"`` and ``$`` specially inside double quotes. In
|
|
46
|
+
particular a Windows path like ``C:\\Users\\...`` is otherwise read as an
|
|
47
|
+
invalid ``\\U`` unicode escape, so any value interpolated into Julia source
|
|
48
|
+
(e.g., a ``--project`` path passed via ``julia -e``) must be escaped.
|
|
49
|
+
"""
|
|
50
|
+
return value.replace("\\", "\\\\").replace('"', '\\"').replace("$", "\\$")
|
|
51
|
+
|
|
52
|
+
|
|
30
53
|
def _is_julia_command(arg: str) -> bool:
|
|
31
|
-
"""Whether ``arg`` is a Julia executable (julia or the juliaup launcher).
|
|
32
|
-
|
|
54
|
+
"""Whether ``arg`` is a Julia executable (julia or the juliaup launcher).
|
|
55
|
+
|
|
56
|
+
The comparison is case-insensitive so Windows paths like ``julia.EXE``
|
|
57
|
+
(e.g. the ``WindowsApps`` execution-alias shim) are recognized.
|
|
58
|
+
"""
|
|
59
|
+
base = os.path.basename(arg).lower()
|
|
33
60
|
if base.endswith(".exe"):
|
|
34
61
|
base = base[: -len(".exe")]
|
|
35
62
|
return base in ("julia", "julialauncher")
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"clean": "jlpm clean:lib",
|
|
40
40
|
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
|
|
41
41
|
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
|
|
42
|
-
"clean:labextension": "rimraf calkit/labextension calkit/_version.py",
|
|
42
|
+
"clean:labextension": "rimraf ../calkit/labextension ../calkit/_version.py",
|
|
43
43
|
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
|
|
44
44
|
"eslint": "jlpm eslint:check --fix",
|
|
45
45
|
"eslint:check": "eslint . --cache --ext .ts,.tsx",
|
|
@@ -128,10 +128,10 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"extension": true,
|
|
131
|
-
"outputDir": "calkit/labextension",
|
|
131
|
+
"outputDir": "../calkit/labextension",
|
|
132
132
|
"schemaDir": "schema",
|
|
133
133
|
"_build": {
|
|
134
|
-
"load": "static/remoteEntry.
|
|
134
|
+
"load": "static/remoteEntry.ac9035764d5b2adbb542.js",
|
|
135
135
|
"extension": "./extension",
|
|
136
136
|
"style": "./style"
|
|
137
137
|
}
|
|
@@ -157,20 +157,6 @@
|
|
|
157
157
|
"project": "tsconfig.json",
|
|
158
158
|
"sourceType": "module"
|
|
159
159
|
},
|
|
160
|
-
"overrides": [
|
|
161
|
-
{
|
|
162
|
-
"files": [
|
|
163
|
-
"vscode-ext/**/*.ts"
|
|
164
|
-
],
|
|
165
|
-
"parserOptions": {
|
|
166
|
-
"project": "vscode-ext/tsconfig.json",
|
|
167
|
-
"sourceType": "module"
|
|
168
|
-
},
|
|
169
|
-
"rules": {
|
|
170
|
-
"@typescript-eslint/naming-convention": "off"
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
160
|
"plugins": [
|
|
175
161
|
"@typescript-eslint"
|
|
176
162
|
],
|
|
@@ -205,12 +191,6 @@
|
|
|
205
191
|
"prefer-arrow-callback": "error"
|
|
206
192
|
}
|
|
207
193
|
},
|
|
208
|
-
"prettier": {
|
|
209
|
-
"singleQuote": false,
|
|
210
|
-
"trailingComma": "all",
|
|
211
|
-
"arrowParens": "always",
|
|
212
|
-
"endOfLine": "auto"
|
|
213
|
-
},
|
|
214
194
|
"stylelint": {
|
|
215
195
|
"extends": [
|
|
216
196
|
"stylelint-config-recommended",
|
{calkit_python-0.41.14 → calkit_python-0.41.16}/calkit/labextension/schemas/calkit/package.json.orig
RENAMED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"clean": "jlpm clean:lib",
|
|
40
40
|
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
|
|
41
41
|
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
|
|
42
|
-
"clean:labextension": "rimraf calkit/labextension calkit/_version.py",
|
|
42
|
+
"clean:labextension": "rimraf ../calkit/labextension ../calkit/_version.py",
|
|
43
43
|
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
|
|
44
44
|
"eslint": "jlpm eslint:check --fix",
|
|
45
45
|
"eslint:check": "eslint . --cache --ext .ts,.tsx",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"extension": true,
|
|
131
|
-
"outputDir": "calkit/labextension",
|
|
131
|
+
"outputDir": "../calkit/labextension",
|
|
132
132
|
"schemaDir": "schema"
|
|
133
133
|
},
|
|
134
134
|
"eslintIgnore": [
|
|
@@ -152,20 +152,6 @@
|
|
|
152
152
|
"project": "tsconfig.json",
|
|
153
153
|
"sourceType": "module"
|
|
154
154
|
},
|
|
155
|
-
"overrides": [
|
|
156
|
-
{
|
|
157
|
-
"files": [
|
|
158
|
-
"vscode-ext/**/*.ts"
|
|
159
|
-
],
|
|
160
|
-
"parserOptions": {
|
|
161
|
-
"project": "vscode-ext/tsconfig.json",
|
|
162
|
-
"sourceType": "module"
|
|
163
|
-
},
|
|
164
|
-
"rules": {
|
|
165
|
-
"@typescript-eslint/naming-convention": "off"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
],
|
|
169
155
|
"plugins": [
|
|
170
156
|
"@typescript-eslint"
|
|
171
157
|
],
|
|
@@ -200,12 +186,6 @@
|
|
|
200
186
|
"prefer-arrow-callback": "error"
|
|
201
187
|
}
|
|
202
188
|
},
|
|
203
|
-
"prettier": {
|
|
204
|
-
"singleQuote": false,
|
|
205
|
-
"trailingComma": "all",
|
|
206
|
-
"arrowParens": "always",
|
|
207
|
-
"endOfLine": "auto"
|
|
208
|
-
},
|
|
209
189
|
"stylelint": {
|
|
210
190
|
"extends": [
|
|
211
191
|
"stylelint-config-recommended",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,a,n,o,i,l,u,f,s,d,c,p,h,b,v,m,y,g,j,w,k,S={
|
|
1
|
+
var _JUPYTERLAB;(()=>{"use strict";var e,r,t,a,n,o,i,l,u,f,s,d,c,p,h,b,v,m,y,g,j,w,k,S={1336(e,r,t){var a={"./index":()=>Promise.all([t.e(867),t.e(345),t.e(909)]).then(()=>()=>t(5909)),"./extension":()=>Promise.all([t.e(867),t.e(345),t.e(909)]).then(()=>()=>t(5909)),"./style":()=>t.e(502).then(()=>()=>t(502))},n=(e,r)=>(t.R=r,r=t.o(a,e)?a[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),o=(e,r)=>{if(t.S){var a="default",n=t.S[a];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[a]=e,t.I(a,r)}};t.d(r,{get:()=>n,init:()=>o})}},P={};function E(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return S[e](t,t.exports,E),t.exports}E.m=S,E.c=P,E.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return E.d(r,{a:r}),r},E.d=(e,r)=>{for(var t in r)E.o(r,t)&&!E.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},E.f={},E.e=e=>Promise.all(Object.keys(E.f).reduce((r,t)=>(E.f[t](e,r),r),[])),E.u=e=>e+"."+{502:"9a2c5772a15466e923ef",695:"2c41003a452d43d2b358",867:"a42a046aa5108f54f8fb",909:"e3f9cc3408834a7fdcc3",946:"050af2abf7845cfbdbd2"}[e]+".js?v="+{502:"9a2c5772a15466e923ef",695:"2c41003a452d43d2b358",867:"a42a046aa5108f54f8fb",909:"e3f9cc3408834a7fdcc3",946:"050af2abf7845cfbdbd2"}[e],E.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),E.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="calkit:",E.l=(t,a,n,o)=>{if(e[t])e[t].push(a);else{var i,l;if(void 0!==n)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var s=u[f];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==r+n){i=s;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",E.nc&&i.setAttribute("nonce",E.nc),i.setAttribute("data-webpack",r+n),i.src=t),e[t]=[a];var d=(r,a)=>{i.onerror=i.onload=null,clearTimeout(c);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(a)),r)return r(a)},c=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),l&&document.head.appendChild(i)}},E.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{E.S={};var e={},r={};E.I=(t,a)=>{a||(a=[]);var n=r[t];if(n||(n=r[t]={}),!(a.indexOf(n)>=0)){if(a.push(n),e[t])return e[t];E.o(E.S,t)||(E.S[t]={});var o=E.S[t],i="calkit",l=(e,r,t,a)=>{var n=o[e]=o[e]||{},l=n[r];(!l||!l.loaded&&(!a!=!l.eager?a:i>l.from))&&(n[r]={get:t,from:i,eager:!!a})},u=[];return"default"===t&&(l("@tanstack/react-query-devtools","5.91.1",()=>E.e(695).then(()=>()=>E(6695))),l("@tanstack/react-query","5.90.12",()=>Promise.all([E.e(946),E.e(345)]).then(()=>()=>E(5946))),l("calkit","0.1.0",()=>Promise.all([E.e(867),E.e(345),E.e(909)]).then(()=>()=>E(5909)))),e[t]=u.length?Promise.all(u).then(()=>e[t]=1):1}}})(),(()=>{var e;E.g.importScripts&&(e=E.g.location+"");var r=E.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var a=t.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=t[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),E.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),a=t[1]?r(t[1]):[];return t[2]&&(a.length++,a.push.apply(a,r(t[2]))),t[3]&&(a.push([]),a.push.apply(a,r(t[3]))),a},a=(e,r)=>{e=t(e),r=t(r);for(var a=0;;){if(a>=e.length)return a<r.length&&"u"!=(typeof r[a])[0];var n=e[a],o=(typeof n)[0];if(a>=r.length)return"u"==o;var i=r[a],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&n!=i)return n<i;a++}},n=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,t+="u"==(typeof(l=e[o]))[0]?"-":(a>0?".":"")+(a=2,l);return t}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():n(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,r)=>{if(0 in e){r=t(r);var a=e[0],n=a<0;n&&(a=-a-1);for(var i=0,l=1,u=!0;;l++,i++){var f,s,d=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(s=(typeof(f=r[i]))[0]))return!u||("u"==d?l>a&&!n:""==d!=n);if("u"==s){if(!u||"u"!=d)return!1}else if(u)if(d==s)if(l<=a){if(f!=e[l])return!1}else{if(n?f>e[l]:f<e[l])return!1;f!=e[l]&&(u=!1)}else if("s"!=d&&"n"!=d){if(n||l<=a)return!1;u=!1,l--}else{if(l<=a||s<d!=n)return!1;u=!1}else"s"!=d&&"n"!=d&&(u=!1,l--)}}var c=[],p=c.pop.bind(c);for(i=1;i<e.length;i++){var h=e[i];c.push(1==h?p()|p():2==h?p()&p():h?o(h,r):!p())}return!!p()},i=(e,r)=>e&&E.o(e,r),l=e=>(e.loaded=1,e.get()),u=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t,n)=>{var i=n?u(e[r]):e[r];return(r=Object.keys(i).reduce((e,r)=>!o(t,r)||e&&!a(e,r)?e:r,0))&&i[r]},s=(e,r,t)=>{var n=t?u(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e,0)},d=(e,r,t,a)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(a)+")",c=(e,r,t,a,o)=>{var i=e[t];return"No satisfying version ("+n(a)+")"+(o?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(i).map(e=>e+" from "+i[e].from).join(", ")},p=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},v=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),m=(b=e=>function(r,t,a,n,o){var i=E.I(r);return i&&i.then&&!a?i.then(e.bind(e,r,E.S[r],t,!1,n,o)):e(r,E.S[r],t,a,n,o)})((e,r,t,a,n,o)=>{if(!i(r,t))return v(e,t,o);var u=f(r,t,n,a);return u?l(u):o?o():void p(c(r,e,t,n,a))}),y=b((e,r,t,a,n,u)=>{if(!i(r,t))return v(e,t,u);var f=s(r,t,a);return o(n,f)||h(d(r,t,f,n)),l(r[t][f])}),g={},j={3345:()=>y("default","react",!1,[1,18,2,0]),520:()=>y("default","@jupyterlab/coreutils",!1,[1,6,5,5]),1247:()=>y("default","@lumino/widgets",!1,[1,2,3,1,,"alpha",1]),1650:()=>y("default","@jupyterlab/launcher",!1,[1,4,5,5]),3476:()=>y("default","@jupyterlab/application",!1,[1,4,5,5]),3539:()=>y("default","@jupyterlab/settingregistry",!1,[1,4,5,5]),3712:()=>m("default","@tanstack/react-query",!1,[1,5,32,0],()=>E.e(946).then(()=>()=>E(5946))),3895:()=>y("default","@jupyterlab/statusbar",!1,[1,4,5,5]),6167:()=>y("default","@lumino/commands",!1,[1,2,0,1]),6200:()=>y("default","@jupyterlab/filebrowser",!1,[1,4,5,5]),6511:()=>y("default","@jupyterlab/apputils",!1,[1,4,6,5]),6641:()=>y("default","@jupyterlab/notebook",!1,[1,4,5,5]),6911:()=>y("default","@jupyterlab/statedb",!1,[1,4,5,5]),6965:()=>y("default","@jupyterlab/ui-components",!1,[1,4,5,5]),6979:()=>y("default","@jupyterlab/translation",!1,[1,4,5,5]),7034:()=>m("default","@tanstack/react-query-devtools",!1,[1,5,32,0],()=>E.e(695).then(()=>()=>E(6695))),7628:()=>y("default","react-dom",!1,[1,18,2,0]),9080:()=>y("default","@jupyterlab/mainmenu",!1,[1,4,5,5]),9519:()=>y("default","@jupyterlab/services",!1,[1,7,5,5])},w={345:[3345],909:[520,1247,1650,3476,3539,3712,3895,6167,6200,6511,6641,6911,6965,6979,7034,7628,9080,9519]},k={},E.f.consumes=(e,r)=>{E.o(w,e)&&w[e].forEach(e=>{if(E.o(g,e))return r.push(g[e]);if(!k[e]){var t=r=>{g[e]=0,E.m[e]=t=>{delete E.c[e],t.exports=r()}};k[e]=!0;var a=r=>{delete g[e],E.m[e]=t=>{throw delete E.c[e],r}};try{var n=j[e]();n.then?r.push(g[e]=n.then(t).catch(a)):t(n)}catch(e){a(e)}}})},(()=>{E.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={371:0};E.f.j=(r,t)=>{var a=E.o(e,r)?e[r]:void 0;if(0!==a)if(a)t.push(a[2]);else if(345!=r){var n=new Promise((t,n)=>a=e[r]=[t,n]);t.push(a[2]=n);var o=E.p+E.u(r),i=new Error;E.l(o,t=>{if(E.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,a[1](i)}},"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var a,n,[o,i,l]=t,u=0;if(o.some(r=>0!==e[r])){for(a in i)E.o(i,a)&&(E.m[a]=i[a]);l&&l(E)}for(r&&r(t);u<o.length;u++)n=o[u],E.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunkcalkit=self.webpackChunkcalkit||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),E.nc=void 0;var T=E(1336);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB).calkit=T})();
|