-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
convert recipe to noarch #98
Conversation
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 ( |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2023.07.04.20.31.13
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/parcels-feedstock/actions/runs/5459351470. |
…nda-forge-pinning 2023.07.04.20.31.13
Could we just make this package |
How is it on pypi? That’s ultimately the measure. |
Yep, this is a damn noarch lol |
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 recipe:
|
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 ( |
…nda-forge-pinning 2023.07.04.20.31.13
I don't the noarch will work; they do have some c/cpp code going on: https://github.com/OceanParcels/parcels/tree/master/parcels/include |
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Hmm yeah, I noticed that too, but it was worth a shot 😆 This recipe is pulling the tar.gz from GitHub, so we should be able to run the unit tests to check. |
Yeah, I actually think the code isn't getting compiled; it is just there as a helpers. So essentially, that's why it's requesting the compilers as a runtime dependency. I will re-add the compilers and we should definitely run more tests |
@ocefpaf we could do without outputs. The current implementation should work fine, the osx failure is due to CI issues and the win issue is that I should port in a PR from upstream to get rid of an unused entry point (OceanParcels/parcels#1379) |
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.
There seem to be some redirects in the URLs in the meta.yaml
file.
The home URL should probably use https
instead of http
parcels-feedstock/recipe/meta.yaml
Line 60 in bee3646
home: http://github.com/OceanParcels/parcels |
Probably we should use the following URL instead:
home: https://github.com/OceanParcels/parcels
In addition, we probably should modify as well the doc_url
parcels-feedstock/recipe/meta.yaml
Line 72 in bee3646
doc_url: http://oceanparcels.org/ |
Probably we should use the following URL instead:
doc_url: https://oceanparcels.org/
Thanks @varlackc, fixed! |
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 looks good to me, thanks for all this effort! However, I would also like to see @willirath weigh in, who was the original creator of this condo recipe.
Actually, one question: I do see a check for Windows ( |
You are correct, with the modern "semi-arch" we can achieve better results. |
We don't have to because unix encompasses osx; the package itself is noarch, but we made it slightly more complicated than one CI because we want to ensure the runtime compilers are correct. For osx and linux, you're choosing the standard C compilers at runtime (so we can get any of them with a generic See here for the attributes of the package and how it'd look:
In both cases, the package is noarch, but in the first, there is a conditional on __unix (meaning it will only be installable on unix machines, e.g. linux64, linux aarch64, osx, etc.). Likewise, for he second, you see the conditional on __win for windows machines. Note how the package hashes are different (pyh4c28395 vs pyh7428d3b) and that's because of the different runtime dependencies. |
Thanks for pinging me. I like the semi-arch idea, but I'm a little sceptical if we really cover the implications of the new way to depend on the compilers |
(ED: Moved to review comment.) |
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.
As already mentioned in the comments, I'd very much like to explicitly test that compilers are present and found on OSX as well.
…nda-forge-pinning 2023.07.10.11.48.20
Let me know if the edits are sufficient. Thanks! |
Thanks for also adding the osx test, @ngam. Glad to see that the I think this should be fine now to merge this PR; do you agree @willirath? |
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.
Looks Good To Me!
Looks good to me as well |
No idea how I can formally approve on mobile. Feel free to ignore my review and merge. |
Closes #96
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)