Commit Graph

152 Commits

Author SHA1 Message Date
Min RK
1a3c48a500 Update base user environment to mambaforge 22.11.1-4
shift some duplicated code into utility functions and constants
2023-03-21 14:37:50 +01:00
Pris Nasrat
a7774e55de Ensure SQLAlchemy 1.x used for hub
Fixes #846
2023-01-30 11:17:37 -05:00
Simon Li
65336e21ee pre-commit run -a 2022-06-17 17:36:42 +01:00
YuviPanda
8540451cd8 Bump systemdspawner version
https://github.com/jupyterhub/systemdspawner/pull/94 just made
a release
2022-04-22 01:30:24 -07:00
Ray Bell
2f33f9893a ENH: add logging if user-requirements-txt-url found 2022-01-24 21:50:51 -05:00
Erik Sundell
e0aaa4f995 pre-commit: run black with string normalization 2021-11-03 23:55:34 +01:00
Erik Sundell
771ae59636 pre-commit: run black without string normalization 2021-11-03 23:53:41 +01:00
Connor Dibble
a91571dd22 Support Arm64 CPU architectures 2021-11-03 23:06:37 +01:00
Erik Sundell
c2c4d708f5 pyupgrade fixes 2021-10-31 11:26:40 +01:00
Erik Sundell
a64f242b61 flake8 fixes: unused imports and f-strings without vars 2021-10-28 15:43:50 +02:00
Erik Sundell
2d10400f89 Update firstuseauthenticator to 1.0.0 2021-10-28 13:39:14 +02:00
Erik Sundell
125e12ca5e Let pip upgrade packages
Since we now longer pin versions to the patch version, we should make
an install cause the packages upgrade within the version constraints
rathern than just settle for the current version if it is already
installed.
2021-10-27 10:41:43 +02:00
Erik Sundell
6197784045 Try stop pinning chardet 2021-10-27 09:15:44 +02:00
Erik Sundell
990135e179 hub env: bump to require latest major version, less pinned now 2021-10-27 09:15:44 +02:00
Simon Li
80b347349a Update to mambaforge_version 4.10.3-7 2021-10-18 22:51:12 +01:00
Simon Li
b3c07ba265 miniforge FIXME was fixed!
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2021-10-18 22:09:42 +01:00
Simon Li
d869540a6c ensure mamba installed, add old miniconda check back 2021-10-18 19:41:50 +01:00
Simon Li
0018beca4f Switch to mambaforge 2021-10-18 19:41:50 +01:00
GeorgianaElena
ecf6664d5a Bump hub and notebook versions 2021-05-10 14:13:08 +03:00
ibayer
24c170ba0e bump nativeauthenticator version to avoid critical bug 2021-04-24 13:13:03 +02:00
GeorgianaElena
0e7c30296d Move schema to configurator 2021-04-06 13:44:29 +03:00
Jeremy Tuloup
873e6bf661 Remove Node.js 2021-02-08 18:01:28 +01:00
YuviPanda
94b38def7d Upgrade to JupyterLab 3.0
JupyterLab 3.0 no longer equires npm to build extensions!
This should hopefully let us reduce the memory requiremets
for TLJH.
2020-12-29 16:22:57 +05:30
GeorgianaElena
11b872943b Pin chardet in hub env 2020-12-23 14:07:05 +02:00
GeorgianaElena
516a23e377 Bump jh in hub env 2020-12-23 14:07:05 +02:00
Min RK
3d00ce5316 bump systemdspawner to 0.15 2020-12-07 12:53:38 +01:00
Yuvi Panda
f0b8745194 Merge pull request #605 from GeorgianaElena/in-progress-page
Temporary page while tljh is building
2020-09-14 13:37:34 +05:30
GeorgianaElena
884f3decdd Log info about progress page server status 2020-08-21 18:03:21 +03:00
GeorgianaElena
1ce172ae3e Added more comments 2020-08-17 19:04:25 +03:00
GeorgianaElena
cef898fd31 Rename flags and work with sys.argv copy 2020-08-17 16:54:16 +03:00
GeorgianaElena
d1bee23a7d Pass the pid to the installer as a cmd arg 2020-08-11 16:01:44 +03:00
GeorgianaElena
fcb5257901 Put the temp page under a flag 2020-08-11 14:09:11 +03:00
GeorgianaElena
69a6f89518 Only serve explicit routes 2020-08-11 12:23:50 +03:00
GeorgianaElena
972b15b95a Serve a temporary html page while tljh is building 2020-08-03 14:55:22 +03:00
Yuvi Panda
70c76b11a7 Bump systemdspawner
New version released, with https://github.com/jupyterhub/systemdspawner/pull/53
2020-07-29 13:44:58 +05:30
YuviPanda
9662d437c4 Upgrade JupyterLab version
2.x has been around for a while
2020-07-28 15:54:56 +03:00
YuviPanda
f82c49c12c Use sha256 sums for verifying miniconda download
miniconda downloader now provides sha256 hashes. Previously
it provided only md5 hashes. md5 is deprecated everywhere for
everything, so let's use this
2020-05-29 13:32:55 +03:00
Georgiana Elena
efb1f64fec Merge pull request #560 from jtpio/unused-plugins-argument
Remove unused plugins argument from run_plugin_actions
2020-05-14 14:22:05 +03:00
YuviPanda
1c7e89ab1e Install jupyterhub-idle-culler from PyPI
A v1.0 release has been made!
2020-05-03 16:00:07 +05:30
YuviPanda
474005cbd1 Use idle culler from jupyterhub-idle-culler package
The idle culler lives as a script in at least 3 different
places:

