Skip to content

Commit

Permalink
update asv to 0.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev committed Aug 23, 2023
1 parent a3bf7b4 commit 7500165
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 15 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
miniforge-version: latest
use-mamba: true
- name: ASV installation
run: pip install asv==0.5.1
run: pip install asv==0.6.0
- name: Running benchmarks
run: |
git remote add upstream https://github.com/modin-project/modin.git
Expand All @@ -261,15 +261,9 @@ jobs:
sed -i 's/def time_groupby_agg_nunique(self, \*args, \*\*kwargs):/# def time_groupby_agg_nunique(self, *args, **kwargs):/g' benchmarks/hdk/benchmarks.py
sed -i 's/execute(self.df.groupby(by=self.groupby_columns).agg("nunique"))/# execute(self.df.groupby(by=self.groupby_columns).agg("nunique"))/g' benchmarks/hdk/benchmarks.py
# TODO: Remove manual environment creation after fix https://github.com/airspeed-velocity/asv/issues/1310
mamba env create -f ../requirements/env_hdk.yml
conda activate modin_on_hdk
pip install asv==0.5.1
pip install ..
# check Modin on HDK
MODIN_ENGINE=native MODIN_STORAGE_FORMAT=hdk MODIN_EXPERIMENTAL=true asv run --quick --strict --show-stderr \
--launch-method=forkserver --python=same --config asv.conf.hdk.json \
--launch-method=forkserver --config asv.conf.hdk.json \
-b ^hdk | tee benchmarks.log
else
echo "Benchmarks did not run, no changes detected"
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.dask.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// If missing or the empty string, the tool will be automatically
// determined by looking for tools on the PATH environment
// variable.
"environment_type": "conda",
"environment_type": "mamba",

// timeout in seconds for installing any dependencies in environment
// defaults to 10 min
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.hdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// If missing or the empty string, the tool will be automatically
// determined by looking for tools on the PATH environment
// variable.
"environment_type": "conda",
"environment_type": "mamba",

// timeout in seconds for installing any dependencies in environment
// defaults to 10 min
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// If missing or the empty string, the tool will be automatically
// determined by looking for tools on the PATH environment
// variable.
"environment_type": "conda",
"environment_type": "mamba",

// timeout in seconds for installing any dependencies in environment
// defaults to 10 min
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.unidist.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// If missing or the empty string, the tool will be automatically
// determined by looking for tools on the PATH environment
// variable.
"environment_type": "conda",
"environment_type": "mamba",

// timeout in seconds for installing any dependencies in environment
// defaults to 10 min
Expand Down
2 changes: 1 addition & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies:
- pygit2>=1.9.2

# test dependencies
- asv==0.5.1
- asv==0.6.0
- boto3>=1.26.0
- coverage>=7.1.0
- moto>=4.1.0
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ PyGithub>=1.58.0
pygit2>=1.9.2

## test dependencies
asv==0.5.1
asv==0.6.0
boto3>=1.26.0
coverage>=7.1.0
# experimental version of fuzzydata requires at least 0.0.6 to successfully resolve all dependencies
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-no-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies:
- pygit2>=1.9.2

# test dependencies
- asv==0.5.1
- asv==0.6.0
- boto3>=1.26.0
- coverage>=7.1.0
- moto>=4.1.0
Expand Down

0 comments on commit 7500165

Please sign in to comment.