conda-forge / julia-feedstock

A conda-smithy repository for julia.
BSD 3-Clause "New" or "Revised" License
23 stars 32 forks source link

Update meta.yaml for 1.9.0 #247

Closed PallHaraldsson closed 1 year ago

PallHaraldsson commented 1 year ago

Checklist

conda-forge-webservices[bot] commented 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.

PallHaraldsson commented 1 year ago

Redundant (and wrong SHA?! or here right?) so close.

ngam commented 1 year ago

The other one is the right one:


  File "/opt/conda/lib/python3.10/site-packages/conda_build/api.py", line 180, in build
    return build_tree(
  File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 3078, in build_tree
    packages_from_this = build(metadata, stats,
  File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 2125, in build
    try_download(m, no_download_source=False, raise_error=True)
  File "/opt/conda/lib/python3.10/site-packages/conda_build/render.py", line 650, in try_download
    source.provide(metadata)
  File "/opt/conda/lib/python3.10/site-packages/conda_build/source.py", line 871, in provide
    unpack(source_dict, src_dir, metadata.config.src_cache, recipe_path=metadata.path,
  File "/opt/conda/lib/python3.10/site-packages/conda_build/source.py", line 146, in unpack
    src_path, unhashed_fn = download_to_cache(cache_folder, recipe_path, source_dict, verbose)
  File "/opt/conda/lib/python3.10/site-packages/conda_build/source.py", line 111, in download_to_cache
    raise RuntimeError("%s mismatch: '%s' != '%s'" %
RuntimeError: SHA256 mismatch: '5c9f09d701ae9c875b0b5e77a82aa7f29689821e2eccd349109c1ed8620be508' != '222eb533c9dc54734949eb3a4169f54aefa1bc20be385fc1cf798c8219fe6400'
##[error]Bash exited with code '1'.
Finishing: Run docker build
mkitti commented 1 year ago

I think there is a problem here. We are pulling the automated tarball that Github produces. This is not guaranteed to be stable.

https://github.com/orgs/community/discussions/46034

To clarify, we need the hash for a source tarball

ngam commented 1 year ago

Yeah, but that’s besides the point for now.

There are real problems in building julia on conda-forge infra and it requires constant tweaking. There’s a limit to what we can do on our own without openness from upstream (they made it quite clear they’re not interested in helping/facilitating third-parry builds, so the best thing for people is to follow upstream’s official releases). People are welcome to make tweaks and I’d be more than happy to help and merge when needed, but it requires some effort… :(