python311Packages.ipyparallel: fix build

This commit is contained in:
natsukium 2024-03-10 14:48:53 +09:00
parent eb7e2246c4
commit 856744396a
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -19,9 +19,9 @@
buildPythonPackage rec {
pname = "ipyparallel";
version = "8.7.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
@ -33,14 +33,14 @@ buildPythonPackage rec {
#
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"jupyterlab>=3.0.0,==3.*",' ""
--replace '"jupyterlab==4.*",' ""
'';
nativeBuildInputs = [
build-system = [
hatchling
];
propagatedBuildInputs = [
dependencies = [
decorator
entrypoints
ipykernel