Commit 41315b2d authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.ax-platform: rename from ax

https://pypi.org/project/ax/ is a different package
parent fb89aa57
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  ax,
  ax-platform,
  botorch,
  ipywidgets,
  jinja2,
@@ -22,13 +22,13 @@
}:

buildPythonPackage rec {
  pname = "ax";
  pname = "ax-platform";
  version = "0.4.0";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "facebook";
    repo = pname;
    repo = "ax";
    rev = "refs/tags/${version}";
    hash = "sha256-dj6Gig8N4oLtcZLwPl4QDHG/FwA2nFBtYxSARnWiJJU=";
  };
@@ -86,7 +86,7 @@ buildPythonPackage rec {
  # Many portions of the test suite fail under Python 3.12
  doCheck = lib.versions.majorMinor python.version != "3.12";

  passthru.tests.check = ax.overridePythonAttrs { doCheck = true; };
  passthru.tests.check = ax-platform.overridePythonAttrs { doCheck = true; };

  meta = with lib; {
    description = "Ax is an accessible, general-purpose platform for understanding, managing, deploying, and automating adaptive experiments";
+1 −1
Original line number Diff line number Diff line
@@ -1088,7 +1088,7 @@ self: super: with self; {
  awswrangler = callPackage ../development/python-modules/awswrangler { };
  ax = callPackage ../development/python-modules/ax { };
  ax-platform = callPackage ../development/python-modules/ax-platform { };
  axis = callPackage ../development/python-modules/axis { };