python311Packages.jupyterhub: 1.5.0 -> 4.0.0
Changelog: https://github.com/jupyterhub/jupyterhub/blob/4.0.0/docs/source/changelog.md
This commit is contained in:
parent
56ced92ed5
commit
018d022c78
@ -1,30 +1,32 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchzip
|
||||
, alembic
|
||||
, async-generator
|
||||
, beautifulsoup4
|
||||
, buildPythonPackage
|
||||
, certipy
|
||||
, python-dateutil
|
||||
, cryptography
|
||||
, entrypoints
|
||||
, fetchPypi
|
||||
, fetchzip
|
||||
, importlib-metadata
|
||||
, jinja2
|
||||
, jupyter-telemetry
|
||||
, nodePackages
|
||||
, notebook
|
||||
, oauthlib
|
||||
, pamela
|
||||
, prometheus-client
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests-mock
|
||||
, selenium
|
||||
, sqlalchemy
|
||||
, tornado
|
||||
, traitlets
|
||||
, nodePackages
|
||||
, beautifulsoup4
|
||||
, cryptography
|
||||
, notebook
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, requests-mock
|
||||
, virtualenv
|
||||
}:
|
||||
|
||||
@ -61,12 +63,14 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterhub";
|
||||
version = "1.5.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "4.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-3GGPZXwjukYoDjYlflCTGAZnS6Dp5kmK+wke/GIm1p0=";
|
||||
hash = "sha256-LKspluSafStwwLtYCpkuRCBZSD4K8YrwYaKayCsUqGc=";
|
||||
};
|
||||
|
||||
# Most of this only applies when building from source (e.g. js/css assets are
|
||||
@ -111,7 +115,6 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
# https://github.com/jupyterhub/jupyterhub/blob/master/requirements.txt
|
||||
alembic
|
||||
async-generator
|
||||
certipy
|
||||
@ -123,9 +126,12 @@ buildPythonPackage rec {
|
||||
pamela
|
||||
prometheus-client
|
||||
requests
|
||||
selenium
|
||||
sqlalchemy
|
||||
tornado
|
||||
traitlets
|
||||
] ++ lib.optionals (pythonOlder "3.10") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
@ -134,7 +140,6 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
# https://github.com/jupyterhub/jupyterhub/blob/master/dev-requirements.txt
|
||||
beautifulsoup4
|
||||
cryptography
|
||||
notebook
|
||||
@ -151,14 +156,39 @@ buildPythonPackage rec {
|
||||
"test_external_service"
|
||||
# attempts to do ssl connection
|
||||
"test_connection_notebook_wrong_certs"
|
||||
# AttributeError: 'coroutine' object...
|
||||
"test_valid_events"
|
||||
"test_invalid_events"
|
||||
"test_user_group_roles"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Not testing with a running instance
|
||||
# AttributeError: 'coroutine' object has no attribute 'db'
|
||||
"docs/test_docs.py"
|
||||
"jupyterhub/tests/test_orm.py"
|
||||
"jupyterhub/tests/test_api.py"
|
||||
"jupyterhub/tests/test_auth.py"
|
||||
"jupyterhub/tests/test_auth_expiry.py"
|
||||
"jupyterhub/tests/test_metrics.py"
|
||||
"jupyterhub/tests/test_named_servers.py"
|
||||
"jupyterhub/tests/selenium/test_browser.py"
|
||||
"jupyterhub/tests/test_user.py"
|
||||
"jupyterhub/tests/test_singleuser.py"
|
||||
"jupyterhub/tests/test_spawner.py"
|
||||
"jupyterhub/tests/test_services_auth.py"
|
||||
"jupyterhub/tests/test_scopes.py"
|
||||
"jupyterhub/tests/test_proxy.py"
|
||||
"jupyterhub/tests/test_pages.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = lib.versionAtLeast sqlalchemy.version "2.0";
|
||||
description = "Serves multiple Jupyter notebook instances";
|
||||
homepage = "https://jupyter.org/";
|
||||
changelog = "https://github.com/jupyterhub/jupyterhub/blob/${version}/docs/source/changelog.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ixxie cstrahan ];
|
||||
# darwin: E OSError: dlopen(/nix/store/43zml0mlr17r5jsagxr00xxx91hz9lky-openpam-20170430/lib/libpam.so, 6): image not found
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user