Closed beckermr closed 1 year ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
@conda-forge-admin rerender
@conda-forge/core Is this recipe supposed to generate ~76 variants? I guess yes, it just seems like a lot.
I guess we could build some downstream CUDA tests for all of the variants and list them here. We'd have to update the list here manually which kind of stinks. I think the right answer here is some sort of intrinsic testing loop over variants within conda build, but who has the time!
Moving on.
@conda-forge-admin rerender
Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you but ran into some issues. Please check the output logs of the latest rerendering GutHub actions workflow run for errors. You can also ping conda-forge/core for further assistance or try re-rendering locally.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-ci-setup-feedstock/actions/runs/1879574153.
@conda-forge-admin rerender
Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
@conda-forge-admin rerender
@conda-forge-admin rerender
Thanks @xhochy. This needs to be tested before it is merged.
Code was looking but I was under the impression that this would simply be for preparation and we could not really test this yet?
We can copy the package wholesale to our test feedstock and it will get run live there. Not going to do that today but will do before we merge.
This one is being tested here: https://github.com/conda-forge/cf-autotick-bot-test-package-feedstock/pull/439
@conda-forge/core This one is ready for review. It lets us upload .conda artifacts by setting a key in the conda-forge.yml. This key is not read by smithy, but is instead used by the ci setup code the builds the .condarc
. IDK if this choice is consistent with the other ways we do things, so I wanted to flag this in case people had concerns.
Should we go ahead and add that key to feedstocks, but set it to false
?
You would want to set it to None
, but no we should not.
Or at least we don't gain anything by setting it to None
now since old versions of the ci setup package simply ignore it.
Sorry None
. Oh what is the issue with setting it?
Edit: Am guessing at some point in the future we would want .conda
to be the default. So am wondering if we should go ahead and take steps to flag/protect feedstocks from that change. Though guess this doesn't have to happen immediately.
I'm not following sorry. The possible values are
conda_pkg_format: None # .tar.bz2
conda_pkg_format: "2" # .conda
The code here does
def maybe_use_dot_conda(feedstock_root):
"""Maybe set the .condarc to use .conda files."""
if os.path.exists(os.path.join(feedstock_root, "conda-forge.yml")):
with open(os.path.join(feedstock_root, "conda-forge.yml")) as f:
repo_config = safe_load(f)
pkg_format = repo_config.get("conda_pkg_format", None)
if pkg_format is not None:
try:
call([
"conda", "config", "--env", "--set",
"conda_build.pkg_format", str(pkg_format)
])
except subprocess.CalledProcessError:
pass
Once we want to move the default, we change
pkg_format = repo_config.get("conda_pkg_format", None)
to
pkg_format = repo_config.get("conda_pkg_format", "2")
So the current default of tar.bz2 is hard coded into our scripts until we change it.
Does that answer your question?
@conda-forge/core any more comments here?
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)This PR adds support for .conda artifacts.