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

This commit is contained in:
Gaétan Lepage
2026-02-24 22:57:40 +00:00
committed by GitHub
3 changed files with 17 additions and 2 deletions
@@ -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
];
@@ -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"
];
@@ -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