Unverified Commit 7e594435 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.ploomber-extension: disable tests that fail on Darwin (#407133)

parents 1bbc7ff0 43a0e341
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  pythonOlder,
  fetchPypi,
  hatchling,
  hatch-jupyter-builder,
@@ -15,9 +15,7 @@
buildPythonPackage rec {
  pname = "ploomber-extension";
  version = "0.1.1";

  pyproject = true;
  disabled = pythonOlder "3.6";

  # using pypi archive which includes pre-built assets
  src = fetchPypi {
@@ -40,12 +38,15 @@ buildPythonPackage rec {
    pytest-jupyter
  ];

  # Tests fail on Darwin when sandboxed
  doCheck = !stdenv.buildPlatform.isDarwin;

  pythonImportsCheck = [ "ploomber_extension" ];

  meta = with lib; {
  meta = {
    description = "Ploomber extension";
    homepage = "https://pypi.org/project/ploomber-extension";
    license = licenses.bsd3;
    maintainers = with maintainers; [ euxane ];
    license = lib.licenses.bsd3;
    maintainers = [ lib.maintainers.euxane ];
  };
}