fix: move pytest to nativeBuildInputs so it's available in checkPhase

This commit is contained in:
Celes Renata
2026-08-02 04:07:30 -07:00
parent 57619860d5
commit 5c69676bcf
+3 -5
View File
@@ -21,18 +21,16 @@
python
setuptools
wheel
pytest
pytest-asyncio
];
propagatedBuildInputs = with pythonPackages; [
pyyaml
pydantic
];
doCheck = true;
checkInputs = with pythonPackages; [
pytest
pytest-asyncio
];
checkPhase = ''
pytest tests/ -x --tb=short -q
python -m pytest tests/ -x --tb=short -q
'';
pyproject = true;
pyprojectFiles = [ "pyproject.toml" ];