From b88ea493fc9387d64db96b0678f123361e752dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 29 Jul 2024 12:26:21 -0700 Subject: [PATCH] python312Packages.ax-platform: 0.4.0 -> 0.4.1 Diff: https://github.com/facebook/ax/compare/refs/tags/0.4.0...0.4.1 Changelog: https://github.com/facebook/Ax/releases/tag/0.4.1 --- .../python-modules/ax-platform/default.nix | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/ax-platform/default.nix b/pkgs/development/python-modules/ax-platform/default.nix index 079dcdaf3ebf..f0d274ef85ae 100644 --- a/pkgs/development/python-modules/ax-platform/default.nix +++ b/pkgs/development/python-modules/ax-platform/default.nix @@ -2,17 +2,14 @@ lib, buildPythonPackage, fetchFromGitHub, - ax-platform, botorch, ipywidgets, jinja2, pandas, plotly, - python, setuptools, setuptools-scm, typeguard, - wheel, hypothesis, mercurial, pyfakefs, @@ -23,23 +20,22 @@ buildPythonPackage rec { pname = "ax-platform"; - version = "0.4.0"; - format = "pyproject"; + version = "0.4.1"; + pyproject = true; src = fetchFromGitHub { owner = "facebook"; repo = "ax"; rev = "refs/tags/${version}"; - hash = "sha256-dj6Gig8N4oLtcZLwPl4QDHG/FwA2nFBtYxSARnWiJJU="; + hash = "sha256-ygMMMKY5XsoQGp9yUMFAQqkSUlXNBJCb8xgGE10db4U="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm - wheel ]; - propagatedBuildInputs = [ + dependencies = [ botorch ipywidgets jinja2 @@ -51,7 +47,7 @@ buildPythonPackage rec { env.ALLOW_BOTORCH_LATEST = "1"; - checkInputs = [ + nativeCheckInputs = [ hypothesis mercurial pyfakefs @@ -83,12 +79,8 @@ buildPythonPackage rec { ]; pythonImportsCheck = [ "ax" ]; - # Many portions of the test suite fail under Python 3.12 - doCheck = lib.versions.majorMinor python.version != "3.12"; - - passthru.tests.check = ax-platform.overridePythonAttrs { doCheck = true; }; - meta = with lib; { + 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;