question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`numba` isn't included in `v0.6.2` conda-forge feedstock recipe

See original GitHub issue

numba is introduced as a new dependency in v0.6.2.

The setup.py file includes numba, so the PyPI release works fine: https://github.com/pangeo-data/xESMF/blob/860311345212c3e5f52d08335eb758cf903d6787/setup.py#L23-L31

However, the conda-forge feedstock recipe does not include numba: https://github.com/conda-forge/xesmf-feedstock/blob/fe72c86a62ed48b698eeb8e58acc50817bd954fc/recipe/meta.yaml#L16-L28

This results in environments and other packages that use xesmf to break with the following error:

File ~/miniconda3/envs/xcdat_test_dev/lib/python3.10/site-packages/xesmf/smm.py:7, in <module>
      4 import warnings
      5 from pathlib import Path
----> 7 import numba as nb
      8 import numpy as np
      9 import sparse as sps

ModuleNotFoundError: No module named 'numba'

This user has to manually install numba into their environment and packages that include xesmf must also include numba as a dependency (it should be installed implicitly via xesmf).

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
aulemahalcommented, Jun 29, 2022

@raphaeldussin I would suggest to publish a new release of xESMF (0.6.3), now that #175 is merged? This issue was fixed in #168, but I wanted to wait a successful conda release to close it.

1reaction
huardcommented, Jun 30, 2022

0.6.3 now available on conda.

Read more comments on GitHub >

github_iconTop Results From Across the Web

conda-forge/numba-feedstock - GitHub
The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock. A feedstock is...
Read more >
FAQ — conda-forge 2022.12.21 documentation
TL;DR: there is no need for build numbers larger than 1000 anymore. When you update a feedstock that still uses build numbers >...
Read more >
conda-forge/conda-forge.github.io - Gitter
Anyone know how to manually add python 3.8 to a conda-forge feedstock? ... I'm not sure whether this is an issue with the...
Read more >
Untitled
Hard reset s5 sprint, Fighting illini volleyball roster, Ground pork recipes with pasta, Acland head and neck part 2, Livraison gratuite toysrus, ...
Read more >
Can't install OpenCV3 on Anaconda3 python3.6 on macOS
conda install -c menpo opencv3 Fetching package metadata . ... the recipe yourself, which is available at https://github.com/conda-forge/opencv-feedstock.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found