Unverified Commit 67eae32c authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.{jupytext,mkdock-jupyter,flatlatex}: fixes (#493542)

parents 05d704a7 731ad55b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonAtLeast,
  setuptools,
  pytestCheckHook,
  regex,
@@ -17,6 +18,8 @@ buildPythonPackage rec {
    hash = "sha256-UXDhvNT8y1K9vf8wCxS2hzBIO8RvaiqJ964rsCTk0Tk=";
  };

  disabled = pythonAtLeast "3.14";

  build-system = [
    setuptools
  ];
+5 −1
Original line number Diff line number Diff line
@@ -108,7 +108,11 @@ buildPythonPackage rec {
    "tests/external"
  ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
  disabledTests = [
    # Fails due to whitespace differences in the outputs
    "test_async_and_sync_files_are_in_sync"
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    # requires access to trash
    "test_load_save_rename"
  ];
+9 −1
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  pygments,
  pytestCheckHook,
  pytest-cov-stub,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
@@ -24,10 +25,17 @@ buildPythonPackage rec {
    hash = "sha256-DpJy/0lH4OxoPJJCOkv7QqJkd8EDqxpquCd+LcyPev4=";
  };

  pythonRelaxDeps = [ "nbconvert" ];
  pythonRelaxDeps = [
    "ipykernel"
    "nbconvert"
  ];

  build-system = [ hatchling ];

  nativeBuildInputs = [
    writableTmpDirAsHomeHook
  ];

  dependencies = [
    ipykernel
    jupytext