Skip to content

CI: Redo benchmarks to use pixi around asv - #8688

Merged
MridulS merged 4 commits into
networkx:mainfrom
MridulS:asv_benchs
Jun 7, 2026
Merged

MridulS merged 4 commits into
networkx:mainfrom
MridulS:asv_benchs

Conversation

@MridulS

@MridulS MridulS commented Jun 7, 2026

Copy link
Copy Markdown
Member

This should fix #8638 and #7638.

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried this and it seems to work.
I think this could make running the benchmarks easier -- but the real plus is the CI.

Thanks @MridulS !!

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good! My vote is to add virtualenv back for users who are allergic to dependency resolution!

Comment thread benchmarks/README.md
`environment_type` is set to `"conda"` by default - the `"virtualenv"` option
is recommended for simpler building/setup.

```{note}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would leave this note in - virtualenv is still a nice lightweight option and this note is relevant for folks using it!

rossbar and others added 2 commits June 7, 2026 13:57
Change fetch depth to 0 for benchmark workflow.
@MridulS
MridulS merged commit c98ede2 into networkx:main Jun 7, 2026
100 of 109 checks passed
@dschult dschult added this to the 3.7 milestone Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Benchmark PR workflow fails with build isolation + --no-index

3 participants