Commit Graph

351 Commits

Author SHA1 Message Date
Erik Sundell
f00e17b3d7 Merge pull request #912 from consideRatio/pr/remove-configurator
Stop bundling jupyterhub-configurator which has been disabled by default
2023-06-06 12:16:47 +02:00
Erik Sundell
78bc5bcedd Fix recently introduced failure to upper bound systemdspawner 2023-06-05 23:12:20 +02:00
Erik Sundell
ebb3d9bef1 Stop bundling jupyterhub-configurator which has been disabled by default 2023-06-02 16:57:39 +02:00
Min RK
2d645a7d89 Merge pull request #905 from nsurleraux-railnova/bind_address
Add a Traefik configuration to listen on a specific address (#903)
2023-05-25 15:29:37 +02:00
pre-commit-ci[bot]
0f385af837 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-25 12:56:22 +00:00
Nicolas Surleraux
bbc6c465ac Allow to listen on a specific address via TLJH config 2023-05-24 11:42:27 +02:00
Erik Sundell
270ec00343 Update tmpauthenticator from 0.6 to 1.0.0 2023-05-22 16:09:54 +02:00
Erik Sundell
27a94f4645 Update jupyterhub-configurator to latest 2023-05-22 12:38:27 +02:00
Erik Sundell
d4ef212b05 Update nativeauthenticator from 1.1.0 to 1.2.0 to support jh4 2023-05-22 12:37:51 +02:00
Erik Sundell
21312b2cfd user env: upgrade jh based on hub spec 2023-05-18 23:56:46 +02:00
Erik Sundell
6388d390e1 refactor: improve readability of a section 2023-05-18 23:51:41 +02:00
Erik Sundell
9c83e9000e user env: ensure pip>=23.1.2 on install 2023-05-18 23:51:41 +02:00
Erik Sundell
eaa16babb5 hub env: use req. file and add lower bounds for readability 2023-05-18 23:51:41 +02:00
Erik Sundell
a86e4ce153 user env: only upgrade jupyterhub in user env when upgrading tljh 2023-05-18 23:51:29 +02:00
Erik Sundell
814c6daa40 Merge pull request #861 from minrk/traefik-v2
Traefik v2, TraefikProxy v1
2023-05-18 14:25:03 +02:00
Erik Sundell
324ded0003 Consistent whitespace chomping in jinja templates
Always chomp left, never right. This is what we do in the helm chart templates and has been very easy to be consistent with for a good result with little to no issues.
2023-05-18 11:18:09 +02:00
Min RK
aee707c68c Specify tls cipher suites
Co-authored-by: Mridul Seth <mail@mriduls.com>
2023-05-16 21:12:10 +02:00
Min RK
7f53a4f14c update traefik checksums 2023-05-16 14:57:39 +02:00
Min RK
5763758fa4 traefik v2.10.1
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2023-05-16 14:53:27 +02:00
Min RK
0e76f6dff9 support letsencrypt staging server
for easier testing
2023-05-16 13:27:23 +02:00
Min RK
776ff5273b update letsEncrypt config after testing
verified this works now
2023-05-16 13:27:23 +02:00
Min RK
2600e5ddc4 ensure hub env is on $PATH in jupyterhub service
required for `--upgrade-db` to work, since it assumes `alembic` is on $PATH
2023-05-16 13:24:16 +02:00
Min RK
a58956f14b update for traefik v2, treafik-proxy v1
- tls config is no longer allowed in static config file, add separate dynamic config
- no longer need to persist auth config ourselves (TraefikProxy handles this)
- make sure to reload proxy before reloading hub in tests
2023-05-16 11:47:23 +02:00
Min RK
e353ab80c3 traefik 2.9.9
- traefik releases are tarballs now
- move traefik platform check to download function
  for easier unit testing on unsupported platforms
2023-05-15 15:27:52 +02:00
pre-commit-ci[bot]
e95942d61b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-15 08:51:36 +00:00
Erik Sundell
186ae7171c Merge pull request #881 from consideRatio/curvenote/main
added `remove_named_servers` setting for jupyterhub-idle-culler
2023-05-13 20:04:15 +02:00
Erik Sundell
b3365fbe45 update: jupyterhub 4 2023-05-11 23:19:27 +02:00
pre-commit-ci[bot]
e6994aab2d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-24 00:10:25 +00:00
stevejpurves
fc34bc74aa added remove_named_servers setting 2023-04-24 02:05:28 +02:00
Min RK
000e4f2540 sync with main 2023-04-17 09:44:58 +02:00
Erik Sundell
6883316c36 Update mambaforge from 22.11.1-4 to 23.1.0-1 2023-04-15 11:06:29 +02:00
Erik Sundell
9e1bc61519 breaking, maint: remove deprecated use of nteract-on-jupyter 2023-04-04 22:00:44 +02:00
Erik Sundell
3ebe974de4 Merge pull request #862 from minrk/init-loggers
avoid registering duplicate log handlers
2023-04-04 21:54:45 +02:00
Min RK
9b940c34fd don't let conda install wait for input 2023-03-27 15:43:46 +02:00
Min RK
b5a6b3f590 Avoid downgrading user-env conda/mamba
- Only check lower bound on conda/mamba, upgrade unbounded if not matched (let conda apply upper bound according to existing pins, such as Python)
- handle missing mamba
- avoid upgrading Python by aborting the install, instead of keeping old envs
- minimum supported Python for user env is 3.9
- Fix output reporting of conda install step (no need for json capture when we don't parse the output - exit codes will do)
2023-03-27 13:20:22 +02:00
Min RK
5980cb3ef2 log commands before they start (at debug level)
so you know what you're waiting for
2023-03-24 11:58:32 +01:00
Min RK
5da2859408 avoid registering duplicate log handlers
init_logging is called many times in test_config,
which has been registering numerous duplicate log handlers,
attached to stderr that's closed between tests
2023-03-24 11:31:44 +01:00
Min RK
4d42f24e48 test ensure_user_environment
verify behavior for:

- current version (no change)
- old, supported version (upgrade, but not too far)
- too old, re-run installer
- directory exists, no conda
2023-03-23 12:34:44 +01:00
Min RK
594b61003f add some logging to conda setup 2023-03-23 12:31:50 +01:00
Min RK
6d0c1cbf63 Remove very old conda versions from installer.py
- 4.7.10 was Python 3.7 (no longer supported)
- 4.5.4 was Python 3.6
2023-03-21 15:59:37 +01:00
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
Min RK
de1fc86b5e only pin major versions in requirements-base.txt, installer.py 2023-03-21 10:30:59 +01:00
YuviPanda
12316c3256 Upgrade some packages
Should upgrade base python version separately
2023-03-21 09:27:56 +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