Commit Graph

3802 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
fcb20a914e [pre-commit.ci] pre-commit autoupdate (#2071)
updates:
- [github.com/PyCQA/isort: 5.12.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.12.0...5.13.2)
- [github.com/psf/black: 23.11.0 → 23.12.1](https://github.com/psf/black/compare/23.11.0...23.12.1)
- [github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.8.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.7.1...v1.8.0)
- [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.8)
- [github.com/igorshubovych/markdownlint-cli: v0.37.0 → v0.38.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.37.0...v0.38.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-02 01:04:24 +04:00
Yuvi Panda
1494233e27 Link to the rocker/binder image as an alternative (#2065)
* Link to the rocker/binder image as an alternative

* Unify style in README.md

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-12-21 20:42:49 +04:00
Ayaz Salikhov
474312ac79 Update conf.py for new sphinx version 2023-12-20 13:36:31 +04:00
Ayaz Salikhov
dc009c260c Revert "Update actions/download-artifact and actions/upload-artifact to v4 (#2061)"
This reverts commit 0736628649.
2023-12-20 13:36:01 +04:00
Ayaz Salikhov
0736628649 Update actions/download-artifact and actions/upload-artifact to v4 (#2061) 2023-12-15 01:06:20 +04:00
Ayaz Salikhov
ccbe678154 Fix typo 2023-12-14 17:52:22 +04:00
Ayaz Salikhov
55541bdc66 Remove jupyterlab and notebook pins in scipy-notebook (#2060) 2023-12-12 11:28:35 +04:00
Ayaz Salikhov
781a0f4d27 Mamba 1.5.5 is released, so remove fix for mamba clean 2023-12-12 04:27:13 +04:00
dependabot[bot]
5e20409c1e Bump actions/setup-python from 4 to 5 in /.github/actions/create-dev-env (#2058)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 13:39:19 +04:00
Ayaz Salikhov
6402f3dbfe Configure dependabot to update actions inside composite actions 2023-12-11 13:35:41 +04:00
dependabot[bot]
bf82b82d92 Bump actions/setup-python from 4 to 5 (#2057)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 13:25:24 +04:00
Ayaz Salikhov
42ff5aa638 Do not hardcode python3.11 in temporary fix 2023-12-08 12:37:12 +04:00
Ayaz Salikhov
027d3a1026 Fix cusotm env recipe 2023-12-08 05:47:10 +01:00
Ayaz Salikhov
2760b2e075 Use jupyter/minimal-notebook for custom env example 2023-12-08 05:44:20 +01:00
Ayaz Salikhov
c1d2127843 Use custom conda environment in Jupyter Notebook when user wants to use it (#2050)
* Modify the custom Python kernel

- to activate the custom environment
- for the respective Jupyter Notebook and Jupyter Console

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>

* Add DL3059 to hadolint ignore list

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>

* Move hadolint ignore to a single line

* Use python heredoc

* Remove unused print

* Fix style

* Do not hardcode CONDA_DIR

* Update custom_environment.dockerfile

* Use indent=1

* Implement activate_notebook_custom_env.py as a separate script

* Do not call Python manually

---------

Signed-off-by: Ayaz Salikhov <mathbunnyru@gmail.com>
Co-authored-by: Olivier Benz <olivier.benz@b-data.ch>
2023-12-08 03:03:32 +01:00
Ayaz Salikhov
01e2a4e0a9 [FAST_BUILD] [TMP] Fix mamba clean by downloading updated file (#2052)
* [TMP] Fix mamba clean by downloading updated file

* Fix wget option
2023-12-08 01:09:44 +01:00
Ayaz Salikhov
b6104850fa Automatically install latest julia version (#2046)
* Automatically install latest julia version

* Better text

* Fix

* Fix

* Update setup-julia.bash

* Install plumbum

* Better docs

* Better docs

* Use subprocess.check_call instead of plumbum

* Do not use dash in python filename

* Remove plumbum from the image

* Remove jq from the image

* Remove setup-julia.bash file

* Fix file name

* Fix docstring
2023-12-05 00:19:01 +01:00
pre-commit-ci[bot]
9f12db6067 [pre-commit.ci] pre-commit autoupdate (#2048)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0)
- [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.7.1)
- [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.3)
- [github.com/adrienverge/yamllint: v1.32.0 → v1.33.0](https://github.com/adrienverge/yamllint/compare/v1.32.0...v1.33.0)
- [github.com/nbQA-dev/nbQA: 1.7.0 → 1.7.1](https://github.com/nbQA-dev/nbQA/compare/1.7.0...1.7.1)

* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-12-04 21:55:11 +01:00
Ayaz Salikhov
3253fc39b5 Fix conda hook to work in both terminal and Jupyter Notebook (#2047)
* Fix conda hook to work in both terminal and Jupyter Notebook

* Fix hook for Jupyter Terminals

* Rename startup hook to have order of precedence

* Try to increase sleep

* Comment making env_name default in custom_environment
2023-12-04 21:09:23 +01:00
Ayaz Salikhov
2927745fb2 Add order of precedence for spark-config script 2023-12-04 12:05:56 +01:00
Ayaz Salikhov
72601cbd68 Add acknowledgement of me :) (#2033)
* Add acknowledgement of me :)

* Fix link

* Update README.md
2023-11-29 23:02:54 +01:00
Yuvi Panda
99d306450e Specify multiple architectures for Julia to precompile to (#2044)
* Specify multiple architectures for Julia to precompile to

For amd64 (x86_64), we should specify what specific targets the
precompilation should be done for.  If we don't specify it,
it's *only* done for the target of the host doing the compilation.
When the container runs on a host that's still x86_64, but
a *different* generation of CPU than what the build host was, the
precompilation is useless and Julia takes a long long time to start
up. This specific multitarget comes from
https://docs.julialang.org/en/v1/devdocs/sysimg/#Specifying-multiple-system-image-targets,
and is the same set of options that the official Julia x86_64 build is
compiled with.  If the architecture the container runs on is
different, precompilation may still have to be re-done on first
startup - but this *should* catch most of the issues.

h/t to
https://discourse.julialang.org/t/is-it-possible-to-make-precompilation-portable-for-docker-images-built-with-a-different-cpu/95913
which helped point me towards `JULIA_CPU_TARGET`.

Fixes https://github.com/jupyter/docker-stacks/issues/2015 for more information

* Fix bash syntax issue

* Add JULIA_CPU_TARGET for aarch64 as well

- Don't need `export` as this is only used within this
  script
- Steal from upstream what should be setup for aarch64

* Re-add export for JULIA_CPU_TARGET

Quietens pre-commit
2023-11-29 22:56:28 +01:00
Ayaz Salikhov
d91bb62be0 Add comment about building font cache back 2023-11-26 01:45:47 +01:00
Olivier Benz
baa110d3f9 Remove environment variable XDG_CACHE_HOME (#2038)
- Fixes https://github.com/jupyter/docker-stacks/issues/2037
2023-11-22 17:10:52 +01:00
Ayaz Salikhov
406e397d43 Add info about robot permission when adding a new image 2023-11-22 14:17:42 +01:00
Thijs Walcarius
278dd76837 Add jupyter/pytorch-notebook (#1936)
* Add PyTorch image

* Fix linting errors

* Fix link to pytorch website

* Address review comments

* Fix PytorchVersionTagger

* Remove "+cpu" suffix from pytorch version tag

* Update selecting.md

* Rename pytorch-notebook/.dockerignore to images/pytorch-notebook/.dockerignore

* Rename pytorch-notebook/Dockerfile to images/pytorch-notebook/Dockerfile

* Rename pytorch-notebook/README.md to images/pytorch-notebook/README.md

* Add pytorch-notebook to registry-overviews

* Add registry to pytorch image

* Use Quay.io

* Remove incorrect link

* Update action.yml

* Update docker.yml

* Remove information about Docker Hub, because this image won't be uploaded to Docker Hub

* Update docker.yml

* Update action.yml

* Add pytorch-notebook to registry-move.yml

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
2023-11-22 11:56:45 +01:00
Ayaz Salikhov
0a75e3d3a6 Minor improvements 2023-11-21 13:17:33 +01:00
Ayaz Salikhov
d53e39763d Minor improvements 2023-11-21 02:40:50 +01:00
Ayaz Salikhov
809672790e Fix usages of hist_lines_dir and manifests_dir 2023-11-19 13:42:50 +01:00
Ayaz Salikhov
69e5b1d5c2 Fix arg names for --hist-lines-dir and --manifests-dir 2023-11-19 13:34:18 +01:00
Ayaz Salikhov
d8c60bc42c Fix more grammar issues 2023-11-19 12:16:19 +01:00
Ayaz Salikhov
d03229331a Fix some grammar issues 2023-11-19 02:09:26 +01:00
Ayaz Salikhov
71e66b2d57 Sphinx workflow doesn't depend on .readthedocs.yaml 2023-11-19 01:10:34 +01:00
Ayaz Salikhov
8517280b6e Unify style 2023-11-19 00:48:33 +01:00
Ayaz Salikhov
bb56acf0d9 Fix typo 2023-11-19 00:46:03 +01:00
Ayaz Salikhov
188ff1eb1b Update README.md 2023-11-19 00:34:13 +01:00
Ayaz Salikhov
132dfd1f59 Docker build doesn't depend on tests/README.md 2023-11-19 00:20:19 +01:00
Ayaz Salikhov
cc00341fcc Update troubleshooting.md 2023-11-18 12:28:25 +01:00
Ayaz Salikhov
db01bfbd23 Update specifics.md 2023-11-18 12:27:13 +01:00
Ayaz Salikhov
52e4cb96f2 Fix codestyle 2023-11-18 12:26:27 +01:00
Ayaz Salikhov
e79a501d7f Update selecting.md 2023-11-18 12:25:23 +01:00
Ayaz Salikhov
1ed3bb0093 Update running.md 2023-11-18 12:23:52 +01:00
Ayaz Salikhov
4df689f2f4 Update recipes.md 2023-11-18 12:23:14 +01:00
Ayaz Salikhov
a49920aac9 Update faq.md 2023-11-18 12:21:35 +01:00
Ayaz Salikhov
011a724ba5 Update common.md 2023-11-18 12:20:55 +01:00
Ayaz Salikhov
b0ef5b950d Update tasks.md 2023-11-18 12:19:42 +01:00
Ayaz Salikhov
f1b04258b6 Update new-images-and-packages-policy.md 2023-11-18 12:19:16 +01:00
Ayaz Salikhov
094078c1c9 Update tests.md 2023-11-18 12:18:35 +01:00
Ayaz Salikhov
f15ec03aa3 Update lint.md 2023-11-18 12:17:36 +01:00
Ayaz Salikhov
fd364af70f Update stacks.md 2023-11-18 12:15:27 +01:00