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
Will Dampier
8d1033393c
adding tljh_extra_user_conda_channels hook to the hooks and installer
2022-09-02 14:46:55 -04:00
Will Dampier
fc8f70463c
Adding the ability to define conda channels
2022-09-02 14:10:43 -04: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
2ce091cbc5
pre-commit: remove requirements-txt-fixer
2021-11-01 09:39:20 +01:00
Erik Sundell
c2c4d708f5
pyupgrade fixes
2021-10-31 11:26:40 +01:00
Erik Sundell
623ab321f0
check-executable-have-shebangs fixes
2021-10-31 11:15:22 +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
2d6d970146
Merge pull request #719 from consideRatio/pr/update-hub-user-env-and-tljh-deps
...
Bump to recent versions, and make bootstrap.py update to those when run
2021-10-28 03:47:42 +02:00
Erik Sundell
3de51ff637
Remove --no-cache-dir flag
2021-10-27 15:34:44 +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
8910ffb1ab
user env: bump to require latest major version, less pinned now
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
Min RK
d3412a1c81
remove addressed FIXMEs in update_auth
...
These are both addressed by the use of traitlets.config
- an informative error is raised if the auth class cannot be imported
- only configurable traits can be set, not any attribute on any object
also fix a couple of typos in the docstring that I introduced during review
2021-10-27 09:12:24 +02:00
Min RK
0cd6b2a8b0
raise on ignored config in auth
...
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com >
2021-10-27 08:46:46 +02:00
Erik Sundell
efb8ee0ffc
Add back FIXME notes unchanged
2021-10-27 01:53:55 +02:00
Erik Sundell
a32ec5ee04
Apply suggestions from code review
...
Co-authored-by: Min RK <benjaminrk@gmail.com >
2021-10-27 01:53:55 +02:00
Erik Sundell
5c8e5678ac
Apply TLJH auth config with less assumptions
2021-10-27 01:53:55 +02:00
Yuvi Panda
d4be3c1313
Merge pull request #717 from yuvipanda/cleanup-retrieve
...
Don't open file twice when downloading conda
2021-10-19 17:50:00 +05:30
Erik Sundell
de146690ad
Apply suggestions from code review
2021-10-19 13:47:11 +02:00
Erik Sundell
6d6ec61102
Apply suggestions from code review
2021-10-19 12:24:34 +02:00
YuviPanda
63ced8eb7d
Flush conda installer to disk before calculating sha
2021-10-19 15:07:44 +05:30