python3Packages.botorch: 0.15.1 -> 0.16.0 (#457864)

This commit is contained in:
kirillrdy
2025-11-02 22:30:38 +00:00
committed by GitHub
3 changed files with 31 additions and 13 deletions
@@ -86,6 +86,9 @@ buildPythonPackage rec {
"SQAStoreUtilsTest"
"SQAStoreTest"
# ValueError: Expected dim to be an integer greater than or equal to 2. Found dim=1.
"test_get_model"
# ValueError: `db_settings` argument should be of type ax.storage.sqa_store
"test_get_next_trials_with_db"
@@ -15,7 +15,9 @@
pyre-extensions,
pyro-ppl,
scipy,
threadpoolctl,
torch,
typing-extensions,
# optional-dependencies
pymoo,
@@ -27,14 +29,14 @@
buildPythonPackage rec {
pname = "botorch";
version = "0.15.1";
version = "0.16.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pytorch";
owner = "meta-pytorch";
repo = "botorch";
tag = "v${version}";
hash = "sha256-6hAsKIlwycZtLZn1vkcu4fR85uACA4FSkT5e/wos17A=";
hash = "sha256-XpcmWJcKaIxrM79MgjG7IF/DphTH402iltlh8ISeZ64=";
};
build-system = [
@@ -49,7 +51,9 @@ buildPythonPackage rec {
pyre-extensions
pyro-ppl
scipy
threadpoolctl
torch
typing-extensions
];
optional-dependencies = {
@@ -62,6 +66,11 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTestPaths = [
# Requires unpackaged pfns
"test_community/models/test_prior_fitted_network.py"
];
disabledTests = [
"test_all_cases_covered"
@@ -93,7 +102,7 @@ buildPythonPackage rec {
requiredSystemFeatures = [ "big-parallel" ];
meta = {
changelog = "https://github.com/pytorch/botorch/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/meta-pytorch/botorch/blob/${src.tag}/CHANGELOG.md";
description = "Bayesian Optimization in PyTorch";
homepage = "https://botorch.org";
license = lib.licenses.mit;
@@ -2,27 +2,33 @@
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
# dependencies
jaxtyping,
linear-operator,
mpmath,
scikit-learn,
scipy,
setuptools,
setuptools-scm,
torch,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "gpytorch";
version = "1.14";
version = "1.14.2";
pyproject = true;
src = fetchFromGitHub {
owner = "cornellius-gp";
repo = "gpytorch";
tag = "v${version}";
hash = "sha256-whZjqAs3nyjKMzAGi+OnyBtboq0UuV8m11A4IzkWtec=";
hash = "sha256-yDIGiA7q4e6T7SdnO+ALcc3ezmJK964T5Nn48+NGJV8=";
};
build-system = [
@@ -30,8 +36,6 @@ buildPythonPackage rec {
setuptools-scm
];
pythonRelaxDeps = [ "jaxtyping" ];
dependencies = [
jaxtyping
linear-operator
@@ -56,10 +60,12 @@ buildPythonPackage rec {
"test_t_matmul_matrix"
];
meta = with lib; {
meta = {
description = "Highly efficient and modular implementation of Gaussian Processes, with GPU acceleration";
homepage = "https://gpytorch.ai";
license = licenses.mit;
maintainers = with maintainers; [ veprbl ];
downloadPage = "https://github.com/cornellius-gp/gpytorch";
changelog = "https://github.com/cornellius-gp/gpytorch/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ veprbl ];
};
}