Skip to content

Conversation

smithdc1
Copy link
Member

@smithdc1 smithdc1 commented Oct 17, 2024

ASV 0.6.4 is released. https://pypi.org/project/asv/0.6.4/

@smithdc1
Copy link
Member Author

Still seeing this error:

No module named 'libmambapy'

Trying to see if I can fix it...

Copy link
Member

@pauloxnet pauloxnet left a comment

Choose a reason for hiding this comment

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

I propose to use Python 3.12 and proposed small, non-blocking suggestions.

uses: actions/checkout@v3
- uses: actions/setup-python@v4
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
python-version: '3.11'
python-version: '3.12'

It seems ASV support Python 3.12 since version 0.6.2.

activate-environment: asv-bench
environment-file: environment.yml
- name: Install Requirements
run: pip install -r requirements.txt
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
run: pip install -r requirements.txt
run: python -m pip install --requirement requirements.txt

Using pip as module is a best practice, and also long form for attributes.

asv machine --machine ubuntu-latest --yes
echo '```' >> $GITHUB_STEP_SUMMARY
asv continuous --interleave-processes -a processes=2 --split --show-stderr 'HEAD^' 'HEAD' |\
asv continuous -E conda:asv-bench --interleave-processes -a processes=2 --split --show-stderr 'HEAD^' 'HEAD' |\
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
asv continuous -E conda:asv-bench --interleave-processes -a processes=2 --split --show-stderr 'HEAD^' 'HEAD' |\
asv continuous --environment conda:asv-bench --interleave-processes --attribute processes=2 --split --show-stderr 'HEAD^' 'HEAD' |\

Used long form attributes.

uses: actions/checkout@v3
- uses: actions/setup-python@v4
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
python-version: '3.11'
python-version: '3.12'

See above.

uses: actions/checkout@v3
- uses: actions/setup-python@v4
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Requirements
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- name: Install Requirements
- name: Install Requirements
run: python -m pip install --requirement requirements.txt

See above.
I wasn't able to select the line below in the suggestions, but you can delete it.

Comment on lines +3 to +6
- pip
- wheel
- conda-build
- libmambapy
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- pip
- wheel
- conda-build
- libmambapy
- conda-build
- libmambapy
- pip
- wheel

I only sorted dependencies, it can help in managing them.

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.

2 participants