Commit Graph

63 Commits

Author SHA1 Message Date
Bjørn Jørgensen
5bcf21052b Upgrade Python 3.11 (#1844)
* Update Dockerfile

* Update test_python.py

* [TMP] Do not install numba

* test with spark 3.4 rc2

* Update Dockerfile

* install tf with pip in conda

* remove mamba install pip

* Update Dockerfile

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-06-01 15:26:51 +04:00
Ayaz Salikhov
7a3418ac4a Remove jupyter_server version fix (#1905) 2023-05-26 17:59:53 +04:00
Kenta Murata
e98be3d3d0 Install nodejs >= 18.0 (#1902)
* Install nodejs >= 18.0

NodeJS >= 18.0 requires `jupyter lab build` command.

Fixes #1901.

* Update Dockerfile

* Update Dockerfile

* Update test_packages.py

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-05-26 11:29:13 +04:00
Romeo Kienzler
62018ccc9e add jupyterlab-git extension (#1895)
* add jupyterlab-git extension

* order requirements

* add doc for jupyterlab-git

* fix ordering

* add test exclude for jupyterlab-git

---------

Co-authored-by: Romeo Kienzler <romeo.kienzler1@ibm.com>
2023-04-27 14:49:43 +04:00
Muhammad Aji Muharrom
bcd323f794 Healthcheck url from json (#1868)
* Get healthcheck URL from JSON file

Obtain Jupyter server's full URL from
/home/$NB_USER/.local/share/jupyter/runtime/*.json
and use it for healthcheck.

* Expand tests for healthcheck

* Update pre-commit config

* Remove workdir from tests

* Wait for container start with 0.1s interval

* Quote NB_USER variable on base-notebook/Dockerfile

* Fix style and make test actually work

* Ooops, GitHub didn't show last line

* Fix mypy

* Use bash with pipefail option for healthcheck

* Create python script for healthcheck

* Don't verify SSL certificate on healthcheck

* Update healthcheck test

- Add "user" parameter
- Add tests when container should not be healthy

* Fix typo

* Update test_healthcheck.py

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-02-28 14:07:52 +04:00
Muhammad Aji Muharrom
0d324bc0b3 Parameterize healthcheck by internal port (#1859)
* Use the JUPYTER_PORT environment variable to configure server port

- Remove port setting in jupyter_server_config.py
- Declare the $JUPYTER_PORT env on the base Dockerfile
- Use it for HEALTHCHECK

* Add test case for JUPYTER_PORT env variable

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update documentation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update style

* Better wording

* Better wording

* Add test for custom internal port

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Parametrize internal port test case

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Try to fix test

* Better tests

Co-authored-by: Muhammad Aji Muharrom <ajimuharrom@uchicago.edu>
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>
Co-authored-by: Ayaz Salikhov <mathbunnyru@gmail.com>
2023-01-24 11:19:39 +04:00
Ayaz Salikhov
a905ff6f6d Check healthcheck in all jupyter applications (#1854)
* Check healthcheck in all jupyter applications

* Fix

* Remove JUPYTERHUB_API_TOKEN healthcheck test
2023-01-04 10:24:09 +04:00
Ayaz Salikhov
c9ac681f8f Increase sleep for healthcheck 2023-01-01 12:07:37 +03:00
Ayaz Salikhov
2a1cd45ebf Pin jupyter_server>=2.0.0 (#1853)
* Pin jupyter_server==2.0.0

* Update scipy-notebook/Dockerfile

Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>

* Fix test

* Fix test

* Test healthcheck properly

* Fix typing

Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2022-12-30 11:08:27 +02:00
Kevin Bates
10e52ee843 Create base image to base-notebook for non-server Jupyter applications (#1825)
* Create base-jupyter from base-notebook for non-server jupyter applications

* Fix pre-commit errors and begin test refactoring

* More test refactoring

* Add base-jupyter to images_hierarchy

* Use folder work instead of .jupyter in nb-user test

* Add base-jupyter to tagging hierarchy

* Linting: trailing comma

* Apply review comments, remove obsolute Miniforge reference

* Add self-signed cert comment back to base-notebook doc

* Update docs/using/selecting.md

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Remove redundant apt-get upgrade per review

* Remove b/c approaches per review

* Move test_nb_user_change back to base-notebook tests, per review

* fix linting

* Rename base-jupyter to docker-stacks-foundation, per review

* Rename tests/base-jupyter to docker-stacks-foundation

* Use alphabetical order

* Use alphabetical order

* Fix markdown style

* Split test_nb_user_change between the foundation and base tests

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2022-11-13 01:44:44 +04:00
Ayaz Salikhov
61fe0e3abe Build images with ubuntu-22.04 and python-3.10 2022-10-10 01:36:30 +04:00
Ayaz Salikhov
ed2908bbb6 Build images with ubuntu-22.04 and python-3.9 2022-10-09 23:08:01 +04:00
Ayaz Salikhov
7285848c0a Build images with ubuntu-22.04 and python-3.8 2022-10-09 23:04:42 +04:00
Ayaz Salikhov
b86753318a Build images with ubuntu-22.04 and python-3.7 2022-10-09 17:14:52 +04:00
Ayaz Salikhov
f3079808ca Build images with ubuntu-20.04 and python-3.10 2022-10-09 15:38:45 +04:00
Ayaz Salikhov
5ae537728c Build images with ubuntu-20.04 and python-3.9 2022-10-09 14:21:30 +04:00
Ayaz Salikhov
a374cab4fc Build images with ubuntu-20.04 and python-3.8 2022-10-09 14:17:20 +04:00
Ayaz Salikhov
1aac87eb7f Build images with ubuntu-20.04 and python-3.7 (#1793) 2022-10-09 12:45:03 +04:00
Darek
0fd68f0e6a Remove inkscape package from the minimal-notebook (#1765)
* Removing inkscape

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Adding Rprofile to add plot_mimetypes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update datascience-notebook/Dockerfile

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Update datascience-notebook/Rprofile.site

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Adding R notebook tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Moving Rprofile.site to minimal;
Removing duplicate R test code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixing flake8 errors

* Update minimal-notebook/Dockerfile

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Update minimal-notebook/Rprofile.site

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>

* Removing empty line

* Renaming minetypes to  mimetypes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Renaming test module to avoid mypy error

* Adding to jupyter.plot_mimetypes

* Update R_mimetype_check.py

* Update test_mimetypes.py

* Update test_R_mimetypes.py

* Update test_R_mimetypes.py

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>
2022-08-20 10:17:03 +04:00
Ayaz Salikhov
64c4cd717a Do not hardcode owner of the image (#1769)
* Do not hardcode owner of the image

* Fix
2022-08-11 11:51:10 +04:00
Ayaz Salikhov
6e62efb398 Reduce sleep timeouts in tests 2022-07-17 13:20:54 +04:00
Ayaz Salikhov
b186ce5fea Update test_packages.py 2022-07-11 21:59:24 +04:00
Darek
4449d13ba7 Merge branch 'jupyter:master' into master 2022-07-05 14:04:08 -04:00
Ayaz Salikhov
5eb78a141b Do not import sparklyr, because it requires spark>=3.3 2022-07-05 00:56:27 +04:00
Ayaz Salikhov
61b20aa69e Run pytest as a module 2022-07-04 19:16:06 +04:00
Darek
5d584b2126 Merge branch 'jupyter:master' into master 2022-07-04 06:32:56 -04:00
Bjørn Jørgensen
5048b02246 Remove spylon-kernel from all images. (#1729)
* Remove scala

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Remove scala from web

* Remove scala from specifics

* Remove scala and spylon

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-04 10:04:16 +04:00
Darek
3b1ddfa670 Removing no_warnings 2022-06-21 15:18:33 -04:00
Darek
aeb940220f Spark->3.3,Hadoop->3,Scala->2.13,Java->17 2022-06-16 14:53:37 -04:00
Ayaz Salikhov
84d041b9df Compare major.minor python version to be expected one 2022-05-31 22:40:39 +04:00
Ayaz Salikhov
ee338c370f Update test_python.py 2022-05-28 17:18:36 +04:00
Ayaz Salikhov
806a0c3a29 Fix python version test 2022-05-27 16:52:09 +04:00
Ayaz Salikhov
0038a8da6a Simpler julia test 2022-05-02 17:38:36 +03:00
Ayaz Salikhov
c6ae418538 Merge branch 'master' into asalikhov/modules 2022-05-01 13:15:45 +03:00
Ben Mares
c9e507c94b Don't exclude Mamba from tests 2022-04-29 23:33:54 +02:00
Ayaz Salikhov
10b1efedb0 Merge branch 'master' into asalikhov/modules 2022-04-28 16:35:14 +01:00
Ayaz Salikhov
0aa95c71ad Make tests a module and make imports absolute 2022-04-01 01:26:37 +01:00
Ayaz Salikhov
c1a892c6dc Remove JUPYTER_ENABLE_LAB variable warning 2022-04-01 00:23:17 +01:00
Ayaz Salikhov
8bb35f91d0 Merge pull request #1663 from mathbunnyru/asalikhov/polish_pycharm
Fix minor wordings (detected by PyCharm)
2022-03-20 14:52:45 +02:00
Ayaz Salikhov
961dc900e8 Use plumbum.local instead of plumbum.cmd to make pylance happy 2022-03-20 14:21:50 +02:00
Ayaz Salikhov
bcf5118cb7 Fix minor PyCharm issues 2022-03-19 00:15:27 +02:00
Ayaz Salikhov
2da008cf5a Merge branch 'master' into asalikhov/pre_commit_isort_reqs 2022-03-16 17:18:38 +02:00
Ayaz Salikhov
812c713a64 Fix PyCharm issues 2022-03-16 16:47:30 +02:00
Ayaz Salikhov
fe36b91545 Revert sorting 2022-03-16 15:26:54 +02:00
Ayaz Salikhov
2f201a4b81 Run pre-commit tools: isort, requirements-txt-fixer 2022-03-16 14:48:23 +02:00
Ayaz Salikhov
ec1584d33d Fix notebooks 2022-03-16 01:16:08 +02:00
Ayaz Salikhov
b487d1afbe Make mypy config strict and work on pre-commit 2022-03-08 23:23:13 +03:00
Ayaz Salikhov
39e36f2d44 Add inline TODO comment 2022-03-06 23:07:13 +00:00
Ayaz Salikhov
ecb03a40e2 Refactor package helper 2022-03-05 19:30:25 +00:00
Ayaz Salikhov
69ddfa810e Revert "Skip test to be able to build and push new image"
This reverts commit 6d91620dbb.
2022-02-22 12:52:31 +00:00