-
-
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 aicspylibczi recipe #18157
base: main
Are you sure you want to change the base?
Add aicspylibczi recipe #18157
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Hey @goanpeca thanks taking this on! I think the last discussion of "how to get a conda release of this" someone said we need to add the cmake file to the manifest.ini or something similar? |
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 ( |
Hi @evamaxfield, thanks for the heads up :) |
We are in the process of creating conda packages for napari plugins and related dependencies. Once this recipe passes all the checks, every time a new release goes into PyPI, a PR will be created automatically, with usually very minor need for changes so the process of maintaining this moving forward is small. Also the @conda-forge/napari team will be available to help as needed. You can read a bit more about conda-forge at https://conda-forge.org/#contribute @evamaxfield, @toloudis do you agree with being added as maintainers? |
I agree to be listed. May also be good to ask @toloudis |
I think the only reason I remembered that cmakelists thing is because Talley tried to do this a few months ago: #16326 |
Ha, yeah some PRs started but stayed like that, I can take over now :) |
This comment was marked as outdated.
This comment was marked as outdated.
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 ( |
@evamaxfield, retaking this work. Is the package |
Thanks @goanpeca!! It follows the base So I assume |
efa35e2
to
ba3e545
Compare
@goanpeca Would you consider skipping the win build for now? That way linux only packages could already proceed with this 🙂 |
Hi friend! We really, really, really appreciate that you have taken the time to make a PR on In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on Cheers and thank you for contributing to this community effort! |
we are currently revisiting aicspylibczi to try to ensure the full sdist is corrected and support python 3.11. |
Sure thing :) |
@goanpeca I wonder if you could bump the aicspylibczi version to 3.1.1, which should have a better sdist and also more up to date wheels for Python 3.11 support. |
confirmed, aicspylibczi 3.1.1 is the one that should be used here please. |
Will update! Thanks for the heads up |
ee576cb
to
a72a5e8
Compare
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 ( |
@goanpeca Can I make some small edits to this PR to see if the build works? version 3.1.2 should now have a sdist that bundles along with its submodule dependencies. Not sure of process, whether the build will automatically happen or needs to be triggered |
@toloudis, can you add the proposed changes as code review suggestions? We can then commit them from there. |
recipes/aicspylibczi/meta.yaml
Outdated
- cmake | ||
- make | ||
host: | ||
# - libpng |
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.
@toloudis is this still needed?
recipes/aicspylibczi/meta.yaml
Outdated
- python | ||
- pip | ||
- pytest-runner | ||
# - zlib |
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.
@toloudis is this still needed?
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.
@toloudis is this still needed?
Honestly not sure. If I had to guess I would say no, not needed.
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 ask because of what the readme says
https://github.com/AllenCellModeling/aicspylibczi#build
Build
Use these steps to build and install aicspylibczi locally:
Clone the repository including submodules (--recurse-submodules).
Requirements:
libCZI requires a c++11 compatible compiler. Built & Tested with clang.
Development requirements are those required for libCZI: libpng, zlib
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 haven't confirmed it but the only place our repo explicitly refers to those libs is here:
https://github.com/AllenCellModeling/aicspylibczi/blob/2e2faeefa1e3fea3b0da979db07f85c6be746904/.github/workflows/py-build-main.yml#L106
I believe that might be outdated due to this https://github.com/ZEISS/libczi/blob/134582181b5e121c4a1b0236ae707e2db36f66ff/Src/libCZI/Doc/building_libCZI.markdown?plain=1#L58
(libpng
and zlib
only needed for czicmd
build target which is not required for aicspylibczi
).
However, it doesn't hurt to keep them in?
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.
👍🏼
This one is ready for review @conda-forge/staged-recipes :) |
sha256: d903caaac5576922f8dd4b1170fae3421fb9d203128b4d8ecb11681173e7046c | ||
|
||
build: | ||
script: {{ PYTHON }} -m pip install . -vv |
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.
This is running cmake
behind the scenes, which relies on a vendored pybind11 submodule and some other stuff. We might need to patch things to make it conda-forge friendly.
Co-authored-by: jaimergp <[email protected]>
Hi friend! We really, really, really appreciate that you have taken the time to make a PR on In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on Cheers and thank you for contributing to this community effort! |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).