-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update list of runtime dependencies in recipe/meta.yml
#71
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 ( |
@amotl, I wouldn't make these changes even though the bot suggested them. It is important that the dependencies are the same as in the original package: |
Dear @xylar, thanks for looking into this. Indeed, most of the added dependencies are optional dependencies 1. Is there any way to specify them within the Anaconda metadata file? Otherwise, is the general recommendation to not include them into the baseline With kind regards, Footnotes |
@amotl, yes, there is a way to handle optional dependencies. It's a little complicated. I'll send you an example tomorrow and we can discuss further. |
Okay here's the example |
I see, thank you. Based on this information, I think it is not worth to add additional maintenance overhead to the How would we proceed with this patch, then? Cherry-pick it into #70? I will be happy about any advises. |
I will look at this tomorrow but even if these are the right dependencies, they are missing version constraints from the original package and they are very important to include. I will make suggestions to #70 and ask for your feedback. |
This just follows the suggestions by `regro-cf-autotick-bot` about packages found by source code inspection but not in the meta.yaml vs. packages found in the meta.yaml but not found by source code inspection.
- Don't install FastAPI and Dash/Plotly by default - Install dependencies needed by "interpolation" feature
e7e2e94
to
2bee959
Compare
Apologies. I've just merged the release PR, in order to get the release out of the door, without mixing in unrelated changes.
Ah - version pinning for Anaconda? I will be happy to learn more about writing a better |
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.
Please don't merge this until I have a chance to fix several things.
- utm | ||
- shapely | ||
- pytz |
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 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'm happy to do that. These are among the "optional" dependencies. So we should make a note of that. Some users may prefer only to have the minimal package but you will know your users better than I do.
This patch just follows the suggestions by
regro-cf-autotick-bot
about packages found by source code inspection but not in the meta.yaml vs. packages found in the meta.yaml but not found by source code inspection.It addresses our discussion at: