Commit Graph

1575 Commits

Author SHA1 Message Date
Erik Sundell
f219acd041 ci: remove unimportant and complicated job filtering 2023-04-15 10:56:44 +02:00
Erik Sundell
6ecbe083d5 ci: use non-deprecated codecov action 2023-04-15 10:49:40 +02:00
Erik Sundell
d531a127d8 ci: shorten job names 2023-04-15 10:49:40 +02:00
Erik Sundell
8e94bbe468 ci: add upgrade tests from: main, latest, and 0.2.0 2023-04-15 10:49:40 +02:00
Erik Sundell
17bbd6116b bootstrap.py: update documentation for consistency 2023-04-15 10:35:12 +02:00
Erik Sundell
7859e7f01b refactor: name pip_bin etc to clarify the python environment 2023-04-15 10:34:55 +02:00
Erik Sundell
ed334ac050 ci/docs: finalize transition to main branch 2023-04-15 08:40:06 +02:00
Yuvi Panda
ff276d1a29 Merge pull request #869 from consideRatio/pr/remove-nteract
breaking, maint: remove deprecated nteract-on-jupyter
2023-04-10 12:36:33 +05:30
Erik Sundell
7fd97ad5e0 Merge pull request #871 from consideRatio/pr/dependabot-monthly
dependabot: monthly updates of github actions
2023-04-07 15:58:16 +02:00
Erik Sundell
0324d88da2 dependabot: rename to .yaml 2023-04-05 10:19:27 +02:00
Erik Sundell
9144828e5b dependabot: monthly updates of github actions 2023-04-04 22:58:47 +02:00
Erik Sundell
9e1bc61519 breaking, maint: remove deprecated use of nteract-on-jupyter 2023-04-04 22:00:44 +02:00
Erik Sundell
f55e4cf615 Merge pull request #870 from consideRatio/pr/misc-rst-followups
docs: fix remaining issues following rst to myst transition
2023-04-04 21:58:09 +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
Erik Sundell
f9b2a05e18 docs: fix remaining issues following rst to myst transition 2023-04-04 21:48:13 +02:00
Erik Sundell
fa4a8bf6cb Merge pull request #863 from minrk/myst
docs: transition from rst to myst markdown using rst2myst
2023-04-04 21:35:43 +02:00
pre-commit-ci[bot]
ee0a2c9b66 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-04 19:31:36 +00:00
Erik Sundell
77e8544d80 docs: additional manual fixes for rst to myst 2023-04-04 21:31:24 +02:00
pre-commit-ci[bot]
f7b55c43aa [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-04 19:26:44 +00:00
Erik Sundell
153d575ae5 docs: manual formatting fixes following rst to myst conversion 2023-04-04 21:25:55 +02:00
Erik Sundell
82aac067b6 docs: add dollarmath myst extension
Enables use of `$$...$$` math blocks, see https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#math-shortcuts
2023-04-04 20:51:22 +02:00
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