-
Notifications
You must be signed in to change notification settings - Fork 27
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
Conda build #56
Conda build #56
Conversation
@roopchansinghv can I get you to have a look at this. If you look at the |
I did not have 'nose' installed by default in my Gadgetron conda environment, but once I did, I got:
Lots of warnings - but it looked like things passed. I'll take a swing at starting with a completely bare environment for this, and see what that gets me. |
@roopchansinghv could you try on my branch to disable the check for |
So when I ran
and a bunch of python traceback errors around it. So it seems the machinery here is not actually installing the conda package on macOS. Am I understanding that correctly, or am I missing something basic? |
@roopchansinghv that is the error that I get too on the build agent. I don't know if this means that the package itself is no good or if it is "just" the build machinery. I was hoping you could maybe help me debug. Could you:
If it works we can maybe conclude that it is the conda build stuff on mac that has some issue and we can leave the Linux check in there if it also fails through the manual process we might need to dig in more. Either way, your help would really be appreciated here. |
Apologies this is taking me a while to debug. I am on site this week, so besides actually dealing with matters on the ground here, there are some shenanigans between NIH and outside sites' certificates that I need to work around ... From what I've been able to tell this morning, I don't think the conda package is even successfully built, as I am unable find it anywhere, either in the ismrmrd-python git repo folder or sub-folders, or in the build cache for my conda environment. |
So a bit more headway ... During the conda build process, a However, if I grab a copy of Turns out, the .egg file in the .bz2 conda package is just copied into Seems there are a couple of things to deconstruct here, but I'll try to figure out what's happening on macOS here. |
@roopchansinghv thanks so much for diffing in. What is your take here, should we a) wait for you to dig a bit more, b) merge as is with later follow-up fix for mac os, or c) disable macos for now to start shipping a package and then get macos package later? |
I would recommend omitting In everything I've been able to review so far, the issue is either the conda package build itself, or installing the built package. But when I work through these manually, and run the tests on my Mac, they pass and run fine. Therefore, I would commit changes right now that would "just" need the When the conda build and test chain fails, the created (and broken) packages go into ${CONDA_PREFIX}/conda-bld/broken - FYI |
This PR adds a conda build pipeline, which will publish (on CI) to the ismrmrd anaconda channel.
It turns out that none of the tests (in
tests/
) were ever run and a few of them were broken (related to metadata in ismrmrd images, which has to be XML). In order to get some testing done for the conda package, the tests have been fixed and they are run (withnosetests
) in the test stage of conda build.The Azure DevOps pipeline was also removed, since it is not used.