Open alanmazankiewicz opened 1 year ago
Hey guys, have the same problem. If we install it directly on the cluster we have another error due to arguments wrong that are applied to python and not pytest. I don't understand how this should work since python doesn't accept "cov" argument for example.
EDIT: the error
EDIT: I made it work:
PACKAGE_REQUIREMENTS = ["pyyaml", "pytest", "pytest-cov"]
Of course we don't want pytest and pytest-cov to be installed with the package in a production environment. But for now it will do.
Even if "--requirement-file" option is deprecated I would use that with a specific requirements for each usage right now if I wanted it perfect.
Expected Behavior
Integration test should run successfully
Current Behavior
Integration test fails with:
In setup.py pytest is part of the test requirements which get not added as a dependency on
dbx deploy
/dbx execute
. Pytest is also not part of DBR as suggested by the comment in setup.pySteps to Reproduce (for bugs)
dbx init my-proj
dbx execute my-proj-sample-tests --cluster-name="<CLUSTER_NAME>"
Related
dbx version used
0.8.9