Skip to content
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

[FEATURE] Request for automating run_exports in meta.yaml #485

Open
akikuno opened this issue Sep 14, 2023 · 2 comments
Open

[FEATURE] Request for automating run_exports in meta.yaml #485

akikuno opened this issue Sep 14, 2023 · 2 comments

Comments

@akikuno
Copy link

akikuno commented Sep 14, 2023

Recently, it seems that the inclusion of run_exports in meta.yaml has become necessary.

I'm not sure how much demand there is for this feature outside of my own needs, but automating the inclusion of run_exports would be incredibly helpful in reducing errors.

Currently, I manually add the following run_exports to meta.yaml files generated by grakskull:

build:
  run_exports:
  - {{ pin_subpackage(name|lower, max_pin='x.x') }}

Here is an example:
https://github.com/bioconda/bioconda-recipes/blob/master/recipes/cstag/meta.yaml#L16

Thank you very much for your consideration.

@akikuno akikuno added enhancement New feature or request feature labels Sep 14, 2023
@ocefpaf
Copy link
Contributor

ocefpaf commented Sep 14, 2023

Hi @akikuno. Thanks for opening this issue. I have to confess that I don't understand your request. I may be missing something but that is not what run_exports was designed for. Maybe, if you want to control pure python packages that can install this you can use run_constraint instead?

Pinging @mbargull here b/c he is the only other bioconda person I know 😬

@marcelotrevisani marcelotrevisani added discussion and removed enhancement New feature or request feature labels Sep 19, 2023
@akikuno
Copy link
Author

akikuno commented Sep 22, 2023

@ocefpaf
Thank you for your comment.

I apologize for the confusion. I've recently been confronted with expectations regarding run_exports and run_constrained in Bioconda, and I admit I didn't fully grasp them.

Upon further research, it seems that the way these sections are written can vary depending on the package being developed. I'm now thinking that perhaps these are areas that should be manually edited.

In any case, grayskull is an incredibly useful tool, and I genuinely appreciate it. I wanted to take this opportunity to express my gratitude.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants