python312Packages.flowmc: 0.3.4 -> 0.4.0 (#390519)

This commit is contained in:
Nick Cao 2025-03-16 19:23:02 -04:00 committed by GitHub
commit 169031f832
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,48 +1,59 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
setuptools,
hatchling,
# dependencies
corner,
chex,
coveralls,
equinox,
evosax,
jax,
jaxlib,
jaxtyping,
optax,
scikit-learn,
tqdm,
# checks
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "flowmc";
version = "0.3.4";
version = "0.4.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "kazewong";
repo = "flowMC";
tag = "flowMC-${version}";
hash = "sha256-unvbNs0AOzW4OI+9y6KxoBC5yEjEz+q0PZblQLXCC/Y=";
hash = "sha256-ambi2BMFjWAggeJ3PdlRpdKVmZeePe5LbvuKzCgNV/k=";
};
build-system = [ setuptools ];
build-system = [ hatchling ];
pythonRelaxDeps = [
"jax"
];
pythonRemoveDeps = [
# Not actual runtime dependencies
"pre-commit"
"pyright"
"pytest"
"ruff"
];
dependencies = [
corner
chex
coveralls
equinox
evosax
jax
jaxlib
jaxtyping
optax
scikit-learn
tqdm
];