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:
parent
8225716786
commit
cca367bb47
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user