python311Packages.ipycanvas: 0.13.1 -> 0.13.2

Changelog: https://github.com/jupyter-widgets-contrib/ipycanvas/releases/tag/0.13.2
This commit is contained in:
natsukium 2024-04-28 13:04:08 +09:00
parent 8225716786
commit cca367bb47
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, jupyter-packaging , hatchling
, ipywidgets , ipywidgets
, numpy , numpy
, pillow , pillow
@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ipycanvas"; pname = "ipycanvas";
version = "0.13.1"; version = "0.13.2";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-+cOUBoG8ODgzkPjEbqXYRF1uEcbaZITDfYnfWuHawTE="; hash = "sha256-Ujh9nYf2WVXzlVL7eSfEReXl5JN9hTgU2RDL6O+g+3k=";
}; };
# We relax dependencies here instead of pulling in a patch because upstream # We relax dependencies here instead of pulling in a patch because upstream
@ -26,13 +26,16 @@ buildPythonPackage rec {
# #
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace '"jupyterlab==3.*",' "" \ --replace-fail '"jupyterlab>=3,<5",' "" \
--replace 'jupyter_packaging~=' 'jupyter_packaging>='
''; '';
nativeBuildInputs = [ jupyter-packaging ]; build-system = [
hatchling
];
propagatedBuildInputs = [ ipywidgets numpy pillow ]; env.HATCH_BUILD_NO_HOOKS = true;
dependencies = [ ipywidgets numpy pillow ];
doCheck = false; # tests are in Typescript and require `npx` and `chromium` doCheck = false; # tests are in Typescript and require `npx` and `chromium`
pythonImportsCheck = [ "ipycanvas" ]; pythonImportsCheck = [ "ipycanvas" ];