-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Starts work on adding recipe upgrade feature #539
Starts work on adding recipe upgrade feature #539
Conversation
The package that this commit relies on is not currently available in conda-forge. Viewer discretion is advised. - First-pass attempt at integrating `conda-recipe-manager` into Grayskull for the purposes of generating recipes in the V1 format.
Update: I rebuilt my local environment this morning now that Unfortunately I am still getting: AttributeError: 'YAML' object has no attribute '_plug_in_jinja2' when I try to run the conversion flag. Does anyone know if I have a missing dependency locally? Do I have to install a plugin not listed in the |
Here are the
|
@marcelotrevisani I'd hate to bother you directly, but have you seen these issues before? I get the feeling that I'm missing some dependencies for Here's how I've configured my development: conda env create -f environment.yaml --name grayskull --yes
conda run --name grayskull pip install -e .
conda activate grayskull I've also tried forcing the environment to use 3.11 by editing
|
Hi, sorry, I have been busy in my personal life and job. |
No I have not and did not think to do that. Do you know off the top of your head what the last known good version was? I don't see it listed in the environment file so I'm guessing it transitively is included with sous-chef? |
Yeah I see it in sous-chef as |
Latest update: I've struggled to get I also ran a brief experiment yesterday and tried to have |
|
IIRC if you conda install a local .bz2/.conda file it will just do it, ignoring all constraints. |
After talking with @beeankha, we found a workaround. I'm not super proud of it, but I've gotten around the JINJA issue by reading the recipe file produced by Like I said, it's a hack but it works for the time being. Arguably we could modify this further by having the upgrade option return both a I'll be moving the PR out of the |
Description
First-pass implementation supporting the V1 recipe standard (used by
rattler-build
, as discussed in #486As of writing this PR (currently in theDRAFT
stage), there are a few issues:1.conda-recipe-manager
is not currently in the conda-forge channel. There is an open PR waiting for a review to add it in.2. Locally, I can't get
ruamel
to dumpsouschef
's version of the recipe data into aStringIO
stream. I had many issues getting conda to use my local copy ofconda-recipe-manager
and I think it's related to that. I haveruamel.yaml.jinja
installed in the local environment, but I still get an error. Here are some logs for more details: