python3Packages.obspec: skip pytest-mypy-plugins test under sandbox (#523365)

This commit is contained in:
Sandro
2026-05-24 17:06:34 +00:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
python,
pytestCheckHook,
# build system
@@ -44,6 +45,11 @@ buildPythonPackage (finalAttrs: {
pytest-mypy-plugins
];
# expose the installed package so pytest-mypy-plugins' mypy subprocess can resolve `import obspec`
preCheck = ''
export MYPYPATH=$out/${python.sitePackages}
'';
meta = {
description = "Object storage interface definitions for Python";
homepage = "http://developmentseed.org/obspec/";