-
Notifications
You must be signed in to change notification settings - Fork 180
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
BUG: build
is not always present
#1385
Comments
Looks like the import in asv/asv/plugins/_mamba_helpers.py Line 9 in a779f0c
... OR Lines 29 to 38 in a779f0c
|
It doesn't look like libmambapy exists in PyPI (rather than conda). |
@HaoZeke could you take a look? |
As far as I recall this is just a logging note and not an error. Tests on CI pass completely without libmambapy. I'll take a look. |
This is because of the change made to the default build command in the presence of if cmd is None:
if has_file('pyproject.toml'):
cmd = [
"python -m build",
"python -mpip wheel -w {build_cache_dir} {build_dir}"
]
else:
cmd = [
"python setup.py build",
"python -mpip wheel -w {build_cache_dir} {build_dir}"
] |
build
not always added to base_requirements
So the basic workaround for this case is to just depend on |
build
not always added to base_requirements
build
is not always present
The change is noted in the docs but not the changelog, and should be more prominently mentioned. |
…umpydoc-pre-commit * 'numpydoc-pre-commit' of github.com:tkknight/iris: Update CF standard names to v84. (SciTools#5761) Regrid docs fix (SciTools#5758) Improve ncdata and CF information on "iris heart xarray" page (SciTools#5752) Pin ASV - airspeed-velocity/asv#1385. (SciTools#5756) Normalise units of coordinate bounds (SciTools#5746) Add "Which Regridder?" Documentation (SciTools#5742) Document `Coord.ignore_axis` (SciTools#5744) Disable navidation with keys for docs HTML theme options (SciTools#5747) Shapefile masking (SciTools#5470) [pre-commit.ci] pre-commit autoupdate (SciTools#5739) DOCS: Add whatsnew for ruff pydocstyle compliance (SciTools#5700) update docstring (SciTools#5737) Updated environment lockfiles (SciTools#5738) Consider NaNs equal when comparing cubes (SciTools#5713)
We are hitting odd Run asv run --show-stderr --python 3.8 HEAD^-1 Couldn't load asv.plugins._mamba_helpers because No module named 'libmambapy' which was presumably the airspeed-velocity/asv#1385 which was addressed by airspeed-velocity/asv#1387 which was released in 0.6.3 but we are installing it Collecting asv!=0.6.2 (from asv[virtualenv]!=0.6.2) Downloading asv-0.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB) and still hitting it. Trying now with explicit "build" in depends
Hello!
Links:
Our ASV benchmarks started failing yesterday after the 0.6.2 release:
I've replicated this locally, where it fails with 0.6.2 but works when deprecated to 0.6.1
Thank you!
The text was updated successfully, but these errors were encountered: