Fixed handling of pip dependencies in environment.yml files for the mamba plugin (#1326)
Removed the need for explicit pip+ in asv.config.json matrix requirements for virtualenv
asv will now use conda_environment_file if it exists (#1325)
Other Changes and Additions
Made asv timestamps via datetime Python 3.12 compatible (#1331)
Provided asv[virtualenv] as an installable target
Switched to using Github Actions exclusively for Windows and Linux
0.6.0 (2023-08-20)
New Features
Internal use of asv_runner, allowing custom benchmark types (#1287)
Added benchmark skipping capabilities using new decorators skip_benchmark_if and skip_params_if (#1309)
Benchmarks can be skipped during execution by raising SkipNotImplemented (#1307)
Introduced default_benchmark_timeout in the configuration object and via -a timeout=NUMBER (#1308)
Settable ASV_RUNNER_PATH for testing newer versions of asv_runner (#1312)
API Changes
Removed asv dev in favor of using asv run with appropriate arguments (#1200)
Removed --strict option from asv run and asv continuous, which now always return non-zero exit status if any benchmark fails
Bug Fixes
Fixed install_timeout for conda (#1310)
Fixed handling of local pip matrix (#1312)
Fixed deadlock when using mamba with an environment file (#1300)
Corrected environment file usage with mamba and recognized default environment.yml (#1303)
Other Changes and Additions
Both mamba and conda now use environment.yml if it exists
virtualenv now requires packaging due to distutils deprecations
Wheels are now built for CPython versions 3.8, 3.9, 3.10, 3.11
Github Generated Log
What's Changed
Fix PEP-8 violations reported by flake8 on asv folder by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/988
Post 0.5.1 release changes (version update and new version changelog) by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1016
Fix PEP-8 violations reported by flake8 on asv/step_detect.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1006
Replace six.string_types and six.text_type by str by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1009
Fix PEP-8 violations reported by flake8 on asv/util.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1007
Fix PEP-8 violations reported by flake8 on test/benchmark folder by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1000
Fix flake8 violations by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1018
Changes required to set minimum Python version to 3.7 by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1025
Fix all flake8 violations in the test/ directory by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1021
Replace six.iter* to python 3 equivalent by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1024
Fix flake8 violations by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1029
Add pytest to CI by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1032
Run pytest with different Python versions in GitHub actions by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1033
Remove __future __module reference and imports by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1045
Remove object base class from class declaration by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1046
Remove py2 encoding declaration by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1048
Remove six import and replace all with python 3 equivalent by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1047
remove imports from future module by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1050
remove imports from future module1 by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1051
remove imports from future module2 by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1052
remove imports from future module3 by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1053
Remove imports from future module4 by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1054
Remove py2 encoding declaration by @Tushcathy in https://github.com/airspeed-velocity/asv/pull/1055
New Contributors
@mariamadronah made their first contribution in https://github.com/airspeed-velocity/asv/pull/1050
@Tushcathy made their first contribution in https://github.com/airspeed-velocity/asv/pull/1055
@Leenkiz made their first contribution in https://github.com/airspeed-velocity/asv/pull/1058
@fangchenli made their first contribution in https://github.com/airspeed-velocity/asv/pull/1049
@dstansby made their first contribution in https://github.com/airspeed-velocity/asv/pull/1034
@Daniet made their first contribution in https://github.com/airspeed-velocity/asv/pull/1184
@nicolefrale made their first contribution in https://github.com/airspeed-velocity/asv/pull/1187
@asnramos made their first contribution in https://github.com/airspeed-velocity/asv/pull/1185
@kandersolar made their first contribution in https://github.com/airspeed-velocity/asv/pull/1207
@hmaarrfk made their first contribution in https://github.com/airspeed-velocity/asv/pull/1221
@HaoZeke made their first contribution in https://github.com/airspeed-velocity/asv/pull/1229
@jarrodmillman made their first contribution in https://github.com/airspeed-velocity/asv/pull/1240
@seiko2plus made their first contribution in https://github.com/airspeed-velocity/asv/pull/1228
@zacharyburnett made their first contribution in https://github.com/airspeed-velocity/asv/pull/1239
@timfel made their first contribution in https://github.com/airspeed-velocity/asv/pull/1216
@NickCrews made their first contribution in https://github.com/airspeed-velocity/asv/pull/1209
@akihironitta made their first contribution in https://github.com/airspeed-velocity/asv/pull/1297
@sfmig made their first contribution in https://github.com/airspeed-velocity/asv/pull/1306
Full Changelog: https://github.com/airspeed-velocity/asv/compare/v0.5.1...v0.6.1
remove the # -- coding: utf-8 -- by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1056
remove the # -- coding: utf-8 -- by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1057
Contribution7 by @mariamadronah in https://github.com/airspeed-velocity/asv/pull/1059
Remove six library by @Leenkiz in https://github.com/airspeed-velocity/asv/pull/1058
CLN: use shutil terminal size by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1049
Fix flake8 errors in some files in asv/ directory by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1067
CLN: Remove unused six imports by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1070
CLN: Remove object parent class, only needed in py2 by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1069
Remove python2 six functionality by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1072
Fix flake8 issues on asv/commands folder by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1078
Fix flake8 issues on asv/commands folder by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1080
Fix flake8 issues on asv/commands/check.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1081
Remove PY2 six from test/test_console.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1079
Fix flake8 violations for all files in the asv/plugins/ directory by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1088
Add flake8 dependencies to requirements-dev.txt file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1084
Replace format() function with PY3 fstrings by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1087
Fix flake8 issues on asv/commands/run.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1082
Fix Flake8 violations for files in the test/ directory by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1091
Fix Flake8 violations for files in the test/ directory by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1093
Fix flake8 violations for all files in the benchmarks/ directory by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1098
Minor changes for #1065 and #1044 by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1089
Move example-results fixture to conftest.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1100
Add existing_env_conf() fixture to conftest.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1108
Add basic_conf() and basic_conf_with_subdir() fixtures to conftest.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1109
Add example_results() fixture to conftest.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1110
CLN: clean stats tests by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1112
CI: test pypy by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1111
Move test/test_web fixture to conftest.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1116
Move all test/tools.py fixtures to conftest.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1114
BLD: move metadata to setup.cfg, use PEP 517, install asv in CI by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1118
CI: Fixes to CI (add more verbosity, fix Windows and environment errors) by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1071
Add isort by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1120
Move test_benchmarks.py and test_workflow.py fixtures to conftest.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1121
Fix Flake8 violations for files in the test/test_web.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1105
Add a job to build the docs on CI by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1107
CLN: clean setup.py, remove py.test command by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1113
Move test/test_show.py fixture to conftest.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1122
Replace format() function with f-strings on asv/runner.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1128
CLN: Remove py2 compat in extension by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1125
Fix Flake8 violations for files in the test/ directory by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1096
BLD: use setuptools-scm for versioning by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1134
Replace format() function with f-strings on asv/console.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1127
Move fixture from test/test_step_detect.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1131
Move fixture from test/test_publish.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1132
TST/DEPS: monkeypatch stdin, remove six from deps by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1136
CLN: remove all py2 compat by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1137
BLD: simplify build_ext, remove doc build command by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1135
CLN: remove submodule, fetch js file from cdn by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1149
CLN: Flake8 issues by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1141
CLN: Fix pep8 issues on docs/source/conf.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1142
CLN: Fix pep8 issues on test/test_find.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1150
CLN:Remove asv/files from setup.cfg file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1146
CLN:fix flake8 errors in test/test_publish.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1153
CLN: clean stats functions by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1126
CLN:fix flake8 errors in test/test_repo_template/asv_test_repo/init.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1154
CLN: Fix pep8 issues on test directory by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1152
CLN:Fix flake8 errors on test/example_plugin.py and test/test_show.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1156
CLN: Removing tailing spaces in tests by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1157
CLN: Moving pytest config to setup.cfg by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1158
Replace master with main in the docs by @dstansby in https://github.com/airspeed-velocity/asv/pull/1034
Replace format() function with f-strings on asv/benchmark.py by @LucyJimenez in https://github.com/airspeed-velocity/asv/pull/1129
CLN: Fix flake8 issues caused by code being a template by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1160
CLN: Clean up of basic_conf fixture code by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1159
CLN:Remove remaining flake8 issues by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1161
CLN:Fix flake8 issues on test_run.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1163
CI: move style check to pre-commit by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1182
CLN: clean pytest config by @fangchenli in https://github.com/airspeed-velocity/asv/pull/1188
Change function formar to f-string on asv/commands/run.py by @Daniet in https://github.com/airspeed-velocity/asv/pull/1184
change function format to f-string asv/commands/rm.py by @Daniet in https://github.com/airspeed-velocity/asv/pull/1186
Change function format to fstring on asv/graph.py by @Daniet in https://github.com/airspeed-velocity/asv/pull/1183
Fixed flake8 violations for files on test/test_runner.py #1166 by @nicolefrale in https://github.com/airspeed-velocity/asv/pull/1187
Change .format to f string on asv/machine.py by @asnramos in https://github.com/airspeed-velocity/asv/pull/1185
CLN:Fix flake8 errors on test/init.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1190
CLN:Fix flake8 errors on test/test_compare.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1192
Replace format() with fstrings in asv/statistics.py and asv/config.py by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1194
Replace .format() with fstrings for asv/repo.py and asv/results.py files by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1195
CLN:Replace format() with fstrings in asv/commands/show.py file by @dorothykiz1 in https://github.com/airspeed-velocity/asv/pull/1191
Making the base Command class a base class, and documenting methods by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1206
Sync sphinx docs benchmark examples with quickstart template file by @kandersolar in https://github.com/airspeed-velocity/asv/pull/1207
Remove --strict option, and fail by default by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1204
Update copyright to 2022 by @hmaarrfk in https://github.com/airspeed-velocity/asv/pull/1221
TST,BUG: Fix error with submodules by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1229
BUG: Allow tag commit hashes for graphs by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1227
ENH: Handle default branch by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1232
Don't use distutils by @jarrodmillman in https://github.com/airspeed-velocity/asv/pull/1240
MAINT: Update pre-commit config to fix build by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1243
MAINT: Cleanup by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1237
Remove Travis CI conf by @jarrodmillman in https://github.com/airspeed-velocity/asv/pull/1244
ENH: Speeding up collecting low-timing samples by @seiko2plus in https://github.com/airspeed-velocity/asv/pull/1228
move build configuration and metadata into pyproject.toml by @zacharyburnett in https://github.com/airspeed-velocity/asv/pull/1239
MAINT: Add a CI timeout for GHA by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1249
MAINT: Fixup and remove bundled dependencies by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1234
ENH: Add a mamba plugin by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1238
ENH: Report stderr for failures by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1262
ENH: Add a markdown renderer for asv compare by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1263
ENH: Add cleaner matches in conda/mamba by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1267
ENH: Return pstats.Stats for --profile by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1253
BLD: Switch to testing PyPy 3.9 instead of 3.7 by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1276
BLD: Enable browser tests by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1269
BUG: Use colorama on windows by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1272
BUG: Cleanup and use git lookup order by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1252
DOC: Add mamba by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1268
MAINT: Work around for pyproject / poetry / pip by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1261
MAINT: Allow newlines in benchmark names by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1256
MAINT: Convert almost everything to f-strings by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1258
MAINT: Kill missing references and extra files by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1273
MAINT: Update Rpy2 tests by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1255
Give GraalPy some time to warm up by default by @timfel in https://github.com/airspeed-velocity/asv/pull/1216
BUG: Fix poetry / pdm usage by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1282
MAINT: Use importlib, pkgutil over import by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1284
CI: use ruff for linting instead of flake8 by @zacharyburnett in https://github.com/airspeed-velocity/asv/pull/1260
BUG: Allow branches that conflict with file names by @NickCrews in https://github.com/airspeed-velocity/asv/pull/1209
Save intermediate results from 'asv find', with flag to disable by @qwhelan in https://github.com/airspeed-velocity/asv/pull/902
Document mamba as an environment_type by @akihironitta in https://github.com/airspeed-velocity/asv/pull/1297
ENH: Cleanup with asv_runner by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1287
Bugfix: mamba used with an environment file never starts installation due to deadlock by @akihironitta in https://github.com/airspeed-velocity/asv/pull/1300
DOC: Update readthedocs and changelog by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1302
BUG,ENH: Update mamba solver, handle default environment.yml by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1303
DOC: Detail skipping parameters by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1304
MAINT: Fixup copy-paste error by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1305
Remove asv dev command by @datapythonista in https://github.com/airspeed-velocity/asv/pull/1202
Add instructions to build the package with pyproject.toml only by @sfmig in https://github.com/airspeed-velocity/asv/pull/1306
MAINT,DOC: Minor webdev by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1311
DOC: Add details information on SkipNoImplemented by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1309
ENH: Add a configurable default benchmark timeout by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1308
ENH,BUG: Handle pip matrices better by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1313
CI: Test asv_runner by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1315
MAINT: Prepare virtualenv for py3.12 by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1320
MAINT: Bump version to 0.6 by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1317
MAINT: Semantic versioning update [skip ci] by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1321
CI: Silence excessive wheel builds by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1327
CI: Further restrict builds by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1328
MAINT: Datetime deprecations by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1330
BUG: Parse pip in env better by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1331
CI: Enable wheel builds again by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1339
MAINT: Don't warn if valid environment is found by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1335
MAINT: Handle conda environments in mamba plugin by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1329
MAINT: Add an install group for virtualenv by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1324
CI: Try windows on github again by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1332
CI: Use cibuildwheel for getting wheels by @HaoZeke in https://github.com/airspeed-velocity/asv/pull/1341