-
Notifications
You must be signed in to change notification settings - Fork 55
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
Getting PyHC core projects on conda-forge #258
Comments
Based on https://levelup.gitconnected.com/publishing-your-python-package-on-conda-and-conda-forge-309a405740cf, I would expect that learning about the process and creating scripts to do this would take about 10-20 hours. The far more difficult task is testing. At present, the HAPI tests are
I've had CS graduate students attempt to modify the Travis CI tests to use tox-conda and also automatically do the releases as described in 2. They did not succeed. The primary issue is debugging Travis CI scripts. First, one needs to strip down the existing script so that the process finishes in a reasonable amount of time. Then, one waits 5-10 minutes to see if things worked. There are always subtle issues across each OS that need to be worked out. One also has to be careful with testing because Travis only provides a certain amount of time per month for non-paid accounts. (I've been using Travis since before Github had an equivalent and have also thought about migration.) I would like to have a conda-forge package, but I decided to not spend much more time on improving our test and release process given my experience with past attempts. If someone donated their time to work out all of the issues I described above, I would still be reluctant to maintain a conda-forge package unless I was confident someone could help 1-2 years later if there are issues. |
I'm not sure I follow here.
The first section in that article is redundant if you follow the second section ("Adding your conda-forge recipe"), which is the standard way to add packages to Definitely appreciate that adding packages to conda-forge takes some effort - if there's anything I can help with I'd be happy to donate a bit of time to solve any issues. |
Reopening. I appreciate the effort to keep our GitHub issues tidy! But this is still on our wishlist (just very back burnered). |
pysat could almost certainly be added to conda but we don't have any funding to do so. |
👋 all, I just caught up with some of the PyHC meeting stuff around getting packages on conda-forge (for the record I'm very pro adding everything to conda-forge as well as PyPi!), and the talk about dependency issues caught my interest. I thought I'd do a quick audit of which of the core packages are already on conda-forge, and which aren't. For the ones that aren't, I manually checked their dependencies, and if they were on conda-forge.
Results below. It seems like almost all dependencies are already on conda-forge, so it shouldn't be too hard to add HAPI, kamodo, and pysat to conda-forge. For pySPEDAS it looks a bit more complicated, but definitely do-able.
Anyway, thought I'd put this out there to add a bit of data to the discussion. Pinging maintainers of the libraries that aren't on conda-forge yet in case this is useful: @rweigel @rebeccaringuette @rstoneback @supervised @drsteve
The text was updated successfully, but these errors were encountered: