Unverified Commit 39ffb04f authored by Connor Baker's avatar Connor Baker Committed by GitHub
Browse files

Merge pull request #315295 from NixOS/backport-314710-to-release-24.05

[Backport release-24.05] python312Packages.ax: disable tests
parents 682b72ac a6d2eba0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2,11 +2,13 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  ax,
  botorch,
  ipywidgets,
  jinja2,
  pandas,
  plotly,
  python,
  setuptools,
  setuptools-scm,
  typeguard,
@@ -79,6 +81,11 @@ 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.overridePythonAttrs { doCheck = true; };

  meta = with lib; {
    description = "Ax is an accessible, general-purpose platform for understanding, managing, deploying, and automating adaptive experiments";
    homepage = "https://ax.dev/";