Skip to content

Commit 43a0e34

Browse files
committed
python3Packages.ploomber-extension: disable tests that fail on Darwin when sandboxed
1 parent 851c8b9 commit 43a0e34

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

  • pkgs/development/python-modules/ploomber-extension

pkgs/development/python-modules/ploomber-extension/default.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
3+
stdenv,
34
buildPythonPackage,
4-
pythonOlder,
55
fetchPypi,
66
hatchling,
77
hatch-jupyter-builder,
@@ -15,9 +15,7 @@
1515
buildPythonPackage rec {
1616
pname = "ploomber-extension";
1717
version = "0.1.1";
18-
1918
pyproject = true;
20-
disabled = pythonOlder "3.6";
2119

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

41+
# Tests fail on Darwin when sandboxed
42+
doCheck = !stdenv.buildPlatform.isDarwin;
43+
4344
pythonImportsCheck = [ "ploomber_extension" ];
4445

45-
meta = with lib; {
46+
meta = {
4647
description = "Ploomber extension";
4748
homepage = "https://pypi.org/project/ploomber-extension";
48-
license = licenses.bsd3;
49-
maintainers = with maintainers; [ euxane ];
49+
license = lib.licenses.bsd3;
50+
maintainers = [ lib.maintainers.euxane ];
5051
};
5152
}

0 commit comments

Comments
 (0)