mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 15:14:13 +00:00
python3.pkgs.jupytext: relax build dependencies
This commit is contained in:
parent
d2d2edea93
commit
2e80470a11
@ -14,7 +14,9 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pyyaml
|
, pyyaml
|
||||||
|
, setuptools
|
||||||
, toml
|
, toml
|
||||||
|
, wheel
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -31,9 +33,23 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-M4BoST18sf1C1lwhFkp4a0B3fc0VKerwuVEIfwkD7i0=";
|
hash = "sha256-M4BoST18sf1C1lwhFkp4a0B3fc0VKerwuVEIfwkD7i0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
# Follow https://github.com/mwouts/jupytext/pull/1119 to see if the patch
|
||||||
|
# relaxing jupyter_packaging version can be cleaned up.
|
||||||
|
#
|
||||||
|
# Follow https://github.com/mwouts/jupytext/pull/1077 to see when the patch
|
||||||
|
# relaxing jupyterlab version can be cleaned up.
|
||||||
|
#
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'jupyter_packaging~=' 'jupyter_packaging>=' \
|
||||||
|
--replace 'jupyterlab>=3,<=4' 'jupyterlab>=3'
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
jupyter-packaging
|
jupyter-packaging
|
||||||
jupyterlab
|
jupyterlab
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user