diff --git a/atest/robot/parsing/data_formats/rest.robot b/atest/robot/parsing/data_formats/rest.robot index 791b07887b7..7120a31e463 100644 --- a/atest/robot/parsing/data_formats/rest.robot +++ b/atest/robot/parsing/data_formats/rest.robot @@ -5,6 +5,7 @@ Resource formats_resource.robot *** Test Cases *** One reST using code-directive Run sample file and check tests ${EMPTY} ${RESTDIR}/sample.rst + Stderr Should Be Empty ReST With reST Resource Previous Run Should Have Been Successful diff --git a/atest/testdata/parsing/data_formats/rest/sample.rst b/atest/testdata/parsing/data_formats/rest/sample.rst index f55318ab2ee..679bf4a2c1a 100644 --- a/atest/testdata/parsing/data_formats/rest/sample.rst +++ b/atest/testdata/parsing/data_formats/rest/sample.rst @@ -4,6 +4,10 @@ .. include:: empty.rest .. include:: include.rst +.. Sphinx directive, causes error with plain docutils. +.. highlight:: robotframework + + ReST Test Data Example ====================== diff --git a/doc/releasenotes/rf-4.1.2.rst b/doc/releasenotes/rf-4.1.2.rst index e76c361773a..884e99d4444 100644 --- a/doc/releasenotes/rf-4.1.2.rst +++ b/doc/releasenotes/rf-4.1.2.rst @@ -36,6 +36,9 @@ distribution from PyPI_ and install it manually. For more details and other installation approaches, see the `installation instructions`_. Robot Framework 4.1.2 was released on Friday October 15, 2021. +It contained a small regression related to parsing `reStructuredText +`_ files that was fixed in +`Robot Framework 4.1.3 `_ released on Wednesday December 15, 2021. .. _Robot Framework: http://robotframework.org .. _Robot Framework Foundation: http://robotframework.org/foundation diff --git a/doc/releasenotes/rf-4.1.3.rst b/doc/releasenotes/rf-4.1.3.rst new file mode 100644 index 00000000000..c43557704a2 --- /dev/null +++ b/doc/releasenotes/rf-4.1.3.rst @@ -0,0 +1,61 @@ +===================== +Robot Framework 4.1.3 +===================== + +.. default-role:: code + +`Robot Framework`_ 4.1.3 contains a fix to a regression related to parsing +`reStructuredText `_ files +(`#4124`_) that was introduced in `Robot Framework 4.1.2`_. + +Questions and comments related to the release can be sent to the +`robotframework-users`_ mailing list or to `Robot Framework Slack`_, +and possible bugs submitted to the `issue tracker`_. + +If you have pip_ installed, just run + +:: + + pip install --pre --upgrade robotframework + +to install the latest available release or use + +:: + + pip install robotframework==4.1.3 + +to install exactly this version. Alternatively you can download the source +distribution from PyPI_ and install it manually. For more details and other +installation approaches, see the `installation instructions`_. + +Robot Framework 4.1.3 was released on Wednesday December 15, 2021. + +.. _Robot Framework 4.1.2: https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-4.1.2.rst +.. _Robot Framework: http://robotframework.org +.. _Robot Framework Foundation: http://robotframework.org/foundation +.. _pip: http://pip-installer.org +.. _PyPI: https://pypi.python.org/pypi/robotframework +.. _issue tracker milestone: https://github.com/robotframework/robotframework/issues?q=milestone%3Av4.1.3 +.. _issue tracker: https://github.com/robotframework/robotframework/issues +.. _robotframework-users: http://groups.google.com/group/robotframework-users +.. _Robot Framework Slack: https://robotframework-slack-invite.herokuapp.com +.. _installation instructions: ../../INSTALL.rst + +Full list of fixes and enhancements +=================================== + +.. list-table:: + :header-rows: 1 + + * - ID + - Type + - Priority + - Summary + * - `#4124`_ + - bug + - medium + - Errors emitted for unrecognized reST directives outside the robotframework code block, introduced in v4.1.2 + +Altogether 1 issue. View on the `issue tracker `__. + +.. _#4124: https://github.com/robotframework/robotframework/issues/4124 diff --git a/pom.xml b/pom.xml index e07bb640a6d..736661c4b88 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ robotframework jar Robot Framework - 4.1.2 + 4.1.3 High level test automation framework http://robotframework.org diff --git a/setup.py b/setup.py index 1c45cb400bc..75fe781e028 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ # Version number typically updated by running `invoke set-version `. # Run `invoke --help set-version` or see tasks.py for details. -VERSION = '4.1.2' +VERSION = '4.1.3' with open(join(dirname(abspath(__file__)), 'README.rst')) as f: LONG_DESCRIPTION = f.read() base_url = 'https://github.com/robotframework/robotframework/blob/master' diff --git a/src/robot/utils/restreader.py b/src/robot/utils/restreader.py index 3b152ed7898..e91dfa2d4e6 100644 --- a/src/robot/utils/restreader.py +++ b/src/robot/utils/restreader.py @@ -96,6 +96,7 @@ def read_rest_data(rstfile): source_path=rstfile.name, settings_overrides={ 'input_encoding': 'UTF-8', + 'report_level': 4 }) store = RobotDataStorage(doctree) return store.get_data() diff --git a/src/robot/version.py b/src/robot/version.py index d2a4ea57d12..51be0f65111 100644 --- a/src/robot/version.py +++ b/src/robot/version.py @@ -18,7 +18,7 @@ # Version number typically updated by running `invoke set-version `. # Run `invoke --help set-version` or see tasks.py for details. -VERSION = '4.1.2' +VERSION = '4.1.3' def get_version(naked=False):