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