86.0 The Dig¶
The Avocado team is proud to present another release: Avocado 86.0, AKA “The Dig”, is now available!
Release documentation: Avocado 86.0
Users/Test Writers¶
The
avocado assetscommand now introduces two new different subcommands:listandpurge. Both allow listing and purging of assets based on their sizes or the number of days since they have been last accessed. For more information please refer to Managing Assets.
Bug Fixes¶
The
avocado replaycommand was calling pre/post plugins twice after a change delegated that responsibility toavocado.core.job.Job.run().The
testlogplugin wasn’t able to show the log location for tests executed via theavocado-runner-avocado-instrumentedrunner (for the nrunner architecture`) and this is now fixed.The
avocado-runner-avocado-instrumentedwas producing duplicate log entries because of Avocado’s log handler for theavocado.core.test.Testwas previously configured to propagate the logged messages.
Utility APIs¶
The
avocado.utils.cpunow makes available a mapping of vendor names to the data that matches in/proc/cpuinfoon that vendor’s CPUs (avocado.utils.cpu.VENDORS_MAP). This allows users to have visibility about the logic used to determine the vendor’s name, and overwrite it if needed.Various documentation improvements for the
avocado.core.multipathmodule.
Internal Changes¶
The
avocado.core.test.Testclass no longer require to be given anavocado.core.job.Jobas an argument. This breaks (in a good way) the circular relationship between those, and opens up the possibility for deprecation of legacy code.A number of lint checks were added.
Remove unnecessary compatibility code for Python 3.4 and earlier.
Misc Changes¶
For more information, please check out the complete Avocado changelog.