-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove obsolete version restriction for SciPy #835
Conversation
This built ok, but it seems we're not running any CIL tests on the docker images, see https://github.com/SyneRBI/SIRF-SuperBuild/actions/runs/5867753842/job/15909452350?pr=835#step:6:25667 |
This is due to #836. @paskino @casperdcl @gfardell is there a way to test a conda install of CIL? |
The CIL conda recipe does include a |
Well, arguably if you put full But certainly, cross-CIL-SIRF tests are the most important. I'm not sure where they are now. Might need @paskino. |
We build and test all the binaries we push, this broadly tests numpy and python versions combinations. But we don't have version caps on our dependencies, so when they are updated, conda starts resolving with the newer version and issues can appear due to backward incompatibilities. I think we've had this with SciPy and matplotlib in the past. To run the tests you need the extra dependencies in the conda |
@gfardell or anyone else, could you write a small script for CIL testing of an existing installation (i.e. clone, install dependencies, run tests, clean-up). Adding a call to that in the |
alternatively... CIL could test SIRF? https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#downstream-tests |
Integration tests with SIRF and CIL are in the CIL test suite https://github.com/TomographicImaging/CIL/blob/master/Wrappers/Python/test/test_SIRF.py They are not run in CIL CI as we don't have SIRF. They should be run when SIRF-SuperBuild/SuperBuild/External_CIL.cmake Lines 98 to 100 in 50f8a96
|
@casperdcl can we easily extract the |
Isn't it preferrable to |
I just had a look at the Docker files. I don't think that CIL is installed at all on our docker images, see It is installed on the jupyterhub image via conda. |
It is now installed via
I think we have a problem with dependencies as we mix conda and hand-build stuff. If we do It's of course a mess, which #821 probably made larger. The best way around it is to do everything via
|
yez :) pip install yq
sed s/{{.*}}/./g CIL/recipe/meta.yaml | yq -r .test.requires[] |
temporarily addresses #834