Skip to content
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

build failing for 0.56.2 #100

Closed
1 task done
raybellwaves opened this issue Sep 19, 2022 · 2 comments
Closed
1 task done

build failing for 0.56.2 #100

raybellwaves opened this issue Sep 19, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@raybellwaves
Copy link
Member

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

The bot build for 0.56.2 is failing #99

Installed packages

NA

Environment info

NA
@raybellwaves raybellwaves added the bug Something isn't working label Sep 19, 2022
@raybellwaves
Copy link
Member Author

raybellwaves commented Sep 19, 2022

Moving my notes out of the PR to here...

Taking a look at one of the failing builds (linux linux_64_numpy1.21python3.10.____cpython) (https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=562062&view=logs&jobId=9a864fd9-6c8f-52ca-79ce-2aa6dca1a1de) I see

Applying patch: /home/conda/recipe_root/patch-parfor.patch with args:
['-Np1', '-i', '/tmp/tmpat4sfdzr/patch-parfor.patch.native', '--binary']
checking file numba/tests/test_parfors.py
Hunk #1 FAILED at 63.
1 out of 1 hunk FAILED
Warning: failed to download source.  If building, will try again after downloading recipe dependencies.
Error was: 
Command '['/opt/conda/bin/patch', '--no-backup-if-mismatch', '--batch', '-Np1', '-i', '/tmp/tmpat4sfdzr/patch-parfor.patch.native', '--binary', '--dry-run']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/opt/conda/bin/conda-mambabuild", line 10, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/boa/cli/mambabuild.py", line 239, in main
    call_conda_build(action, config)
  File "/opt/conda/lib/python3.9/site-packages/boa/cli/mambabuild.py", line 211, in call_conda_build
    result = api.build(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3091, in build_tree
    packages_from_this = build(metadata, stats,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 2141, in build
    try_download(m, no_download_source=False, raise_error=True)
  File "/opt/conda/lib/python3.9/site-packages/conda_build/render.py", line 662, in try_download
    raise RuntimeError("Failed to download or patch source. Please see build log for info.")
RuntimeError: Failed to download or patch source. Please see build log for info.

shouldn't that be running on 3.10 or perhaps it's in the build part.

I see numpy between 1.18 and 1.24 in the 0.56 release Pin NumPy version to 1.18-1.24

and the meta.yaml here has >=1.18,<1.23

numba's local recipe for 0.56.2 can be found here: https://github.com/numba/numba/blob/0.56.2/buildscripts/condarecipe.local/meta.yaml

Any reason for the numpy 1.19 and numpy1.21 matrix builds and not other numpy versions?
https://github.com/raybellwaves/numba-feedstock/blob/main/.azure-pipelines/azure-pipelines-linux.yml
https://github.com/raybellwaves/numba-feedstock/tree/main/.ci_support

Not sure if numpy1.21 should be tested as in numba it says
NumPy 1.22.0, 1.22.1, 1.22.2 are all broken for ufuncs, see #7756
https://github.com/numba/numba/blob/0.56.2/buildscripts/condarecipe.local/meta.yaml#L47

See #94 for more discussion on this

@jakirkham
Copy link
Member

Should be resolved by PR ( #94 ) and other related upstream PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants