Merge pull request #260359 from bcdarwin/update-jaxopt
python310Packages.jaxopt: 0.5.5 -> 0.8.1
This commit is contained in:
commit
b11ced7a9c
4 changed files with 28 additions and 25 deletions
|
@ -17,16 +17,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bambi";
|
pname = "bambi";
|
||||||
version = "0.10.0";
|
version = "0.12.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bambinos";
|
owner = "bambinos";
|
||||||
repo = pname;
|
repo = "bambi";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-D04eTAlckEqgKA+59BRljlyneHYoqqZvLYmt/gBLHcU=";
|
hash = "sha256-36D8u813v2vWQdNqBWfM8YVnAJuLGvn5vqdHs94odmU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -55,16 +55,18 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Tests require network access
|
# Tests require network access
|
||||||
|
"test_alias_equal_to_name"
|
||||||
"test_custom_prior"
|
"test_custom_prior"
|
||||||
"test_data_is_copied"
|
"test_data_is_copied"
|
||||||
"test_distributional_model"
|
"test_distributional_model"
|
||||||
|
"test_extra_namespace"
|
||||||
"test_gamma_with_splines"
|
"test_gamma_with_splines"
|
||||||
"test_non_distributional_model_with_categories"
|
|
||||||
"test_non_distributional_model"
|
"test_non_distributional_model"
|
||||||
"test_normal_with_splines"
|
"test_normal_with_splines"
|
||||||
"test_predict_offset"
|
"test_predict_offset"
|
||||||
# Assertion issue
|
"test_predict_new_groups"
|
||||||
"test_custom_likelihood_function"
|
"test_predict_new_groups_fail"
|
||||||
|
"test_set_alias_warnings"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -74,6 +76,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://bambinos.github.io/bambi";
|
homepage = "https://bambinos.github.io/bambi";
|
||||||
description = "High-level Bayesian model-building interface";
|
description = "High-level Bayesian model-building interface";
|
||||||
|
changelog = "https://github.com/bambinos/bambi/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, setuptools-scm
|
||||||
, fastprogress
|
, fastprogress
|
||||||
, jax
|
, jax
|
||||||
, jaxlib
|
, jaxlib
|
||||||
|
@ -14,24 +14,21 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "blackjax";
|
pname = "blackjax";
|
||||||
version = "0.9.6";
|
version = "1.0.0";
|
||||||
disabled = pythonOlder "3.7";
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "blackjax-devs";
|
owner = "blackjax-devs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-EieDu9SJxi2cp1bHlxX4vvFZeDGMGIm24GoR8nSyjvE=";
|
hash = "sha256-hqOKSHyZ/BmOu6MJLeecD3H1BbLbZqywmlBzn3xjQRk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
# remove in next release
|
|
||||||
(fetchpatch {
|
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
name = "fix-lbfgs-args";
|
|
||||||
url = "https://github.com/blackjax-devs/blackjax/commit/1aaa6f64bbcb0557b658604b2daba826e260cbc6.patch";
|
|
||||||
hash = "sha256-XyjorXPH5Ap35Tv1/lTeTWamjplJF29SsvOq59ypftE=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
fastprogress
|
fastprogress
|
||||||
|
@ -56,6 +53,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://blackjax-devs.github.io/blackjax";
|
homepage = "https://blackjax-devs.github.io/blackjax";
|
||||||
description = "Sampling library designed for ease of use, speed and modularity";
|
description = "Sampling library designed for ease of use, speed and modularity";
|
||||||
|
changelog = "https://github.com/blackjax-devs/blackjax/releases/tag/${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "chex";
|
pname = "chex";
|
||||||
version = "0.1.82";
|
version = "0.1.83";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||||
owner = "deepmind";
|
owner = "deepmind";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-xBq22AaR2Tp1NSPefEyvCDeUYqRZlAf5LVHWo0luiXk=";
|
hash = "sha256-iEachJf5NjOnkMWdP0aVQHWNPgUUBkMnzHKq3GP7t4w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -49,6 +49,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Chex is a library of utilities for helping to write reliable JAX code.";
|
description = "Chex is a library of utilities for helping to write reliable JAX code.";
|
||||||
homepage = "https://github.com/deepmind/chex";
|
homepage = "https://github.com/deepmind/chex";
|
||||||
|
changelog = "https://github.com/google-deepmind/chex/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ndl ];
|
maintainers = with maintainers; [ ndl ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,16 +16,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jaxopt";
|
pname = "jaxopt";
|
||||||
version = "0.5.5";
|
version = "0.8.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${pname}-v${version}";
|
rev = "refs/tags/${pname}-v${version}";
|
||||||
hash = "sha256-WOsr/Dvguu9/qX6+LMlAKM3EANtYPtDu8Uo2157+bs0=";
|
hash = "sha256-5+GfRFzXyc1Ukp86NeK0qstTq9fkx+eDb4iXvxzRoKs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -60,6 +60,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://jaxopt.github.io";
|
homepage = "https://jaxopt.github.io";
|
||||||
description = "Hardware accelerated, batchable and differentiable optimizers in JAX";
|
description = "Hardware accelerated, batchable and differentiable optimizers in JAX";
|
||||||
|
changelog = "https://github.com/google/jaxopt/releases/tag/jaxopt-v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue