Loading pkgs/development/python-modules/bqscales/default.nix +3 −16 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ , hatchling , hatch-jupyter-builder , jupyterlab , jupyter-packaging , ipywidgets , numpy , traitlets Loading @@ -15,7 +14,7 @@ buildPythonPackage rec { pname = "bqscales"; version = "0.3.3"; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { Loading @@ -23,24 +22,10 @@ buildPythonPackage rec { hash = "sha256-SlnNw4dWOzRedwIN3kCyl95qVqkY92QGOMS3Eyoqk0I="; }; # 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 = [ hatch-jupyter-builder hatchling jupyterlab jupyter-packaging ]; propagatedBuildInputs = [ Loading @@ -50,6 +35,8 @@ buildPythonPackage rec { traittypes ]; env.SKIP_JUPYTER_BUILDER = 1; # no tests in PyPI dist doCheck = false; Loading Loading
pkgs/development/python-modules/bqscales/default.nix +3 −16 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ , hatchling , hatch-jupyter-builder , jupyterlab , jupyter-packaging , ipywidgets , numpy , traitlets Loading @@ -15,7 +14,7 @@ buildPythonPackage rec { pname = "bqscales"; version = "0.3.3"; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { Loading @@ -23,24 +22,10 @@ buildPythonPackage rec { hash = "sha256-SlnNw4dWOzRedwIN3kCyl95qVqkY92QGOMS3Eyoqk0I="; }; # 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 = [ hatch-jupyter-builder hatchling jupyterlab jupyter-packaging ]; propagatedBuildInputs = [ Loading @@ -50,6 +35,8 @@ buildPythonPackage rec { traittypes ]; env.SKIP_JUPYTER_BUILDER = 1; # no tests in PyPI dist doCheck = false; Loading