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

This commit is contained in:
Gaétan Lepage
2025-05-15 22:20:49 +02:00
committed by GitHub
@@ -1,7 +1,7 @@
{
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 ];
};
}