mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
python312Packages.botorch: disable failing test on aarch64-darwin (#352613)
This commit is contained in:
commit
157d7e23a9
@ -62,6 +62,7 @@ buildPythonPackage rec {
|
||||
"--ignore=ax/core/tests/test_utils.py"
|
||||
"--ignore=ax/early_stopping/tests/test_strategies.py"
|
||||
# broken with sqlalchemy 2
|
||||
"--ignore=ax/core/tests/test_experiment.py"
|
||||
"--ignore=ax/service/tests/test_ax_client.py"
|
||||
"--ignore=ax/service/tests/test_scheduler.py"
|
||||
"--ignore=ax/service/tests/test_with_db_settings_base.py"
|
||||
@ -79,11 +80,11 @@ buildPythonPackage rec {
|
||||
];
|
||||
pythonImportsCheck = [ "ax" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/facebook/Ax/releases/tag/${version}";
|
||||
description = "Ax is an accessible, general-purpose platform for understanding, managing, deploying, and automating adaptive experiments";
|
||||
homepage = "https://ax.dev/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
|
@ -58,6 +58,11 @@ buildPythonPackage rec {
|
||||
++ lib.optionals (stdenv.buildPlatform.system == "x86_64-linux") [
|
||||
# stuck tests on hydra
|
||||
"test_moo_predictive_entropy_search"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.isAarch64) [
|
||||
# Numerical error slightly above threshold
|
||||
# AssertionError: Tensor-likes are not close!
|
||||
"test_model_list_gpytorch_model"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "botorch" ];
|
||||
@ -65,11 +70,11 @@ buildPythonPackage rec {
|
||||
# needs lots of undisturbed CPU time or prone to getting stuck
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/pytorch/botorch/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Bayesian Optimization in PyTorch";
|
||||
homepage = "https://botorch.org";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user