-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 tifffile #15
Add tifffile #15
Conversation
You see if it works :) AppVeyor is breaking a lot this week. |
Appveyor likes 2.7 fine, but not 3.4. |
This is the same issue that I am seeing. It is probably because py2k uses VC10. |
For pure python stuff, though, there is no reason for the compiler to come into it. This is pretty annoying. |
Tifffile has optional (but useful) C extensions, so unfortunately I have to solve the hard problem. |
Indeed, but that seems to be the new conda-build default. We need to adapt... Again... |
I believe the issue is that the new Miniconda3 installer creates a Python 3.5 root environment and there is not a Python 3.5 version of obvious-ci in the pelson/development channel, hence the conflict. Creating a Python 3.4 conda environment and installing obvious-ci there or uploading a Python 3.5 version of obvious-ci to the pelson/development channel would fix this. I think @pelson would need to do the latter. |
A third option is to use an older version of the Miniconda3 installer in the bootstrap script which still uses Python 3.4. I believe Miniconda3-3.16.0 installs a Python 3.4 root environment. |
I think that this is a growing pain. We should be able to support multiple versions of py3.x. |
Also, maybe the ObviousCI stuff should be moved into conda-forge so that we don't have to wait for @pelson for everything ;) |
👍 |
By mucking around with the appveyor.yml file I was able to get AppVeyor to build tifffile packages for all the selections in the matrix. I want to clean this up tomorrow and figure out the root cause of some of the issues. If anyone wants to take a look before then work in in the very messy add-tifffile-jh branch in jjhelmus/staged-recipes. |
Hmm, it does look like there a couple issues at once here. Thanks for digging into this. |
I've triggered a re-build to see if recent changes (including a obvious-ci-feedstock for conda-forge) have solved the problem. |
I think with work @pelson did in PR #16 and the addition of Python 3.5 Obvious-CI conda packages in the conda-forge channel, the changed I made in my branch are mostly un-needed. Would there be a benefit to using the pre-installed version of Miniconda, appveyor/ci#359, over installing it with the bootstrap script? It might speed up the build slightly. Also, I'm happy to move this discussion to its own issue, as this is starting to get off topic from the tifffile recipe. |
Definitely 👍 on that. Agree we should do it in a separate PR. |
Woops. @danielballan would you mind rebasing this PR? (The error was
|
I have to work on day-job items today, but tonight I'll put together a PR is no-one beats me to it. |
811145b
to
36c60d8
Compare
Rebased. |
Woo-hoo! What's the next step? Create a feedstock? And, to echo @scopatz's question from the mailing list, where do the packages go? |
Until the PR is merged I do not think the packages go anywhere. Once merged they get uploaded to the conda-forge organization on anaconda.org. For example see the OS-X xonsh upload from Travis-CI and the resulting file on anaconda.org |
OK, that makes sense. And will this recipe will eventually removed from this repo -- sometime after it is merged? |
But that is only for this specific repo. Other feedstocks have to be manually hooked up. |
I think the idea is that these recipes will just live here forever. |
Does tifffile have a numpy C ABI dependency? If so, we will need to follow the pattern layed down with shapely: https://github.com/conda-forge/staged-recipes/blob/master/recipes/shapely/meta.yaml#L21 and pin the numpy with As for the other questions:
Who knows! 😉 I certainly think that the original concept was for 1 recipe 1 repository (aka. a feedstock) but where we go from here depends ultimately on usability. @ocefpaf and I have now accrued a huge amount of experience managing these kinds of repositories and there is no doubt that it is a lot of work - if we can reduce that with individual feedstocks then I'm all for them.
Exactly.
For now. For instance, I had to do that this morning for the obvious-ci-feedstock, but I believe this is automatable (with very little effort).
As commented above, that depends on where we take the project. One option would be for all feedstocks to be created automatically from recipes in this repo. The truth is, we still don't have the conda-smithy framework anywhere near polished enough to have clear answers. Despite that, it took less that an hour to create a new feedstock this morning, and that time will be hugely reduced with refinement. |
Thanks for quick answers, everyone. I like where this project is headed. I made a feedstock.
Yes. I was not aware of the |
It passed here, but my feedstock is not faring as well:
The full log is here. Has anyone seen this one before? |
And CircleCI has a separate problem, due to numpy x.x inducing it to try Python 3.5 with numpy 1.8. I guess that would be an issue with conda itself.
|
It seems like |
See conda-forge/conda-smithy#31. My apologies if you went around the houses with that. |
I suspect we should be including setuptools as a build dependency, but I wont hold the PR up on that basis as it is coming from numpy anyway (presently). Once this is merged, keep an eye on https://anaconda.org/conda-forge/tifffile and watch the distributions come in (CircleCI is by far and away the quickest service, and the Linux distributions will be first, followed normally by the OSX and then a slow trickle of win32 and win64 ones). 👍 |
Seems I was too harsh on AppVeyor - one of the Windows builds came in at the same time as the first Linux one. 😉 |
@pelson Hahah, I will definitely borrow the expression "went around the houses." It should have been able to spot that issue myself. I'm onto the next error now...I'll open a new issue if I can't figure it out. |
# This is the 1st commit message: Add recipe for the trlib C++ library # The commit message #2 will be skipped: # Update meta.yaml # The commit message #3 will be skipped: # Update meta.yaml # The commit message conda-forge#4 will be skipped: # Update meta.yaml # The commit message conda-forge#5 will be skipped: # Create disable_valgrind.patch # The commit message conda-forge#6 will be skipped: # Update meta.yaml # The commit message conda-forge#7 will be skipped: # Remove dependency on C++ compiler # The commit message conda-forge#8 will be skipped: # Update 23.patch # The commit message conda-forge#9 will be skipped: # Update 23.patch # The commit message conda-forge#10 will be skipped: # Delete recipes/trlib/23.patch # The commit message conda-forge#11 will be skipped: # Create 23.patch # The commit message conda-forge#12 will be skipped: # Update build.sh # The commit message conda-forge#13 will be skipped: # Create win_fix.patch # The commit message conda-forge#14 will be skipped: # Update meta.yaml # The commit message conda-forge#15 will be skipped: # Update win_fix.patch
This adds a tifffile recipe. I once built this on appveyor (the packages are here) but I'm now fuzzy on the details about how it went. I need to build packages for Python 3.5 and, I think, numpy 1.10, so I thought we could try conda-forge.
Where do I go from here?