Commit Graph

3555 Commits

Author SHA1 Message Date
Yuvi Panda
bceaead5d2 Migrate start-notebook & start-singleuser to python (#2006)
* Migrate start-notebook.sh to bash

Based on

> Stop using bash, haha 👍

from https://github.com/jupyter/docker-stacks/issues/1532.

If there's more apetite for this, I'll try to migrate
`start.sh` and `start-singleuser.sh` as well - I think they should
all be merged together. We can remove the `.sh` suffixes for
accuracy, and keep symlinks in so old config still works. Since
the shebang is what is used to launch the correct interpreter,
the `.sh` doesn't matter.

Will help fix https://github.com/jupyter/docker-stacks/issues/1532,
as I believe all those things are going to be easier to do from
python than bash

* Rename start-notebook.sh to start-notebook

* Cleanup start-notebook a little

* Fix typo

* Migrate start-singleuser as well

* Remove unused import

* Run symlink commands as root

* Combine repetitive RUN commands

* Remove multiple args to env

-u can not be set by shebang, we must set the env var
instead

* Fix conditional inversion

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

* Fix how start-singleuser is exec'd

* Actually call jupyterhub-singleuser in start-singleuser

* Pass through any additional args we get

* Put .py suffix on the start-* scripts

* Add .sh shims for the start-* scripts

* Document start-notebook.sh and start-singleuser.sh

* Partially test start-notebook.sh

* Reflow warning docs

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

---------

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
2023-10-17 14:46:43 +02:00
dependabot[bot]
4c0c0aa171 Bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0 (#2005)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.16.0 to 5.0.0.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](3ea6ae190b...8756aa072e)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  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-10-10 16:03:35 +04:00
Ayaz Salikhov
fbbf24585d Fix PyCQA repo 2023-10-04 17:08:58 +04:00
Ayaz Salikhov
2ed0010238 Add urllib3 to mypy check 2023-10-04 17:08:41 +04:00
pre-commit-ci[bot]
58a8a965c8 [pre-commit.ci] pre-commit autoupdate (#2003)
updates:
- [github.com/asottile/pyupgrade: v3.13.0 → v3.14.0](https://github.com/asottile/pyupgrade/compare/v3.13.0...v3.14.0)
- [github.com/shellcheck-py/shellcheck-py: v0.9.0.5 → v0.9.0.6](https://github.com/shellcheck-py/shellcheck-py/compare/v0.9.0.5...v0.9.0.6)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-03 15:42:19 +04:00
Ayaz Salikhov
7e1a19a842 Update pre-commit hooks 2023-09-27 12:46:02 +04:00
Ayaz Salikhov
94b57514f9 Update example date 2023-09-27 01:18:54 +04:00
Ayaz Salikhov
23c758cde3 Better name for update-overview job 2023-09-27 01:04:35 +04:00
Ayaz Salikhov
d9712f033b Remove names from jobs 2023-09-27 00:57:55 +04:00
Ayaz Salikhov
11709140d0 Add workflow_dispatch to hub-overview 2023-09-27 00:54:01 +04:00
dependabot[bot]
aa2403a808 Bump docker/login-action from 2.2.0 to 3.0.0 (#1998)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](465a07811f...343f7c4344)

---
updated-dependencies:
- dependency-name: docker/login-action
  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-09-18 22:14:23 +04:00
Bjørn Jørgensen
52a999a554 Upgrade Apache Spark to 3.5.0 (#1995)
* 1.

* add note for pandas version

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

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

* Update images/pyspark-notebook/Dockerfile

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

---------

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-09-16 20:56:10 +04:00
Ayaz Salikhov
b72e40b2e3 Do not set default name for the issues 2023-09-10 15:36:21 +04:00
pre-commit-ci[bot]
0a122d53a0 [pre-commit.ci] pre-commit autoupdate (#1989)
updates:
- [github.com/pre-commit/mirrors-prettier: v3.0.2 → v3.0.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.2...v3.0.3)
- [github.com/igorshubovych/markdownlint-cli: v0.35.0 → v0.36.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.35.0...v0.36.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-05 13:30:44 +04:00
dependabot[bot]
ab90b125ba Bump actions/checkout from 3 to 4 (#1988)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-09-04 19:53:37 +04:00
Ayaz Salikhov
3675f63d08 Test run_hooks when executables fail (#1987) 2023-09-04 19:50:30 +04:00
Albert R. Gnadt
02870bd138 Update selecting.md without duplicated julia-notebook info (#1986)
- datascience-notebook now references julia-notebook
- also modified a line under julia-notebook for consistency with r-notebook
2023-08-29 12:23:02 +04:00
Albert R. Gnadt
3d3aa48b22 Update setup-julia.bash with Julia v1.9.3 (#1985) 2023-08-28 22:16:27 +04:00
Ayaz Salikhov
c7ce00b9fd Add info about pyspark recipe 2023-08-27 23:04:56 +04:00
Ayaz Salikhov
0d8b4e4987 Replace os with pathlib where paths are used (#1984) 2023-08-26 17:41:40 +04:00
Ayaz Salikhov
6aded4bc1d Fix style 2023-08-26 01:39:26 +04:00
Ayaz Salikhov
04b3d0c8df Use _log functions in start.sh 2023-08-26 01:19:34 +04:00
Ayaz Salikhov
1167e9b5e0 Remove pre-commit from Makefile as it doesn't make anything easier 2023-08-26 00:52:26 +04:00
Ayaz Salikhov
17fdc2d2a5 Fix examples README.md 2023-08-26 00:41:36 +04:00
Ayaz Salikhov
cc47dbd7d8 Preserve LD_LIBRARY_PATH in start.sh (#1981) 2023-08-25 13:47:52 +04:00
Ayaz Salikhov
7a4381ff2f Use only rv['StatusCode'] to simplify code (#1982) 2023-08-25 13:47:36 +04:00
Ayaz Salikhov
44f9962dcb Specify /bin/bash shell in useradd (#1980) 2023-08-25 11:20:35 +04:00
Ayaz Salikhov
2aa9e0fe36 Add --build-arg OWNER to build process, so forks use correct images 2023-08-25 02:12:40 +04:00
Ayaz Salikhov
74bbd0bffc Implement run-hooks as a separate script (#1979)
* Implement run-hooks as a separate script

* Add more tests

* Add more docs
2023-08-25 01:53:00 +04:00
Ayaz Salikhov
c2bf3c6bfd Revert "Temporarily disable tests using conda --json output"
This reverts commit bc938c50dc.
2023-08-24 15:25:53 +04:00
Ayaz Salikhov
d400e383cc Update some links 2023-08-24 01:52:38 +04:00
Ayaz Salikhov
ecf4ea5f86 Revert "Replace rodbc link fow now"
This reverts commit 73d6fe4f55.
2023-08-23 13:49:42 +04:00
Ayaz Salikhov
5f8524df5b Use long options in useradd (#1978) 2023-08-21 10:25:09 +02:00
Ayaz Salikhov
b88eba3e59 Update the custom env recipe to correctly activate it by default (#1975)
* Update the custom env recipe to correctly activate it by default

* Remove obsolete line

* Better wording
2023-08-21 01:14:07 +02:00
Ayaz Salikhov
2c2bdae247 Use base-notebook in issue template 2023-08-20 18:32:52 +02:00
Ayaz Salikhov
9b9cccc821 Move host arch to a separate field of bug report 2023-08-20 18:27:30 +02:00
Ayaz Salikhov
948f0bb336 Add info how to persist user data (#1977)
* Add info how to persist user data

* Improve wording

* Add note

* Better wording
2023-08-20 18:19:53 +02:00
Ayaz Salikhov
cf9a8b6624 Small improvements to startup hooks (#1976)
* Small improvements to startup hooks

* Fix
2023-08-20 16:55:54 +02:00
Ayaz Salikhov
e6f209e372 Revert images/r-notebook/README.md 2023-08-20 16:52:08 +02:00
Ayaz Salikhov
22196fecfa Do not run docker workflow when only README.md changes 2023-08-20 16:50:45 +02:00
Ayaz Salikhov
99daf2041d Trigger CI 2023-08-20 16:45:46 +02:00
Ayaz Salikhov
49a3caa5fb Trigger CI 2023-08-20 16:44:50 +02:00
Ayaz Salikhov
803652a6c1 Fix contributed-recipes trigger 2023-08-20 16:43:20 +02:00
Ayaz Salikhov
d154bdd800 Fix oracledb recipe 2023-08-20 16:37:26 +02:00
Ayaz Salikhov
f801c38279 Give a better example of adding new image 2023-08-19 23:41:39 +02:00
Ayaz Salikhov
5e65115ea4 Update example date 2023-08-19 23:39:20 +02:00
Ayaz Salikhov
a7a4be9e39 Fix more broken links 2023-08-19 17:42:45 +02:00
Ayaz Salikhov
2ecdaec832 Fix images links 2023-08-19 17:32:38 +02:00
Ayaz Salikhov
a5b40a6f11 Move all images to images dir (#1972) 2023-08-19 17:25:20 +02:00
Ayaz Salikhov
feb88727d1 Update .readthedocs.yaml 2023-08-19 11:03:16 +02:00