Skip to content

Comments

BLD: Fix asv run#5240

Open
PardhavMaradani wants to merge 1 commit intoMDAnalysis:developfrom
PardhavMaradani:fix-asv-run
Open

BLD: Fix asv run#5240
PardhavMaradani wants to merge 1 commit intoMDAnalysis:developfrom
PardhavMaradani:fix-asv-run

Conversation

@PardhavMaradani
Copy link
Contributor

@PardhavMaradani PardhavMaradani commented Feb 21, 2026

Changes made in this Pull Request:

asv benchmark runs are currently failing on develop.

asv.conf.json still references an unsupported Python version, which leads to the following error during asv run:

...
   STDERR -------->
   ERROR: Package 'mdanalysis' requires a different Python: 3.10.19 not in '>=3.11'
...

Fixing this leads to another error:

...
·· Last error: Configuration error: {wheel_file} not available when substituting into command 'in-dir={env_dir} python -m pip install {wheel_file} --force-reinstall' Available: {'project': 'mdanalysis', ...
...

This PR updates the python version to 3.11 and adds an explicit build_command (as seen in other projects like scipy) after which asv runs fine.

(mdanalysis-dev) mdanalysis/benchmarks$ asv run
· Creating environments
· Discovering benchmarks
·· Uninstalling from conda-py3.11-Cython-MDAnalysisTests-mock-numpy-pytest-scipy-six
·· Building 7da5f0ab <develop> for conda-py3.11-Cython-MDAnalysisTests-mock-numpy-pytest-scipy-six......................
·· Installing 7da5f0ab <develop> into conda-py3.11-Cython-MDAnalysisTests-mock-numpy-pytest-scipy-six.....
· Running 87 total benchmarks (1 commits * 1 environments * 87 benchmarks)
[ 0.00%] · For mdanalysis commit 7da5f0ab <develop>:
[ 0.00%] ·· Benchmarking conda-py3.11-Cython-MDAnalysisTests-mock-numpy-pytest-scipy-six
[ 0.57%] ··· Running (GRO.GROReadBench.time_create_GRO_universe--).....^C
[ 3.45%] ·· Interrupted.

LLM / AI generated code disclosure

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: no

PR Checklist

  • Issue raised/referenced?
  • Tests updated/added?
  • Documentation updated/added?
  • package/CHANGELOG file updated?
  • Is your name in package/AUTHORS? (If it is not, add it!)
  • LLM/AI disclosure was updated.

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.


📚 Documentation preview 📚: https://mdanalysis--5240.org.readthedocs.build/en/5240/

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 this pull request may close these issues.

1 participant