From 7b624bb092bababb7180938d70515090bce29945 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Mon, 16 Mar 2020 22:04:07 -0400 Subject: [PATCH] Release 77.0 Signed-off-by: Cleber Rosa --- VERSION | 2 +- docs/source/releases/77_0.rst | 81 +++++++++++++++++++ docs/source/releases/index.rst | 1 + optional_plugins/glib/VERSION | 2 +- optional_plugins/golang/VERSION | 2 +- optional_plugins/html/VERSION | 2 +- optional_plugins/loader_yaml/VERSION | 2 +- optional_plugins/result_upload/VERSION | 2 +- optional_plugins/resultsdb/VERSION | 2 +- optional_plugins/robot/VERSION | 2 +- optional_plugins/runner_docker/VERSION | 2 +- optional_plugins/runner_remote/VERSION | 2 +- optional_plugins/runner_vm/VERSION | 2 +- optional_plugins/varianter_cit/VERSION | 2 +- optional_plugins/varianter_pict/VERSION | 2 +- .../varianter_yaml_to_mux/VERSION | 2 +- python-avocado.spec | 11 ++- 17 files changed, 103 insertions(+), 18 deletions(-) create mode 100644 docs/source/releases/77_0.rst diff --git a/VERSION b/VERSION index e6e804c2..29179ad4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/docs/source/releases/77_0.rst b/docs/source/releases/77_0.rst new file mode 100644 index 00000000..a7cfd688 --- /dev/null +++ b/docs/source/releases/77_0.rst @@ -0,0 +1,81 @@ +================= +77.0 The Hangover +================= + +The Avocado team is proud to present another release: Avocado 77.0, +AKA "The Hangover", is now available! + +Release documentation: `Avocado 77.0 +`_ + +Users/Test Writers +================== + +* The :meth:`avocado.Test.fetch_asset + ` method now has two new + parameters: ``find_only`` and ``cancel_on_missing``. These can be + combined to cancel tests if the asset is missing after a download + attempt (``find_only=False``) or only if it's present in the local + system without a download having been attempted during the test + (``find_only=True``). This can bring better determinism for tests + that would download sizable assets, and/or allow test jobs to be + executable in offline environments. + +* The ``avocado-software-manager`` script, a frontend to the + :mod:`avocado.utils.software_manager` module, now produces output as + expected from a script. + +* The ``multiplex`` command, an alias to ``variants``, has been + deprecated for a long time, and has now finally been removed. + +Bug Fixes +========= + +* When a dry-run is executed, by passing the ``--dry-run`` command + line option, the proper file name of the test will be shown, instead + of the file implementing the "fake" :class:`avocado.core.test.DryRun` + class. + +* Users of :mod:`avocado.utils.ssh.Session` as a context manager, would + have all the exceptions captured and suppressed because of a buggy + ``__exit__`` implementation. + +Utility APIs +============ + +* The new :mod:`avocado.utils.pmem` module provides an interface for + manage persistent memory. It allows for creating, deleting, + enabling, disabling and re-configuring both namespaces and regions + depending on supported hardware. It wraps the features present on + the ``ndctl`` and ``daxctl`` binaries. + +* The new :meth:`avocado.utils.ssh.Session.get_raw_ssh_commands` allows + access to the generated (local) commands, which could be used for advanced + use cases, such as running multiple (remote) commands in a test. + See the ``examples/apis/utils/ssh.py`` for an example. + +* The :mod:`avocado.utils.network` module received a complete + overhaul, and provides features for getting, checking and setting + network information from local and even remote hosts. + +* Better documentation for the :mod:`avocado.utils.ssh`, + :mod:`avocado.utils.cloudinit`, :mod:`avocado.utils.service` and + other modules. + +Internal Changes +================ + +* The foundation of the :doc:`/blueprints/BP001` has been implemented, + in the form of the :mod:`avocado.core.future.settings` and by + adjusting pretty much all of Avocado's code to make use of it. In + the near future, this is going to replace :mod:`avocado.core.settings`. + +* It's now easier to write a runner script that extends the types + of runnables supported by the N(ext) Runner. For an example, please + refer to ``examples/nrunner/runners/avocado-runner-foo``. + +* Many more refactors on the :mod:`avocado.utils.asset` module. + +For more information, please check out the complete +`Avocado changelog +`_. diff --git a/docs/source/releases/index.rst b/docs/source/releases/index.rst index a56aa3e4..d13e69f9 100644 --- a/docs/source/releases/index.rst +++ b/docs/source/releases/index.rst @@ -34,6 +34,7 @@ Regular Releases .. toctree:: :maxdepth: 1 + 77_0 76_0 75_1 75_0 diff --git a/optional_plugins/glib/VERSION b/optional_plugins/glib/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/glib/VERSION +++ b/optional_plugins/glib/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/golang/VERSION b/optional_plugins/golang/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/golang/VERSION +++ b/optional_plugins/golang/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/html/VERSION b/optional_plugins/html/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/html/VERSION +++ b/optional_plugins/html/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/loader_yaml/VERSION b/optional_plugins/loader_yaml/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/loader_yaml/VERSION +++ b/optional_plugins/loader_yaml/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/result_upload/VERSION b/optional_plugins/result_upload/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/result_upload/VERSION +++ b/optional_plugins/result_upload/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/resultsdb/VERSION b/optional_plugins/resultsdb/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/resultsdb/VERSION +++ b/optional_plugins/resultsdb/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/robot/VERSION b/optional_plugins/robot/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/robot/VERSION +++ b/optional_plugins/robot/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/runner_docker/VERSION b/optional_plugins/runner_docker/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/runner_docker/VERSION +++ b/optional_plugins/runner_docker/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/runner_remote/VERSION b/optional_plugins/runner_remote/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/runner_remote/VERSION +++ b/optional_plugins/runner_remote/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/runner_vm/VERSION b/optional_plugins/runner_vm/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/runner_vm/VERSION +++ b/optional_plugins/runner_vm/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/varianter_cit/VERSION b/optional_plugins/varianter_cit/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/varianter_cit/VERSION +++ b/optional_plugins/varianter_cit/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/varianter_pict/VERSION b/optional_plugins/varianter_pict/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/varianter_pict/VERSION +++ b/optional_plugins/varianter_pict/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/optional_plugins/varianter_yaml_to_mux/VERSION b/optional_plugins/varianter_yaml_to_mux/VERSION index e6e804c2..29179ad4 100644 --- a/optional_plugins/varianter_yaml_to_mux/VERSION +++ b/optional_plugins/varianter_yaml_to_mux/VERSION @@ -1 +1 @@ -76.0 +77.0 diff --git a/python-avocado.spec b/python-avocado.spec index dc95df43..ce80c6e3 100644 --- a/python-avocado.spec +++ b/python-avocado.spec @@ -10,10 +10,10 @@ %global gittar %{srcname}-%{version}.tar.gz %else %if ! 0%{?commit:1} - %global commit b77ba36a9aaecd71d71c25150d8ffcaf0730f144 + %global commit 010f5d90737dc8f868a64fea1b38ee7bb6aea964 %endif %if ! 0%{?commit_date:1} - %global commit_date 20200120 + %global commit_date 20200317 %endif %global shortcommit %(c=%{commit};echo ${c:0:8}) %global gitrel .%{commit_date}git%{shortcommit} @@ -58,8 +58,8 @@ Summary: Framework with tools and libraries for Automated Testing Name: python-%{srcname} -Version: 76.0 -Release: 1%{?gitrel}%{?dist} +Version: 77.0 +Release: 0%{?gitrel}%{?dist} License: GPLv2 Group: Development/Tools URL: http://avocado-framework.github.io/ @@ -604,6 +604,9 @@ Again Shell code (and possibly other similar shells). %{_libexecdir}/avocado* %changelog +* Tue Mar 17 2020 Cleber Rosa - 77.0-0 +- New release + * Mon Mar 16 2020 Cleber Rosa - 76.0-1 - Removed PYTHONWARNINGS environment variable when running tests -- GitLab