@dbeltran, with PostgreSQL support, we will bring more dependencies to the project. However, for sites where PostgreSQL is not used, it would not make sense to have both sqlite and postgres. Likewise, for those using PostgreSQL, installing sqlite shouldn't be a requirement.
This MR introduces the extras/groups options to our setup.py
file.
The test dependencies are also being made optional. This way, the ClimateDT VM, Fugaku, Leonardo, LUMI, etc, won't have pytest
or mock
installed, as those are not runtime requirements.
And as part of #961, this MR is replacing the command used to run the tests on the workers. This way, we can add pytest tests to the PostgreSQL MR, and pytest will run both unittest & pytest tests, and we can slowly migrate our tests, superseding !391 .
This is part of the work @ltenorio started on his MR, but I think we can merge it before that one.