Merge pull request #181124 from Net-Mist/jupytext

python3Packages.jupytext: 1.13.8 -> 1.14.0
This commit is contained in:
Sandro 2022-07-14 19:23:20 +02:00 committed by GitHub
commit b2a07d232c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "jupytext";
version = "1.13.8";
version = "1.14.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "mwouts";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-ebe5sQJxA8QE6eJp6vPUyMaEvZUPqzCmQ6damzo1BVo=";
sha256 = "sha256-a/dvY7MLCjYGOvsCC5tiIIJpApNriRtBN63VK+McEVw=";
};
buildInputs = [
@ -51,12 +51,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# https://github.com/mwouts/jupytext/pull/885
substituteInPlace setup.py \
--replace "markdown-it-py~=1.0" "markdown-it-py>=1.0.0,<3.0.0"
'';
preCheck = ''
# Tests that use a Jupyter notebook require $HOME to be writable
export HOME=$(mktemp -d);