python312Packages.experiment-utilities: 0.3.6 -> 0.3.8 (#356892)

This commit is contained in:
Nick Cao 2024-11-18 08:51:09 -05:00 committed by GitHub
commit 2b2c68c30d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,54 +1,66 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
# dependencies
cloudpickle, cloudpickle,
dill, dill,
fasteners, fasteners,
fetchFromGitLab,
qgrid,
ipynbname, ipynbname,
ipywidgets, ipywidgets,
notebook,
numpy,
odfpy, odfpy,
scipy,
plotly, plotly,
pytestCheckHook,
pyyaml, pyyaml,
qgrid,
scipy,
six,
tabulate, tabulate,
tensorboard, tensorboard,
# tests
pytestCheckHook,
torch, torch,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "experiment-utilities"; pname = "experiment-utilities";
version = "0.3.6"; version = "0.3.8";
format = "setuptools"; pyproject = true;
src = fetchFromGitLab { src = fetchFromGitHub {
owner = "creinke"; owner = "ChrisReinke";
repo = "exputils"; repo = "exputils";
domain = "gitlab.inria.fr"; rev = "refs/tags/v${version}";
rev = "refs/tags/version_${version}"; hash = "sha256-fo8kwxm5/oEuLXVKhBrvKg18S0Yh6SkkNRaHUGJfdw4=";
hash = "sha256-jo0CBSpUc/F1lJ2vagocngDM1Lopw5/AJnt1QwCunA8=";
}; };
# This dependency constraint (<=7.6.5) was due to a bug in qgrid that has been patched in its pythonRelaxDeps = [
# owned derivation "notebook"
postPatch = '' "ipywidgets"
substituteInPlace setup.cfg \ ];
--replace "ipywidgets >= 7.5.1,<= 7.6.5" "ipywidgets >= 7.5.1"
'';
propagatedBuildInputs = [ pythonRemoveDeps = [
# Not available anymore in nixpkgs
"jupyter-contrib-nbextensions"
];
dependencies = [
cloudpickle cloudpickle
dill dill
fasteners fasteners
ipynbname ipynbname
ipywidgets ipywidgets
notebook
numpy
odfpy odfpy
plotly plotly
pyyaml pyyaml
qgrid qgrid
scipy scipy
six
tabulate tabulate
tensorboard tensorboard
]; ];
@ -62,10 +74,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "exputils" ]; pythonImportsCheck = [ "exputils" ];
meta = with lib; { meta = {
description = "Various tools to run scientific computer experiments"; description = "Various tools to run scientific computer experiments";
homepage = "https://gitlab.inria.fr/creinke/exputils"; homepage = "https://gitlab.inria.fr/creinke/exputils";
license = licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
maintainers = with maintainers; [ GaetanLepage ]; changelog = "https://github.com/ChrisReinke/exputils/releases/tag/v${version}";
maintainers = with lib.maintainers; [ GaetanLepage ];
}; };
} }