conda-forge / cylc-flow-feedstock

A conda-smithy repository for cylc-flow.
BSD 3-Clause "New" or "Revised" License
3 stars 11 forks source link

add pip check to the tests #55

Open oliver-sanders opened 1 year ago

oliver-sanders commented 1 year ago

Comment:

For the next release add pip check into the tests. This should catch metadata issues with the environment being tested.

diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index e672140..81827a2 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -32,6 +32,7 @@ test:
     - cylc version --long
     - cylc get-resources job.sh  # check packaging of non-python files
     - cylc validate ./tests/simple-datetime
+    - pip check  # verify installed packages have compatible dependencies.

 outputs:
   # base package with only required dependencies
oliver-sanders commented 1 year ago

Had to remove this from 8.1.3 release as it was failing due to the pip command not being found?

Confusing as we specify pip as a dependency.