Giter Club home page Giter Club logo

Comments (12)

jhkennedy avatar jhkennedy commented on August 12, 2024 1

Both those recipes are pretty straight forward, so I don't think they'll need much modification. They do like you to minimize the jinja2 template variables, so I suspect they'll ask you to not include these as variables:

{% set file_ext = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash_value = "2efb291ea03809e30d7e357955fbf777e6c2485cb61997656a314bf7695169f5" %}

The basic process for conda-forge is:

  • to fork https://github.com/conda-forge/staged-recipes
  • add the recipe for PACKAGE under the recipes/PACKAGE directory
  • open a PR to conda-forge/staged-recipes:master

That will kick off a bunch of different CI jobs that will lint the recipe, run the build matrix, and check the PR. Once that passes, someone on the conda-forge team will check over the recipe, and if it all looks good, will merge the PR.

Merging the PR will cause a conda-forge/PACKAGE-feedstock repository to be created, and add the listed recipe maintainers as team members for that repo. It's here that future package updates will happen or changes to the recipe.

For example, you can see my ILAMB PR here: conda-forge/staged-recipes#7819
And the json_tricks feedstock I maintain here (most recently updated): https://github.com/conda-forge/json_tricks-feedstock

The docs for conda-forge are very confusing, so you end up having to piece together the puzzle from both:

If you'd like, I could get the initial conda-recipes PR going and list you as a maintainer, or if you want to go through the process yourself, you're welcome to also name me as a maintainer and I'll help when needed.

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

With some help from @jhkennedy, I could probably move the 2 globus packages to conda-forge and they would get built properly.

@sterlingbaldwin, how hard would it be to make an OSX build of processflow (and would that even make sense to do)?

from e3sm-unified.

jhkennedy avatar jhkennedy commented on August 12, 2024

I'm happy to help with the globus packages

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

The current packages here and here were created using the automated tools from the pypi projects here and here

My guess is that there are tools from creating conda-forge recipes from pypi (though I've never made a conda-forge recipe, to be honest) so it might be easier to start over from pypi than to use my recipes. @jhkennedy, what do you think?

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

Based on the FAQ, they suggest using either skeleton and then editing the meta.yaml or just creating the meta.yaml from scratch, so I guess my existing recipes will be the starting point. Looks easier than I feared.

from e3sm-unified.

sterlingbaldwin avatar sterlingbaldwin commented on August 12, 2024

Is it possible to do an OSX build without the processflow/globus packages? Ive had a couple users ask for a serial version, but for the time being processflow expects to be running on a cluster and submits all its jobs to slurm/pbs.

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

Is it possible to do an OSX build without the processflow/globus packages?

Yes, it would be possible. I think it's worth migrating globus to conda-forge and seeing if we can support OSX. But we could drop processflow from the OSX version.

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

Thanks for the instructions, @jhkennedy

from e3sm-unified.

sterlingbaldwin avatar sterlingbaldwin commented on August 12, 2024

At the last E3SM meeting there were a couple users that asked for a serial version they could use to run small jobs on their workstations, so this is something I want to support but I dont want to hold you back for the time being.

from e3sm-unified.

rljacob avatar rljacob commented on August 12, 2024

If processflow is in the MacOSX build, can we just tell people "don't use this"? The rest of the packages will still work right?

from e3sm-unified.

zshaheen avatar zshaheen commented on August 12, 2024

Yeah, zstash, which depends on hsi isn't going to work on macOS as well. Since hsi is closed sourced (or something like that) I don't think we'll get a macOS version.

from e3sm-unified.

xylar avatar xylar commented on August 12, 2024

Okay, that's fine. zstash is a no, processflow is a probably not for OSX. We can certainly do that. I think it's better to just not include the package in the OSX build rather than including it but telling people not to use it. That's not a problem.

from e3sm-unified.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.