Skip to content

Latest commit

 

History

History
114 lines (88 loc) · 4.64 KB

60_0.rst

File metadata and controls

114 lines (88 loc) · 4.64 KB

60.0 Better Call Saul

The Avocado team is proud to present another release: Avocado version 60.0, AKA "Better Call Saul", is now available!

Release documentation: Avocado 60.0

The major changes introduced on this version are listed below, roughly categorized into major topics and intended audience:

Users/Test Writers

  • The legacy options --filter-only, --filter-out and --multiplex have now been removed. Please adjust your usage, replacing those options with --mux-filter-only, --mux-filter-out and --mux-yaml respectively.
  • The deprecated skip method, previously part of the :class:`avocado.Test` API, has been removed. To skip a test, you can still use the :func:`avocado.skip`, :func:`avocado.skipIf` and :func:`avocado.skipUnless` decorators.
  • The :meth:`avocado.Test.srcdir` property has been deprecated, and will be removed in the next release. Please use :meth:`avocado.Test.workdir` instead.
  • Python 3 RPM packages are now available for the core Avocado and for many of the plugins. Users can install both versions side by side, and they'll share the same configuration. To run the Python 3 version, run avocado-3 (or avocado-3.x, which x is the minor Python version) instead of avocado.
  • The :mod:`avocado.utils.kernel` library now supports setting the URL that will be used to fetch the Linux kernel from, and can also build installable packages on supported distributions (such as .deb packages on Ubuntu).
  • The :mod:`avocado.utils.process` library now contains helper functions similar to the Python 2 :func:`commands.getstatusoutput` and :func:`commands.getoutput` which can be of help to people porting code from Python 2 to Python 3.

Bug Fixes

  • Each job now gets its own temporary directory, which allows multiple jobs to be used in a single interpreter execution.
  • On some situations, Avocado would, internally, attempt to operate on a closed file, resulting in ValueError: I/O operation on closed file. This has been fixed in the :class:`avocado.utils.process.FDDrainer` class, which will not only check if the file is not closed, but if the file-like object is capable of operations such as fsync().
  • Avocado can now (again) run tests that will produce output in encoding different than the Python standard one. This has been implemented as an Avocado-wide, hard-coded setting, that defines the default encoding to be utf-8. This may be made configurable in the future.

Internal Changes

For more information, please check out the complete Avocado changelog.

Release Meeting

The Avocado release meetings are now open to the community via Hangouts on Air. The meetings are recorded and made available on the Avocado Test Framework YouTube channel.

For this release, you can watch the meeting on this link.