Loading pkgs/development/python-modules/nbdime/749.patchdeleted 100644 → 0 +0 −10 Original line number Diff line number Diff line --- a/nbdime/webapp/nbdimeserver.py +++ b/nbdime/webapp/nbdimeserver.py @@ -388,6 +388,7 @@ 'jinja2_env': env, 'local_hostnames': ['localhost', '127.0.0.1'], 'cookie_secret': base64.encodebytes(os.urandom(32)), # Needed even for an unsecured server. + 'allow_unauthenticated_access': True, } try: pkgs/development/python-modules/nbdime/default.nix +4 −10 Original line number Diff line number Diff line Loading @@ -22,29 +22,23 @@ buildPythonPackage rec { pname = "nbdime"; version = "4.0.1"; version = "4.0.2"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; hash = "sha256-8adgwLAMG6m0lFwWzpJXfzk/tR0YTzUbdoW6boUCCY4="; hash = "sha256-2Cefj0sjbAslOyDWDEgxu2eEPtjb1uCfI06wEdNvG/I="; }; patches = [ # this fixes the webserver (nbdiff-web) when jupyter-server >=2.13 is used # see https://github.com/jupyter/nbdime/issues/749 ./749.patch ]; nativeBuildInputs = [ build-system = [ hatch-jupyter-builder hatchling jupyterlab ]; propagatedBuildInputs = [ dependencies = [ nbformat colorama pygments Loading Loading
pkgs/development/python-modules/nbdime/749.patchdeleted 100644 → 0 +0 −10 Original line number Diff line number Diff line --- a/nbdime/webapp/nbdimeserver.py +++ b/nbdime/webapp/nbdimeserver.py @@ -388,6 +388,7 @@ 'jinja2_env': env, 'local_hostnames': ['localhost', '127.0.0.1'], 'cookie_secret': base64.encodebytes(os.urandom(32)), # Needed even for an unsecured server. + 'allow_unauthenticated_access': True, } try:
pkgs/development/python-modules/nbdime/default.nix +4 −10 Original line number Diff line number Diff line Loading @@ -22,29 +22,23 @@ buildPythonPackage rec { pname = "nbdime"; version = "4.0.1"; version = "4.0.2"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; hash = "sha256-8adgwLAMG6m0lFwWzpJXfzk/tR0YTzUbdoW6boUCCY4="; hash = "sha256-2Cefj0sjbAslOyDWDEgxu2eEPtjb1uCfI06wEdNvG/I="; }; patches = [ # this fixes the webserver (nbdiff-web) when jupyter-server >=2.13 is used # see https://github.com/jupyter/nbdime/issues/749 ./749.patch ]; nativeBuildInputs = [ build-system = [ hatch-jupyter-builder hatchling jupyterlab ]; propagatedBuildInputs = [ dependencies = [ nbformat colorama pygments Loading