python3Packages.nutpie: 0.15.2 -> 0.16.6
Diff: https://github.com/pymc-devs/nutpie/compare/v0.15.2...v0.16.6 Changelog: https://github.com/pymc-devs/nutpie/blob/v0.16.6/CHANGELOG.md
This commit is contained in:
@@ -10,10 +10,13 @@
|
||||
rustc,
|
||||
|
||||
# dependencies
|
||||
arro3-core,
|
||||
arviz,
|
||||
obstore,
|
||||
pandas,
|
||||
pyarrow,
|
||||
xarray,
|
||||
zarr,
|
||||
|
||||
# tests
|
||||
# bridgestan, (not packaged)
|
||||
@@ -29,21 +32,21 @@
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "nutpie";
|
||||
version = "0.15.2";
|
||||
version = "0.16.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymc-devs";
|
||||
repo = "nutpie";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-9rcQtEdaafMyuNb/ezcqUmrwXbQFa9hdajGAtANdHOw=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-pZlUS8Rd8uNAau7q3yogtdRUvDkN8MiTWj+3lZolBSY=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-6JWBJYGhSNUL8KYiEE2ZBW9xP4CmkCcwwhsO6aOvZyA=";
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-F9WuFPyJd7IVaboUHnFpf3GiLB5AWap8RBScuqlZB3s=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -54,15 +57,14 @@ buildPythonPackage rec {
|
||||
rustc
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"xarray"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
arro3-core
|
||||
arviz
|
||||
obstore
|
||||
pandas
|
||||
pyarrow
|
||||
xarray
|
||||
zarr
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "nutpie" ];
|
||||
@@ -81,10 +83,6 @@ buildPythonPackage rec {
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pytestFlags = [
|
||||
"-v"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
|
||||
# flaky (assert np.float64(0.0017554642626285276) > 0.01)
|
||||
"test_normalizing_flow"
|
||||
@@ -98,8 +96,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python wrapper for nuts-rs";
|
||||
homepage = "https://github.com/pymc-devs/nutpie";
|
||||
changelog = "https://github.com/pymc-devs/nutpie/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/pymc-devs/nutpie/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user