- In the JupyterHub repo, as an 'example'
  d126baa443/examples/cull-idle
- In the TLJH repo, as a core part of the service
  01ba34857d/tljh/cull_idle_servers.py.
  This is an import from a specific version of the JupyterHub repo,
  and has had a couple of changes made to it since.
- In the z2jh repo, as a core part of the service
  c3f3be25f8/jupyterhub/files/hub/cull_idle_servers.py
  This is also an import from a specific version of the JupyterHub
  repo, but has had a lot more work done on it. Most had been sync'd
  back the JupyterHub repo, but some had not been. See
  9c15a42b12/images/hub/cull_idle_servers.py
  and https://github.com/jupyterhub/zero-to-jupyterhub-k8s/commits/master/jupyterhub/files/hub/cull_idle_servers.py

The idle culler is a core integral part of every JupyterHub deployment
these days. It would be great if it was maintained separately on
its own, without being split across multiple repos.

The latest changes had been to the version in the JupyterHub repo, so I
copied it (while preserving commit history, because credit is important)
to a new repository: https://github.com/yuvipanda/jupyterhub-idle-culler

I looked through z2jh and tljh copies, and cherry-picked the following
changes manually

ae80fb5163
836f19a4c7
a0787c64f1
b230ef8156
20374db7c6 (diff-f00cd100e9f673285208aaa6fc0c3212)

There were a few from 9c15a42b12/images/hub/cull_idle_servers.py
I could not apply, but mostly because those features had been
re-implemented already.

Right now, the package is a direct port of the code we had. Once
this settles in, I am hopefull we can iterate faster and make cool
new changes.
2020-05-03 16:00:07 +05:30
Jeremy Tuloup
405a911f46 Remove unused plugins from run_plugin_actions 2020-04-29 11:43:53 +02:00
Jeremy Tuloup
9efde6545e Update hub packages to the latest stable versions 2020-03-23 16:24:03 +01:00
Jeremy Tuloup
e6c9fd6e63 Fix typo 2020-03-12 09:57:39 +01:00
GeorgianaElena
04fb90ed7b Fix installer 2020-02-26 10:15:15 +02:00
Min RK
e15691ce94 switch base environment to requirements file
and update several dependencies in the process (jupyterlab 1.1, notebook 6.0, etc.)
2020-02-03 10:12:36 +02:00
Letian Wang
66e983624e Update jupyterlab build methods 2020-02-01 17:16:14 +11:00
Letian Wang
2698274173 upgrade jupyterlab to 1.2.6 2020-02-01 15:13:12 +11:00
GeorgianaElena
063f92a9a6 Refactor 2020-01-30 20:24:06 +02:00
GeorgianaElena
4aef4b3de7 Only install miniconda if no prev installs exist 2020-01-30 19:59:44 +02:00
GeorgianaElena
b645e6e933 Only upgrade miniconda in fresh installs 2020-01-30 12:05:54 +02:00