Commit Graph

1454 Commits

Author SHA1 Message Date
Simon Li
25e4290f79 Merge pull request #842 from yuvipanda/upgrade-things
update: jupyterhub 3, oauthenticator 15, systemdspawner 0.17 (user env: ipywidgets 8)
2023-04-04 19:20:19 +01:00
Min RK
adbd41dcb0 Merge pull request #867 from jupyterhub/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-04-04 13:04:16 +02:00
pre-commit-ci[bot]
6b39d025bc [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.34.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v2.34.0...v3.3.1)
- [github.com/psf/black: 22.3.0 → 23.3.0](https://github.com/psf/black/compare/22.3.0...23.3.0)
- [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.6](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0-alpha.6)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
- [github.com/pycqa/flake8: 4.0.1 → 6.0.0](https://github.com/pycqa/flake8/compare/4.0.1...6.0.0)
2023-04-04 06:23:11 +00:00
Min RK
2d1c584eca Fix wait/fail conditions in hub culling tests
- actually check for running server, matching comments, not just user existence
- catch asyncio.TimeoutError, not TimeoutError
- fail if condition is not met, rather than passing in both cases
- update some comments for accuracy (max age and timeout aren't the same)
2023-03-28 15:48:35 +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
214635bf87 update doc contributing guide to point to markdown instead of rst 2023-03-27 10:25:18 +02:00
Min RK
1ac6f9983d markdownify add_users/packages included files
not caught in initial rst2myst
2023-03-27 10:22:45 +02:00
Min RK
76dadd7ef9 fix absolute refs
myst seems to create different refs than sphinx
2023-03-27 10:16:51 +02:00
Min RK
de36cfc116 adopt myst
run rst2myst, with minimal manual formatting fixes
2023-03-27 09:40:35 +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
6b0b5f2998 add bzip2 to test env
required for testing against miniconda 4.5
2023-03-24 11:58:12 +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
755d0d02fb avoid auto-updating conda in test env
because then we don't get the version we expect to test with!
2023-03-23 16:26:34 +01:00
Min RK
5ec167ff0f Sync with main
updates required Python version to exclude 3.6
2023-03-23 15:45:54 +01:00
Min RK
a24e038136 get canary package from conda-forge 2023-03-23 15:39:46 +01:00
Min RK
285a1e93f2 Sync with main
now that base OS version is updated
2023-03-23 12:38:28 +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
Erik Sundell
a5e72046ab Merge pull request #856 from minrk/ubuntu-bump
require ubuntu 20.04, test on debian 11, require Python 3.8
2023-03-23 10:25:38 +01:00
Min RK
27c9761f1c Apply suggestions from code review
Co-authored-by: Simon Li <orpheus+devel@gmail.com>
2023-03-23 09:39:17 +01:00
Simon Li
8711a58d70 Merge pull request #859 from minrk/10
bump version to 1.0.0.dev0
2023-03-22 09:44:35 +00:00
Min RK
5e6f68eb32 bump version to 1.0.0.dev0 2023-03-21 16:27:39 +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
f53b0b86a2 Merge with pr 843 2023-03-21 12:13:29 +01:00
Min RK
ecc832f9ad Merge pull request #849 from jawiv/patch-1
Update user-environment.rst
2023-03-21 12:09:10 +01:00
Min RK
6f852d173d add note that newer OS will _probably_ work, but LTS are supported 2023-03-21 11:15:13 +01:00
Min RK
c80e5f6854 add python3 to integration test
debian base image doesn't include Python3
2023-03-21 11:05:25 +01:00
Min RK
e03f5ec2cd Require Debian 11, not 10
10 has too-old Python by default
2023-03-21 10:47:55 +01:00
Min RK
150a3f62d6 parse distro version tuples
instead of using floats
2023-03-21 10:39:40 +01:00
Min RK
de1fc86b5e only pin major versions in requirements-base.txt, installer.py 2023-03-21 10:30:59 +01:00
Min RK
aa72179afa require ubuntu 20.04, test on debian 10 2023-03-21 10:17:02 +01:00
Min RK
fcf6164e31 Merge pull request #800 from jochym/main
Add support for debian >=10 to bootstrap.py
2023-03-21 09:32:45 +01:00
YuviPanda
12316c3256 Upgrade some packages
Should upgrade base python version separately
2023-03-21 09:27:56 +01:00
Simon Li
fedb185bdf Merge pull request #838 from manics/release
Release 0.2.0 (JupyterHub 1.*)
0.2.0
2023-02-27 12:44:58 +00:00
Simon Li
1da06a0606 0.2.0 release date 2023-02-27 09:49:12 +00:00
Paweł T. Jochym
0b63febdde Merge pull request #2 from jupyterhub/main
Sync with upstream development
2023-02-23 11:34:51 +01:00
Simon Li
4245ac01cd 0.2.0 tentative release date 2023-02-10 2023-02-10 13:59:01 +00:00
Simon Li
971c716f0e Update changelog with PRs since 7fb84aad56 2023-02-10 11:51:33 +00:00
Simon Li
7a50cc9436 bootstrap.py: Only lookup git ref if TLJH_BOOTSTRAP_PIP_SPEC not set
test_bootstrap.py: use `--version main` since there are no tags/releases
2023-02-10 11:44:02 +00:00
Simon Li
6d1deaa19c Set version to 0.2.0 2023-02-10 11:44:02 +00:00
Simon Li
15b5f8c537 Single section for changelog
Very few PRs are labelled, so just have one `Merged PRs` section
2023-02-10 11:44:02 +00:00
Simon Li
8e7f534b4b changelog.md: github-activity --since 4a74ad17a1a19f6378efe12a01ba634ed90f1e03 2023-02-10 11:44:02 +00:00
Simon Li
7699209bc3 Switch default installed version to latest
This will correspond to the most recent release tag (excludes pre-releases)
2023-02-10 11:44:02 +00:00
Erik Sundell
c97bdd560e Merge pull request #851 from pnasrat/attempt-to-fix-ci
Fix broken CI
2023-02-09 17:34:28 +01:00
Pris Nasrat
9803df1d44 Trigger CI GitHub workflow in case flaky 2023-02-09 10:39:02 -05:00
Pris Nasrat
4a701d2e1c Remove commented out code in uid/gid debugging 2023-02-09 07:52:04 -05:00
Pris Nasrat
4eb2055e15 Fix rtd build
Pin Sphinx to below 6.0.0 see  pydata/pydata-sphinx-theme#1094
2023-02-07 11:42:38 -05:00
Pris Nasrat
acd64c277e Drop supplemental groups in install testing 2023-02-07 11:42:02 -05:00