(Go: >> BACK << -|- >> HOME <<)

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

asv 0.6.0 errors on environments with missing packaging module #1323

Closed
moorepants opened this issue Aug 21, 2023 · 3 comments · Fixed by #1324
Closed

asv 0.6.0 errors on environments with missing packaging module #1323

moorepants opened this issue Aug 21, 2023 · 3 comments · Fixed by #1324

Comments

@moorepants
Copy link

SymPy's CI that runs asv is breaking (see sympy/sympy#25561) with this error:

Run asv run --config asv.conf.actions.json
Couldn't load asv.plugins.mamba because
No module named 'mamba'
Couldn't load asv.plugins.virtualenv because
No module named 'packaging'
· Unknown environment type 'virtualenv'
· No environments selected
Error: Process completed with exit code 1.

I've looked through the change log and the diff of 0.6.0 to the last release and see that there is a new mamba plugin, but I haven't been able to see why these failures are occurring or if we are supposed to update something on our end to work with the new release. Can you provide a suggestion?

@Xemorr
Copy link
Xemorr commented Aug 21, 2023

I am also experiencing this error

@HaoZeke
Copy link
Member
HaoZeke commented Aug 21, 2023

I am also experiencing this error

Could you post the full error?

@HaoZeke
Copy link
Member
HaoZeke commented Aug 21, 2023

SymPy's CI that runs asv is breaking (see sympy/sympy#25561) with this error:

Run asv run --config asv.conf.actions.json
Couldn't load asv.plugins.mamba because
No module named 'mamba'
Couldn't load asv.plugins.virtualenv because
No module named 'packaging'
· Unknown environment type 'virtualenv'
· No environments selected
Error: Process completed with exit code 1.

I've looked through the change log and the diff of 0.6.0 to the last release and see that there is a new mamba plugin, but I haven't been able to see why these failures are occurring or if we are supposed to update something on our end to work with the new release. Can you provide a suggestion?

One of the possible environment management systems must be available. Although mamba may not be a worthwhile dependency in some situations, the virtualenv issue is that packaging is not present, which can be fixed by adding it to the build environment.

Typically asv doesn't install dependencies needed for environment management, but virtualenv is common enough that it might be considered to be a bug. In any case this should have been documented better.

@HaoZeke HaoZeke changed the title asv 0.6.0 errors on missing mamba plugin asv 0.6.0 errors on environments with missing packaging module Aug 21, 2023
yarikoptic added a commit to yarikoptic/fscacher that referenced this issue Sep 20, 2023
jni added a commit to napari/napari that referenced this issue Oct 2, 2023
…#6278)

# Description
Use `[virtualenv]` extras to fix the benchmark setup. 

airspeed-velocity/asv#1323
airspeed-velocity/asv#1324

disable `mem_layer` benchmarks as they do not work on the current main.
It needs to be reenabled in follow-up PR. To have it working, it is
required to have `__sizeof__` fixed, which is part of this commit.

Add benchmark "testing" to pull request test. To spot directly which PR
breaks benchmarks execution.

---------

Co-authored-by: Juan Nunez-Iglesias <jni@fastmail.com>
casperdcl added a commit to tqdm/tqdm that referenced this issue Feb 5, 2024
casperdcl added a commit to tqdm/tqdm that referenced this issue Feb 5, 2024
casperdcl added a commit to tqdm/tqdm that referenced this issue Feb 5, 2024
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Feb 20, 2024
License_Update: Copyright year updated to 2024.

Changelog:
============
-pandas: add DataFrame.progress_map
-notebook: fix HTML padding
-keras: fix resuming training when verbose>=2
-fix format_num negative fractions missing leading zero
-fix Python 3.12 DeprecationWarning on import
-linting: use f-strings
-update tests
-fix pandas warnings
-fix asv (airspeed-velocity/asv#1323)
-fix macos notebook docstring indentation
-CI: bump actions

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
License_Update: Copyright year updated to 2024.

Changelog:
============
-pandas: add DataFrame.progress_map
-notebook: fix HTML padding
-keras: fix resuming training when verbose>=2
-fix format_num negative fractions missing leading zero
-fix Python 3.12 DeprecationWarning on import
-linting: use f-strings
-update tests
-fix pandas warnings
-fix asv (airspeed-velocity/asv#1323)
-fix macos notebook docstring indentation
-CI: bump actions

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants