-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add dipy recipe. #308
Add dipy recipe. #308
Conversation
Hi! This is the friendly conda-forge-admin automated user. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Replaces #307 |
requirements: | ||
build: | ||
- python | ||
- numpy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect that, since this requires numpy and cython, it uses the numpy ABI. If That is true you need to use: numpy x.x
in the build
and run
fields.
This one depends on #284 |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Should we worry about this? https://travis-ci.org/conda-forge/staged-recipes/jobs/129156365#L4862 |
We intentionally downgrade |
I'm letting this run, but I should probably reduce testing here. |
Does anyone have any thoughts on why we are getting this conflict? |
requirements: | ||
build: | ||
- python | ||
- numpy >=1.7.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't really need this. We build only numpy 1.9
and above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I check setup.py
and I believe you need numpy x.x
to ensure the numpy used in the build will be installed at run time.
Like so? |
- numpy x.x | ||
- scipy | ||
- nibabel | ||
- cython |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need cython
as a run dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Probably not.
On Thu, May 12, 2016 at 7:14 AM, Filipe notifications@github.com wrote:
In recipes/dipy/meta.yaml
#308 (comment)
:+build:
- number: 0
- script: python setup.py install
+requirements:
- build:
- python
- numpy x.x
- nibabel
- cython
- run:
- python
- numpy x.x
- scipy
- nibabel
- cython
Do you need cython as a run dependency?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/conda-forge/staged-recipes/pull/308/files/11806b214f840b1bb21af55204299c8d7a715980#r63027341
IIRC dipy also compiles using OpenMP if available. To enable it (at least for osx and linux),you can add |
@grlee77 I prefer the more honest |
Also, I am not an export on the windows builds, but I think that will require something like:
to appear within the build section. (you can see an example in #453) |
The CircleCI build failures are because the VTK package for conda-forge hasn't yet been merged and the default channel only has a Python 2.7 one. So Python 3.4 and 3.5 won't build until #453 is completed. |
Alternatively, if you really want this merged asap, you could remove VTK from the runtime dependencies (I believe it is optional). It could be added back in the feedstocks after vtk is merged. |
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/dipy:
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Is there a way to say something like "add VTK to run, but only on Python 3"? Might this be the way to achieve that?
|
@arokem it can be |
Sorry - got myself confused there. Need VTK, but only on python 2. Maybe this will do it. |
@@ -32,6 +32,7 @@ requirements: | |||
- scikit-learn | |||
- matplotlib | |||
- libgcc # [not win] | |||
- vtk # [py27] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
The Travis CI is a time-out, but what is odd is that if you grep for What I don't understand is why it then tries to build glueviz? see the |
I think Travis should pass now if restarted. |
There seems to be an issue generating feedstocks ( #619 ). As a result, there are a bunch recipes still included in staged-recipes that need to be converted. Once that is resolved, we would be more than happy to restart and expect this will pass. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
OK. For now, I have rebased this on master, which included these other recipes in, and I will rebase again once that's resolved. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Rebased again. I believe this should be ready to go now? |
LGTM |
extra: | ||
recipe-maintainers: | ||
- arokem | ||
- garyfallidis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure you guys have already discussed this, but please let us know whether it is ok to have you as a maintainer on the dipy
recipe at conda-forge, @Garyfallidis.
All good here. But please replace nipy.org/dipy to dipy.org if possible. |
@arokem, @Garyfallidis Since this has already been merged the procedure to change the recipe now is to fork the feedstock from https://github.com/conda-forge/dipy-feedstock, create a branch with the desired change and then submit a PR there. (If you are just changing the website link, I think you can skip Travis and Appveyor by adding |
No description provided.