Unverified Commit 227b9472 authored by natsukium's avatar natsukium
Browse files

python312Packages.nbdime: 4.0.1 -> 4.0.2

parent 74aa49ee
Loading
Loading
Loading
Loading
+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:
+4 −10
Original line number Diff line number Diff line
@@ -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