Min RK
58dccdb59b
jupyterhub-singleuser as a Jupyter Server 2.0 extension
...
mostly a copy (fork) of singleuser app
using public APIs instead of lots of patching.
opt-in via `JUPYTERHUB_SINGLEUSER_EXTENSION=1`
related changes:
- stop running a test single-user server in a thread. It's complicated and fragile.
Instead, run it normally, and get the info we need from a custom handler registered via an extension
via the `full_spawn` fixture
2023-02-02 16:14:06 +01:00
Min RK
5b5069af99
make sure event-schemas are installed
2023-01-19 09:59:53 +01:00
pre-commit-ci[bot]
8ac3a8e4e6
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-11-22 12:53:06 +00:00
Erik Sundell
1ac9c443b5
maint: add test to extras_require, remove dev-requirements.txt
2022-11-22 13:51:28 +01:00
Simon Li
8b68286486
setup.py: require npm, check that NPM CSS JSX commands succeed
2022-09-10 17:59:53 +01:00
Min RK
e8469af763
fixup: remove redundant check
2022-07-14 09:05:01 -07:00
Min RK
c657498d75
require Python 3.7
...
drops support for Python 3.6
2022-07-14 09:05:01 -07:00
Simon Li
95e343395d
Ensure jsx is in sdist
2022-06-01 20:43:02 +01:00
Simon Li
7d7d30bcae
Don't build admin app on readthedocs
2022-05-29 19:23:57 +01:00
Simon Li
0b161627c2
yarn: allow jlpm to be used instead
2022-05-29 17:14:14 +01:00
Simon Li
dfcaa29c8a
Build react admin app in setup.py
2022-05-29 16:52:20 +01:00
Min RK
7a9778249f
run pre-commit with isort
2022-03-31 12:33:26 +02:00
Min RK
b8965c2017
always use relative paths in data_files
...
instead of absolute paths for sources
seems to have started failing on Windows
2021-11-08 13:29:26 +01:00
Min RK
34398d94de
Merge pull request #3627 from jupyterhub/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-28 15:23:00 +02:00
Simon Li
28f56ba510
Simplify NullAuthenticator, add test
2021-09-27 23:05:53 +01:00
pre-commit-ci[bot]
c8d3dbb7b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-27 19:45:58 +00:00
Simon Li
2ade7328d1
nullauthenticator: relative imports, entrypoint, doc
2021-09-23 20:39:54 +01:00
Erik Sundell
d6c48b15fe
pyupgrade: run pyupgrade --py36-plus and black on all but tests
2021-08-26 16:23:38 +02:00
Min RK
6082c1965a
remove use of deprecated distutils
...
distutils is slated for deprecation in the stdlib
we can use packaging for version parsing and setuptools in setup.py
packaging is technically an extra dependency, but rarely missing because it's so widespread
2021-08-03 12:22:31 +02:00
YuviPanda
665f9fa693
Drop Python 3.5 support
...
See https://github.com/jupyterhub/jupyterhub/pull/3176#issuecomment-694315759
For Travis, I push the version cascade down one step.
Should preserve our test coverage while conserving test
duration
2020-11-17 15:39:55 +05:30
Steffen Vogel
e93cc83d58
remove unused imports
2020-04-16 12:12:22 +02:00
Bruno P. Kinoshita
bc32450005
Fix header project name typo
2019-10-12 13:54:01 +13:00
Min RK
2f99104f57
a couple fixups after autoformatting
2019-02-19 17:04:37 +01:00
Min RK
5e60582ef3
run autoformat
...
apologies to anyone finding this commit via git blame or log
run the autoformatting by
pre-commit run --all-files
2019-02-19 17:00:10 +01:00
Alejandro del Castillo
b1759c8882
setup.py: add automatic script generation
...
Use setuptools console_scripts functionality to create top level jupyter
& jupyterhub-single user entry point scripts on *nix, and executables on
Windows.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com >
2018-11-15 09:53:29 -06:00
Min RK
575af23e23
register simplespawner in setup.py
2018-11-05 10:57:10 +01:00
Min RK
abd3bc13d2
add entrypoint for proxy implementations
2018-10-11 16:54:25 +02:00
Min RK
c02ab23b3d
allow spawners and authenticators to register via entrypoints
...
jupyterhub.authenticators for authenticators, jupyterhub.spawners for spawners
This has the effect that authenticators and spawners can be selected by name instead of full import string (e.g. 'github' or 'dummy' or 'kubernetes')
and, perhaps more importantly, the autogenerated configuration file will include a section for each installed and registered class.
2018-09-28 10:08:10 +02:00
Carol Willing
376aa13981
correct link
2018-06-13 14:37:27 -07:00
Carol Willing
4bc8b48763
add info to display at pypi site
2018-06-13 14:35:23 -07:00
Min RK
58d602e549
require Python 3.5 for async/await syntax
2018-03-12 18:18:46 +01:00
Min RK
4201c8a6f3
missing share_jupyterhub
2018-02-28 15:41:58 +01:00
Min RK
8695823165
move static resources to share/jupyterhub
...
from share/jupyter/hub
to be consistent with use of etc/jupyterhub etc.
2018-02-28 15:41:58 +01:00
Min RK
5ffb5763a5
setup.py: run npm with --unsafe-perm
...
this is the equivalent to bower's `--allow-root` that we had in bower-proper
fixes issues when installing jupyterhub from source with sudo
2017-11-13 11:09:25 +01:00
Min RK
5826035fe9
node when css building starts
2017-11-07 12:59:57 +01:00
Min RK
8a95066b2e
run lessc via npm
2017-11-07 11:39:53 +01:00
Min RK
00a4aef607
remove bower
...
use npm to fetch dependencies and a simple postinstall script to copy into components
2017-11-07 11:38:47 +01:00
Min RK
5a8011ea66
Require Python 3.4
...
Specify Requires-Python (PEP345) metadata
2017-07-20 13:49:34 +02:00
Carol Willing
d34f6e779d
Bump Python support to 3.4 and up
2017-07-19 14:57:52 -07:00
Hirschfeld
4f27a18616
Pass shell=True
to check_call
on Windows
2017-07-18 12:15:33 +10:00
Hirschfeld
13eda34676
Used os.pathsep to join paths
2017-07-13 22:19:37 +10:00
Hirschfeld
874ed0c450
Passed shell argument to check_call instead of calling cmd.exe directly
2017-07-13 22:15:19 +10:00
Hirschfeld
f25ec3c3f0
Minor fixes to get setup.py to work on Windows
2017-07-13 16:47:26 +10:00
Min RK
530f499ce1
_version.py is private
2017-06-28 21:55:15 +01:00
Carol Willing
91553ebe34
Add word to docstring to improve comprehension
2017-03-05 13:15:58 -08:00
Min RK
85ca5a052e
add alembic.ini to package_data
2016-11-22 16:21:03 +01:00
Carol Willing
d4646e1caa
Update link
2016-09-28 20:54:57 -07:00
Min RK
9aa4046093
always install with setuptools
...
but not eggs (effectively require pip install .)
2016-09-05 15:46:20 +02:00
Min RK
b8a6ac62e8
include alembic in package_data
2016-05-26 14:23:10 +02:00
Min RK
b11a5be781
disable npm progress when installing
...
apparently faster, but should also fix unicode errors
2016-04-08 16:35:23 -07:00