-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Install Python metadata through pip #8
Install Python metadata through pip #8
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 |
…a-forge-pinning 2021.10.18.05.45.34
While we wait for those PRs to go through, can you explain the rationale for this change? From what I understand we are mixing Python bindings compiled with |
Rationale:
|
That was the part I was afraid of. To enable/disable features in conda-forge we have the options listed in the
That seems the interesting feature we are looking for. If I understand well, this can be implemented simply by having something in |
Some pointers for future reference: |
Related PR: conda-forge/nlopt-feedstock#37 (even if perhaps not ideal as it just installs an empty METADATA file, not fully compliant to https://packaging.python.org/specifications/recording-installed-packages/ and https://packaging.python.org/specifications/core-metadata/#core-metadata where at least a non-empty |
Yep I totally understand the duplication concern, but I want to bring two more points to your attention because this change imo goes in the direction of simplifying rather the duplicating:
This, with also the other resources you linked in later comments, is another possibility. Though, this would mean adding new logic to the recipe to automatically generate this file, which is already done for us by pip or pypa/build (maybe there's a python function somewhere that takes the setup.cfg and produces the metadata). This being said, although this seems a good option, if I were the maintainer I would prefer going towards this PR, but any solution like the autogeneration of METADATA would work. As discussed f2f, a problem you raised is how to handle the automatic generation of the PyPI version since it's done from the git archive, and the github release tarball does not have git metadata. In this case, I think that a single sed like that writes to |
Update: you can generate the METADATA passing through
|
If your concern is to keep the CMake options consistent, I just realized that I can update this PR as follows:
This seems the best trade off to keep a small complexity while preventing ABI-related surprises. What do you think? Conda build output
|
I think that is by far the best option! We also would not need a iDynTree new release. |
A new release should not be needed. I just pushed the first attempt of this solution, however this will work only in |
@conda-forge-admin please rerender |
Hi! This is the friendly automated conda-forge-webservice. |
a256ee7
to
566dd68
Compare
Now linux and macOS seems happy, windows instead stills fail very likely because I made mistakes in the |
I guess you do not need to escape the last line of the pip command. |
I see that arm64 also failed due to missing diffutils. This is more problematic as with all the NVIDIA SOC that we are starting to use on the robots, I wanted to make sure that idyntree arm64 binaries are readily available if we need them. |
Hopefully it will be fixed by conda-forge/conda-forge-pinning-feedstock#2046 . |
- restore modified files before finishing - let pip find the wheel without specifying the name of the file
it returns 0 only if there's no diff
@traversaro I managed to fix also the windows builds, if you want to make a more thorough review I think I'm mostly done now. No prob if you want to wait the finalization of the |
Great! Yes, thanks, I would prefer for conda-forge/diffutils-feedstock#4 to be merged to verify that CI for aarch64 is working before merging. |
@conda-forge-admin, please rerender |
I switched to cross-compilation to workaround conda-forge/status#122 . |
…nda-forge-pinning 2021.11.03.23.52.26
Cross-compilation has problems described in https://github.com/conda-forge/conda-smithy/issues/1539 . |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2021.11.03.23.52.26
Hi! This is the friendly conda-forge automerge bot! I considered the following status checks when analyzing this PR:
Thus the PR was passing and merged! Have a great day! |
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)Requires robotology/idyntree#922 and conda-forge/staged-recipes#16572. cc @traversaro