Closed galjos closed 2 months ago
Did you try pip install .[test]
?
The test dependencies are only optional dependencies. In the next release to main this will be included in the developer guide in the documentation.
On Thu, 25 Apr 2024, 15:09 Josef M. Gallmetzer, @.***> wrote:
Assigned #21 https://github.com/MolarVerse/PQAnalysis/issues/21 to @97gamjak https://github.com/97gamjak.
— Reply to this email directly, view it on GitHub https://github.com/MolarVerse/PQAnalysis/issues/21#event-12608264751, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNGWAUH6QCFJN26XAVYWELY7D6AFAVCNFSM6AAAAABGY3QFG2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGYYDQMRWGQ3TKMI . You are receiving this because you were assigned.Message ID: @.***>
pip install '.[test]'
did work, but still same issue
Ok, I'll check it out.
On Thu, 25 Apr 2024, 16:41 Josef M. Gallmetzer, @.***> wrote:
pip install '.[test]' did work, but still same issue
— Reply to this email directly, view it on GitHub https://github.com/MolarVerse/PQAnalysis/issues/21#issuecomment-2077381644, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNGWARLHE4ATAJTMCUIJBLY7EIZZAVCNFSM6AAAAABGY3QFG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXGM4DCNRUGQ . You are receiving this because you were mentioned.Message ID: @.***>
@galjos I reproduced now exactly each step as given in the description and it works on my side.
Could you try to write python -m pytest
instead
Works
Describe the bug pytest does not start in dev, since it could not recognize arguments.
To Reproduce Steps to reproduce the behavior:
python -m venv venv
source venv/bin/activate
pip install .
pytest
(Maybe add as depedency, for easy use)Expected behavior Should result in test execution.