gasparka / pyha

Describe, simulate and debug hardware in Python
Other
9 stars 1 forks source link

Update asv to 0.6.2 #926

Closed pyup-bot closed 5 months ago

pyup-bot commented 5 months ago

This PR updates asv from 0.3 to 0.6.2.

Changelog ### 0.6.1 ``` ---------------------------- New Features ^^^^^^^^^^^^ API Changes ^^^^^^^^^^^ Bug Fixes ^^^^^^^^^ - ``pip`` dependencies in ``environment.yml`` files for the ``mamba`` plugin are handled correctly (1326) - ``asv.config.json`` matrix requirements no longer need ``pip+`` set explicitly for calling the ``pip`` solver for ``virtualenv`` - ``asv`` will now use ``conda_environment_file`` if it exists (1325) Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ``asv`` timestamps via ``datetime`` are now Python 3.12 compatible (1331) - ``asv`` now provides ``asv[virtualenv]`` as an installable target - ``asv`` now uses Github Actions exclusively for Windows and Linux ``` ### 0.6.0 ``` ---------------------------- New Features ^^^^^^^^^^^^ - ``asv_runner`` is now used internally, making the addition of custom benchmark types viable (1287) - Benchmarks can be skipped, both wholly and in part using new decorators ``skip_benchmark_if`` and ``skip_params_if`` (1309) - Benchmarks can be skipped during their execution (after setup) by raising ``SkipNotImplemented`` (1307) - Added ``default_benchmark_timeout`` to the configuration object, can also be passed via ``-a timeout=NUMBER`` (1308) - ``ASV_RUNNER_PATH`` can be set from the terminal to test newer versions of ``asv_runner`` (1312) API Changes ^^^^^^^^^^^ - Removed ``asv dev`` in favor of using ``asv run`` with the right arguments (1200) - ``asv run`` and ``asv continuous`` don't implement the ``--strict`` option anymore, and they will always return a non-zero (i.e. ``2``) exit status if any benchmark fail. Bug Fixes ^^^^^^^^^ - Fixed ``install_timeout`` for ``conda`` (1310) - Fixed handling of local ``pip`` matrix (1312) - Fixed the deadlock when mamba is used with an environment file. (1300) - Fixed environment file usage with mamba and recognizes default ``environment.yml``. (1303) Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ``mamba`` and ``conda`` use ``environment.yml`` if it exists - ``virtualenv`` now requires ``packaging`` due to ``distutils`` deprecations (1240) - Wheels are now built for CPython ``3.8, 3.9, 3.10, 3.11`` ``` ### 0.5.1 ``` ------------------ Bug Fixes ^^^^^^^^^ - Packaging ``requirements-dev.txt`` file, used in ``setup.py``. (1013) ``` ### 0.5 ``` ---------------- New Features ^^^^^^^^^^^^ - Adding environment variables to build and benchmark commands. (809, 833) - Added ``--strict`` option to ``asv run`` to set exit code on failure. (865) - Added ``--no-stats`` option to ``asv compare`` and ``asv continuous``. (879) - Added ``--durations`` option to ``asv run`` and ``asv show`` for displaying benchmark run durations. (838) - Added ``--date-period`` option to ``asv run`` for running benchmarks for commits separated by a constant time interval. (835) - Web UI button to group regressions by benchmark. (869) - Space-saving v2 file format for storing results. (847) - ``timeraw_*`` benchmarks for measuring e.g. import times. (832) - Support for using conda environment files for env setup. (793) API Changes ^^^^^^^^^^^ - Results file format change requires ``asv update`` to update old data to v2 format. - The configuration syntax for "matrix", "exclude", and "include" in ``asv.conf.json`` has changed. The old syntax is still supported, unless you are installing packages named ``req``, ``env``, ``env_nobuild``. Bug Fixes ^^^^^^^^^ - When an ``asv find`` step fails due to timeout, assume runtime equal to timeout to allow bisection to proceed (768) - Minor fixes and improvements (897, 896, 888, 881, 877, 876, 875, 861, 870, 868, 867, 866, 864, 863, 857, 786, 854, 855, 852, 850, 844, 843, 842, 839, 841, 840, 837, 836, 834, 831, 830, 829, 828, 826, 825, 824) Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Uniqueness of ``repr()`` for ``param`` objects is now guaranteed by suffixing unique identifier corresponding to order of appearance. (771) - Memory addresses are now stripped from the ``repr()`` of ``param`` elements, allowing comparison across multiple runs. (771) - ``asv dev`` is now equivalent to ``asv run`` with ``--python=same`` default. (874) - ``asv continuous`` by default now records measurement samples, for better comparison statistics. (878) - ASV now uses PEP 518 ``pyproject.toml`` in packaging. (853) ``` ### 0.4.1 ``` ------------------ - Change wheel installation default command to chdir away from build directory instead of ``--force-install``. (823) ``` ### 0.4 ``` ---------------- New Features ^^^^^^^^^^^^ - ``asv check`` command for a quick check of benchmark suite validity. (782) - ``asv run HASHFILE:filename`` can read commit hashes to run from file or stdin (768) - ``--set-commit-hash`` option to ``asv run``, which allows recording results from runs in "existing" environments not managed by asv (794) - ``--cpu-affinity`` option to ``asv run`` and others, to set CPU affinity (769) - "Hide legend" option in web UI (807) - ``pretty_source`` benchmark attribute for customizing source code shown (810) - Record number of cores in machine information (761) API Changes ^^^^^^^^^^^ - Default timer changed from ``process_time()`` to ``timeit.default_timer()`` to fix resolution issues on Windows. Old behavior can be restored by setting ``Benchmark.timer = time.process_time`` (780) Bug Fixes ^^^^^^^^^ - Fix pip command line in ``install_command`` (806) - Python 3.8 compatibility (814) - Minor fixes and improvements (759, 764, 767, 772, 779, 783, 784, 787, 790, 795, 799, 804, 812, 813, 815, 816, 817, 818, 820) Other Changes and Additions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - In case of significant changes ``asv continuous`` message now reports if performance decreased or increased. ``` ### 0.3.1 ``` ------------------ Minor bugfixes and improvements. - Use measured uncertainties to weigh step detection. (753) - Detect also single-commit regressions, if significant. (745) - Use proper two-sample test when raw results available. (754) - Use a better regression "badness" measure. (744) - Display verbose command output immediately, not when command completes. (747) - Fix handling of benchmark suite import failures in forkserver and benchmark discovery. (743, 742) - Fix forkserver child process handling. - In asv test suite, use dummy conda packages. (738) - Other minor fixes (756, 750, 749, 746) ```
Links - PyPI: https://pypi.org/project/asv - Changelog: https://data.safetycli.com/changelogs/asv/
pyup-bot commented 5 months ago

Closing this in favor of #931