Releases: airspeed-velocity/asv
Releases · airspeed-velocity/asv
v0.6.5
rattler support and UX/UI assistance.
What's Changed
- BUG: fix JSONC support by @lucascolley in #1426
- BUG: fix extraction of conda version by @sfmig in #1428
- MAINT: Clean and update documentation by @HaoZeke in #1429
- MAINT: Update CI configurations and handle sanity checks by @HaoZeke in #1440
- BUG: Fix multiple Python version usage by @HaoZeke in #1444
- ENH: Add
py-rattlerby @HaoZeke in #1445 - docs: document pitfalls of changing
benchmark_namebenchmark attribute by @JuroOravec in #1470 - docs: document the
versionfield inasv.conf.json.rstby @JuroOravec in #1467 - DOC: Minor assorted fixes by @DimitriPapadopoulos in #1483
- DOC: platform → sys_platform by @DimitriPapadopoulos in #1477
- refactor: fix virtualenv setup for py3.9+ by @JuroOravec in #1485
- CI: Use a decently recent version of ruff by @DimitriPapadopoulos in #1478
- MAINT: Enforce ruff isort rules (I) and get rid of isort by @DimitriPapadopoulos in #1488
- MAINT: Do not list wheel as a build-dep by @DimitriPapadopoulos in #1494
- DOC: Add a space after Python command line option
-mby @DimitriPapadopoulos in #1487 - MAINT: Apply ruff/flake8-logging rules (LOG) by @DimitriPapadopoulos in #1481
- MAINT: Apply assorted ruff/pyupgrade rules (UP) by @DimitriPapadopoulos in #1480
- MAINT: Apply ruff/pycodestyle rules (W) by @DimitriPapadopoulos in #1490
- docs: Add timeouts to asv.conf.json reference by @Jacob-Stevens-Haas in #1476
- ENH: Add a gitignore template by @HaoZeke in #1274
- MAINT: Apply ruff/Pylint rules (PLE) by @DimitriPapadopoulos in #1482
- Add TAGS as range parameter, fixes #488 fixes #1027 by @timkpaine in #1418
- MAINT: Apply assorted ruff rules (RUF) by @DimitriPapadopoulos in #1491
- MAINT: Apply assorted ruff/flake8-comprehensions rules (C4) by @DimitriPapadopoulos in #1489
- MAINT: Enforce ruff/flake8-comprehensions rules (C4) by @DimitriPapadopoulos in #1498
- MAINT: Enforce ruff/pygrep-hooks rules (PGH) by @DimitriPapadopoulos in #1499
- Report the last error when failing to discover benchmarks by @TalAmuyal in #1505
- MAINT: Update pre-commit ruff legacy alias by @DimitriPapadopoulos in #1510
- MAINT: Update GitHub Actions by @DimitriPapadopoulos in #1504
- Always pass python version when creating mamba/conda env by @jder in #1495
- MAINT: Enforce ruff/pyupgrade rules (UP) by @DimitriPapadopoulos in #1501
- MAINT: Update pre-commit configuration by @DimitriPapadopoulos in #1503
- MAINT: Enforce ruff/flake8-bugbear rules (B) by @DimitriPapadopoulos in #1502
- MAINT: Update
pyproject.tomlby @DimitriPapadopoulos in #1506 - MAINT: bump pre-commit hooks by @DimitriPapadopoulos in #1514
- resolve conflicts for gh-1450 by @lucascolley in #1516
- TST: Fix testsuite rattler by @HaoZeke in #1450
- BUG: Apply ASV_PYTHONPATH to discovery by @HaoZeke in #1462
- MAINT: Update the license by @HaoZeke in #1291
- use pypy3.11 in CI by @mattip in #1512
- MAINT: Standardize style with ruff by @DimitriPapadopoulos in #1513
- Fix ruff errors in CI by @DimitriPapadopoulos in #1524
- [REL]
v0.6.5final cleanup by @HaoZeke in #1521 - Apply more flake8-bugbear rules by @DimitriPapadopoulos in #1526
- [BUG] Kill
libmambapyby @HaoZeke in #1525 - Apply Scientific Python Library Development Guide suggestions by @DimitriPapadopoulos in #1527
- Apply Scientific Python Library Development Guide Repo-Review suggestions by @DimitriPapadopoulos in #1528
New Contributors
- @JuroOravec made their first contribution in #1470
- @DimitriPapadopoulos made their first contribution in #1483
- @Jacob-Stevens-Haas made their first contribution in #1476
- @timkpaine made their first contribution in #1418
- @TalAmuyal made their first contribution in #1505
- @jder made their first contribution in #1495
- @mattip made their first contribution in #1512
Full Changelog: v0.6.4...v0.6.5
v0.6.4
Bugfix release.
What's Changed
- DEP: only depend on tomli in Python 3.10 and older, use standard lib otherwise by @neutrinoceros in #1391
- Add codespell config, pre-commit hook, and GH action (to catch new typos) + make it fix some it finds by @yarikoptic in #1392
- [Bug] Fix deprecation of --force in conda for conda versions >= 24.3.0 by @h-mayorquin in #1403
- ENH,BUG: Update pip parser for git urls with branches / tags by @HaoZeke in #1413
- MAINT: Update pyproject.toml to omit unecessary files by @hmaarrfk in #1407
- DOC: mention conda-build dependency by @lucascolley in #1422
- BUG: Fix compare and continuous by @HaoZeke in #1421
- Allow
asv.conf.jsoncfile by default by @lucascolley in #1420 - Replace use of
Result.envin profiling code by @brandonwillard in #1404 - REL: Prepare for
0.6.4by @HaoZeke in #1424
New Contributors
- @neutrinoceros made their first contribution in #1391
- @h-mayorquin made their first contribution in #1403
- @lucascolley made their first contribution in #1422
- @brandonwillard made their first contribution in #1404
Full Changelog: v0.6.3...v0.6.4
v0.6.3
v0.6.2
Changelog
0.6.2 (2024-02-12)
New Features
- Partially skipped benchmarks will still have their results displayed.
(#1351) asvwill now correctly prepare all the build backend dependencies
intobase_requirementsand the defaultbuild_commandhas been
modified to allow fetching from PyPI. (#1377)
Bug Fixes
- The
asvpackage no longer prepends the script execution directory
unconditionally. Now we check for and remove the path only if it
matches the directory that the runner script resides in. (#1346) - The
bdistwheels no longer includebenchmarksandtest. (#1349) - The
mambaplugin works correctly for newer versions (>=1.5) of
libmambapy(#1372) - The
mambaplugin respects theMAMBARCenvironment if set, taking
channels and channel priority from the file in the environment
variable. (#1373) - Fixed a bug where
matrixrequirements were dropped if an environment
file was specified. (#1373) conda-forgeis no longer a default channel formamba. (#1373)
Other Changes and Additions
asvnow depends onvirtualenv(#1379)
Github Generated Log
What's Changed
- BUG: Remove prepended entry from sys.path by @ngnpope in #1346
- Handle partially-skipped benchmarks by @ianthomas23 in #1351
- BUG: build/include only asv in bdist by @vishwin in #1349
- MAINT: fix instances of get in mamba plugin by @hmaarrfk in #1357
- MAINT: Do not always add dependencies section to update conda environment file by @hmaarrfk in #1359
- Remove
asv devfrom docs by @CodyCBakerPhD in #1371 - Improve error message when environment not found by @dstansby in #1369
- CI: Test on min/max supported ranges of python versions by @dstansby in #1366
- DOC: Remove mentions of Python 2.7 by @dstansby in #1367
- MAINT: Vendor
mamba.apiby @HaoZeke in #1372 - BUG: Add
MAMBARCsupport tomambaby @HaoZeke in #1373 - MAINT: Finalize rename to
mainby @HaoZeke in #1375 - DOC : added
default_benchmark_timeoutinusing.rst(proposal) by @Schefflera-Arboricola in #1376 - ENH,MAINT: Add towncrier by @HaoZeke in #1378
- MAINT: Unconditionally depend on virtualenv by @HaoZeke in #1379
- MAINT,DOC:
pipand network connectivity defaults by @HaoZeke in #1377
New Contributors
- @ngnpope made their first contribution in #1346
- @ianthomas23 made their first contribution in #1351
- @vishwin made their first contribution in #1349
- @CodyCBakerPhD made their first contribution in #1371
- @Schefflera-Arboricola made their first contribution in #1376
Full Changelog: v0.6.1...v0.6.2
v0.6.1
Changelog
0.6.1 (2023-09-11)
New Features
API Changes
Bug Fixes
- Fixed handling of
pipdependencies inenvironment.ymlfiles for themambaplugin (#1326) - Removed the need for explicit
pip+inasv.config.jsonmatrix requirements forvirtualenv asvwill now useconda_environment_fileif it exists (#1325)
Other Changes and Additions
- Made
asvtimestamps viadatetimePython 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_ifandskip_params_if(#1309) - Benchmarks can be skipped during execution by raising
SkipNotImplemented(#1307) - Introduced
default_benchmark_timeoutin the configuration object and via-a timeout=NUMBER(#1308) - Settable
ASV_RUNNER_PATHfor testing newer versions ofasv_runner(#1312)
API Changes
- Removed
asv devin favor of usingasv runwith appropriate arguments (#1200) - Removed
--strictoption fromasv runandasv continuous, which now always return non-zero exit status if any benchmark fails
Bug Fixes
- Fixed
install_timeoutforconda(#1310) - Fixed handling of local
pipmatrix (#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
mambaandcondanow useenvironment.ymlif it exists virtualenvnow requirespackagingdue todistutilsdeprecations- 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
...
v0.5.1
Prepare for 0.5.1 release (#1014)
v0.5
Prepare for 0.5 release (#1012)
v0.4.2
v0.4.1
v0.4
New features:
asv checkcommand for a quick check of benchmark suite validity. (#782)asv run HASHFILE:filenamecan read commit hashes to run from file or stdin (#768)--set-commit-hashoption toasv run, which allows recording results from runs in "existing" environments not managed by asv (#794)--cpu-affinityoption toasv runand others, to set CPU affinity (#769)- "Hide legend" option in web UI (#807)
pretty_sourcebenchmark attribute for customizing source code shown (#810)- Record number of cores in machine information (#761)
API Changes:
- Default timer changed from
process_time()totimeit.default_timer()to fix resolution issues on Windows. Old behavior can be restored by settingBenchmark.timer = time.process_time(#780)
Bug Fixes: