-
-
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
Sortmerna conda recipe #25438
Sortmerna conda recipe #25438
Conversation
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/sortmerna:
For recipes/sortmerna:
Documentation on acceptable licenses can be found here. |
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 ( I do have some suggestions for making it better though... For recipes/sortmerna:
|
I don't think we should maintain the bioconda recipe in parallel. If this one is ready here we should remove the bioconda recipe. |
I agree. Mentioned the parallel just for suggestions. How do we proceed with removing the bioconda recipe? Usual pull request? |
I was not aware of this PR. |
Created bioconda-recipes PR 48607 to remove sortmerna recipe due relocation to conda-forge |
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 ( I do have some suggestions for making it better though... For recipes/sortmerna:
|
Anyone still working on this? |
+1 |
yeah, I guess disabling Win build is an option. Do I have to prepare another PR? |
No, I doubt it: you should be able to add the commit in your existing branch, and it will automatically pull. |
Hi! This is the staged-recipes linter and your PR looks excellent! 🚀 |
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/sortmerna/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12070968857. Examine the logs at this URL for more detail. |
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 should probably be removed. MacOS SDK is redundant with defaults. Don't linux default compilers work?
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 was not able to build without configuration as specified in conda_build_config.yaml
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.
Was this done together with the stdlib
spec? How did it fail?
Perhaps push a version with these changes so we can see the logs from any failing CI.
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.
Linux build fails under compiler >11.4 due incompatibilities with old 3rd party c libraries used by Sortmerna. Have to stick with max 11.4 until this is resolved. Same goes for MacOS.
recipes/sortmerna/meta.yaml
Outdated
run_exports: [] | ||
#skip: True # [osx] |
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.
If you want run_exports
to keep parity with Bioconda standards, then use them; otherwise, tidy up.
run_exports: [] | |
#skip: True # [osx] |
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.
Another point for discussion is that this is vendoring zlib
and rocksdb
, both of which are available through Conda Forge. It would be preferable that the recipe be reworked to use the Conda Forge versions.
There are problems with this:
|
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 ( |
I'll disable Win build after checking one more time the reason for failure. Conda-build has no problems on my local machine |
The As for zip libs, I admit I don't follow the implication. So, maybe I'm not the one to discuss this with (CC: @conda-forge/help-python-c). Naively, I don't understand why anything needs to change outside of switching from static to dynamically-linked libraries. Sorry to be a bother about this, but it just does not look great to be running 100+ minutes per platform and 90% of that time is rebuilding libraries Conda Forge nominally has available for dynamic linking. Otherwise, if one wants to merge with the vendored libraries, then the licenses of those need to also be explicitly bundled through the |
Yeah, we are well aware of the described problem, and tried to solve it, including the dynamic linking, and the pre-built libraries, and each time we ran into some kind of problem. For the time being, the existing solution is the only one, and fixing it requires a considerable effort/time. Considering this project is run at 100% voluntarily dedicated free developer's time, it's not going to happen fast. |
Just checking back in. Thanks for the clarifications. Since reworking the dependencies appears tedious, let's rather ensure the zlib and rocksdb licenses are added. One could do this dynamically, but simply including copies (linked in #25438 (comment)) would suffice. Either adjust the names/paths to reflect which license corresponds to which vendored software, or include an additional file that indicates what is what. |
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.
LGTM!
I'm going to leave this open a day or two, in case anyone from @conda-forge/help-python proper has comments. Otherwise, I think it's good to merge.
The current recipe will be maintained parallel to the Sortmerna bioconda-recipe. The bioconda recipe currently uses pre-built binaries. The current recipe performs the whole build including building 3rd party libraries. This recipe is also going to support Windows builds (not supported on bioconda).