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 python
setuptools setuptools
wheel wheel
pytest
pytest-asyncio
]; ];
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [
pyyaml pyyaml
pydantic pydantic
]; ];
doCheck = true; doCheck = true;
checkInputs = with pythonPackages; [
pytest
pytest-asyncio
];
checkPhase = '' checkPhase = ''
pytest tests/ -x --tb=short -q python -m pytest tests/ -x --tb=short -q
''; '';
pyproject = true; pyproject = true;
pyprojectFiles = [ "pyproject.toml" ]; pyprojectFiles = [ "pyproject.toml" ];