python3.pkgs.bqscales: relax build dependencies
This commit is contained in:
parent
d0e320f924
commit
854c0267a3
@ -13,7 +13,6 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "bqscales";
|
||||
version = "0.3.1";
|
||||
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@ -22,6 +21,19 @@ buildPythonPackage rec {
|
||||
hash = "sha256-C+/GLpqYpePngbn5W0MwvpdmVgFZF7aGHyKMgO5XM90=";
|
||||
};
|
||||
|
||||
# We relax dependencies here instead of pulling in a patch because upstream
|
||||
# has released a new version using hatch-jupyter-builder, but it is not yet
|
||||
# trivial to upgrade to that.
|
||||
#
|
||||
# Per https://github.com/bqplot/bqscales/issues/76, jupyterlab is not needed
|
||||
# as a build dependency right now.
|
||||
#
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"jupyterlab==3.*",' "" \
|
||||
--replace 'jupyter_packaging~=' 'jupyter_packaging>='
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
jupyter-packaging
|
||||
|
Loading…
Reference in New Issue
Block a user