python312Packages.bayesian-optimization: 1.5.1 -> 2.0.0 (#350515)

This commit is contained in:
Sandro 2024-10-23 13:52:34 +02:00 committed by GitHub
commit 962f7b27ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,38 +1,41 @@
{ {
stdenv,
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
# build-system
poetry-core, poetry-core,
# dependencies
scikit-learn, scikit-learn,
numpy, numpy,
scipy, scipy,
colorama, colorama,
# tests
jupyter, jupyter,
matplotlib, matplotlib,
nbconvert, nbconvert,
nbformat, nbformat,
pytestCheckHook, pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bayesian-optimization"; pname = "bayesian-optimization";
version = "1.5.1"; version = "2.0.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bayesian-optimization"; owner = "bayesian-optimization";
repo = "BayesianOptimization"; repo = "BayesianOptimization";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-pDgvdQhlJ5aMRGdi2qXRXVCdJRvrOP/Nr0SSZyHH1WM="; hash = "sha256-XAO+UeHsOFAmUXqzMY/Iws1E738ZnU4Wz7E4YNIeGKY=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];
propagatedBuildInputs = [ dependencies = [
scikit-learn scikit-learn
numpy numpy
scipy scipy
@ -49,14 +52,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "bayes_opt" ]; pythonImportsCheck = [ "bayes_opt" ];
meta = with lib; { __darwinAllowLocalNetworking = true;
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
description = '' meta = {
A Python implementation of global optimization with gaussian processes description = "Python implementation of global optimization with gaussian processes";
'';
homepage = "https://github.com/bayesian-optimization/BayesianOptimization"; homepage = "https://github.com/bayesian-optimization/BayesianOptimization";
changelog = "https://github.com/bayesian-optimization/BayesianOptimization/releases/tag/v${version}"; changelog = "https://github.com/bayesian-optimization/BayesianOptimization/releases/tag/v${version}";
license = licenses.mit; license = lib.licenses.mit;
maintainers = [ maintainers.juliendehos ]; maintainers = [ lib.maintainers.juliendehos ];
}; };
} }