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

add to conda-forge #275

Closed
JoOkuma opened this issue May 15, 2024 · 4 comments
Closed

add to conda-forge #275

JoOkuma opened this issue May 15, 2024 · 4 comments

Comments

@JoOkuma
Copy link
Contributor

JoOkuma commented May 15, 2024

Hey @PerretB,

I hope you're doing well.

I'm trying to upload a package that depends on higra to conda-forge, and they require all the dependencies to be on conda.
Would you be OK with me creating a conda recipe for it? I would include you as a maintainer.

This should add minimal maintenance work because conda rebuilds automatically once higra on pypi is updated.

@PerretB
Copy link
Member

PerretB commented May 16, 2024

Hi Jordão,

yes sure it's always nice to enrich the ecosytem with new contributions!

I'm not familiar at all with the conda recipe system, however I remember that the initial setup of the build system using CI/CD pipelines was a bit painful (but yet again I had no prior experience with this) so I'm curious to see how forge handles this.

For maintenance, it will be important to understand and document what should be done when a new version of the library is pushed, when a new version of python is available and when the builders of forge are updated. For example, currently, pushing a new version tag to github will trigger the CI/CD pipeline to build new wheels and upload them on pipy. However, new version of pythons and azure agents upgrade must be handled manually in the CI/CD pipeline configuration files.

@JoOkuma
Copy link
Contributor Author

JoOkuma commented May 16, 2024

Great, @PerretB! I'll tag in the conda-forge contribution.

OK, I'll document the new procedures. My current understanding, and I might be wrong here, is that they have automated most of the conda-forge building process, so Higra will be rebuilt once a new version is uploaded to pip or azure agents are updated (here, I'm talking about their azure agent, they are also using it).

It will only need manual interaction if Higra dependencies are updated because this requires updating the conda package metadata; in the past, this triggered an issue on the conda-forge repo, and they pinged me to fix the build.

@JoOkuma
Copy link
Contributor Author

JoOkuma commented May 20, 2024

Hey @PerretB, conda-forge integration is done, https://anaconda.org/conda-forge/higra

This issue can be closed and maybe #249.

@PerretB
Copy link
Member

PerretB commented May 21, 2024

Thank you very for this great contribution @JoOkuma !

This indeed provides a solution to #249, although I still plan to add ARM64 to Pypi as soon as arm64 is available on Azure pipelines

@PerretB PerretB closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants