-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Problem statement
Pytester is intended as a library used by other projects. Therefore, we prefer to keep the dependency version constrain broad so that the projects have more room to choose the versions they desire. Currently we test pytester for differen python versions, but we do not test pytester for different dependency version:
Solution
Use tox to test pytester against a matrix of dependency versions. (Tox is a commonly used tool for this.) For starters, let's test against a matrix of the Databricks Python SDK as that is experimental. The lsql is a good second one as that is probably less stable than pytest itself. Finally we can test against different pytest versions, though, I assume that library to be quite stable, especially for the entrypoints we use (fixture)
Lines 50 to 54 in 979d22d
| dependencies = [ | |
| "databricks-sdk>=0.40,<0.42", | |
| "databricks-labs-lsql>=0.10", | |
| "pytest>=8.3", | |
| ] |