Skip to content
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 PySurfer #2201

Merged
merged 16 commits into from
Feb 6, 2017
Merged

Add PySurfer #2201

merged 16 commits into from
Feb 6, 2017

Conversation

christianbrodbeck
Copy link
Member

No description provided.

@conda-forge-linter
Copy link

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 (recipes/pysurfer) and found it was in an excellent condition.

@conda-forge-linter
Copy link

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 (recipes/pysurfer) and found some lint.

Here's what I've got...

For recipes/pysurfer:

  • The recipe must have some tests.

@conda-forge-linter
Copy link

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 (recipes/pysurfer) and found it was in an excellent condition.

@christianbrodbeck christianbrodbeck force-pushed the surfer branch 3 times, most recently from 238c09a to 0d69b3f Compare January 17, 2017 18:48
@christianbrodbeck
Copy link
Member Author

I've excluded Linux because it looks like vtk is broken (see https://circleci.com/gh/conda-forge/staged-recipes/12483?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link where import vtk failed)

# To update, change version number and sha256 -- you can get it for a file with:
# `openssl sha256 <file name>`.
# You may need the openssl package, available on conda-forge
# `conda install openssl -c conda-forge``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please drop this comment.


build:
number: 0
skip: True # [py>=30 or linux]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

py>=30 is just py3k for simplicity.

- mayavi
- nibabel
- numpy
- scipy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all of these need at build time? Normally just python and maybe setuptools are needed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for these dependencies is that PySurfer checks dependencies in setup.py, raising an error if they are not installed (rather than specifying them as deopendencies, because it is assumed that they are easier to install from a source other than PYPI) see https://github.com/nipy/PySurfer/blob/master/setup.py#L38

about:
home: http://pysurfer.github.com
license: BSD-3-clause
license_family: BSD
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a license file in the source that we can include here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The license file is in the repository, but it's not included in the source distribution. It could probably be added in future versions.

@dfroger
Copy link
Contributor

dfroger commented Jan 27, 2017

For linux broken build, I think py-surfer recipe need to add libXt-devel and mesa-libGLU-devel to its yum_requirements.txt, like the mayavi one

@christianbrodbeck
Copy link
Member Author

Thanks @dfroger, this fixed circleci! So it looks like vtkRenderingOpenGLPython is dynamically generated only when certain requirements are present?

I did not see yum_requirements.txt mentioned in the documentation, maybe a mention of yum_requirements.txt and suggestion to check the yum_requirements.txt of dependencies at https://conda-forge.github.io/#add_recipe or in the sample script would be helpful?

@christianbrodbeck
Copy link
Member Author

christianbrodbeck commented Jan 29, 2017

Getting a strange appveyor error in windows (which worked before): https://ci.appveyor.com/project/conda-forge/staged-recipes/build/1.0.10899/job/6o4arksrpa9t2yoj#L306 Is that something I can fix?

[edit: seems to be good now]

@christianbrodbeck christianbrodbeck changed the title WIP: PySurfer recipe Add PySurfer Jan 31, 2017
@christianbrodbeck
Copy link
Member Author

@conda-forge/core This is ready for review.


build:
number: 0
skip: True # [py3k]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is Python 2 only? All the dependencies are Python 3 compatible?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enabled py3k, thanks @patricksnape

@christianbrodbeck
Copy link
Member Author

@patricksnape now I get (https://circleci.com/gh/conda-forge/staged-recipes/13015?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link)

The following specifications were found to be in conflict:
  - numpy 1.9*
  - python 3.5*

@patricksnape
Copy link
Contributor

That seems like something needs to be rebuilt with the latest numpy

@christianbrodbeck
Copy link
Member Author

I don't know how to go about this @patricksnape, should I roll back to exclude py3k support so this can get started, and py3k support can be added later when the dependencies work?

@patricksnape
Copy link
Contributor

Sure that sounds fine, just make an issue on the new repo when it's up for Python 3 support

@christianbrodbeck
Copy link
Member Author

Ok, I reverted back to skipping py3k, so this is ready again.

@patricksnape patricksnape merged commit 112339c into conda-forge:master Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants