From b54e3f91d60a38a6811bce0a7d4bc332d9d9ec4f Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 7 Aug 2023 15:09:20 -0500 Subject: [PATCH] New release v2.15.3rc1 (#81459) --- changelogs/CHANGELOG-v2.15.rst | 44 +++++++++++ changelogs/changelog.yaml | 85 +++++++++++++++++++++ changelogs/fragments/2.15.3rc1_summary.yaml | 3 + lib/ansible/release.py | 2 +- 4 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/2.15.3rc1_summary.yaml diff --git a/changelogs/CHANGELOG-v2.15.rst b/changelogs/CHANGELOG-v2.15.rst index 8970b29c9dd..e00e535068d 100644 --- a/changelogs/CHANGELOG-v2.15.rst +++ b/changelogs/CHANGELOG-v2.15.rst @@ -5,6 +5,50 @@ ansible-core 2.15 "Ten Years Gone" Release Notes .. contents:: Topics +v2.15.3rc1 +========== + +Release Summary +--------------- + +| Release Date: 2023-08-07 +| `Porting Guide `__ + + +Minor Changes +------------- + +- Removed ``exclude`` and ``recursive-exclude`` commands for generated files from the ``MANIFEST.in`` file. These excludes were unnecessary since releases are expected to be built with a clean worktree. +- Removed ``exclude`` commands for sanity test files from the ``MANIFEST.in`` file. These tests were previously excluded because they did not pass when run from an sdist. However, sanity tests are not expected to pass from an sdist, so excluding some (but not all) of the failing tests makes little sense. +- Removed redundant ``include`` commands from the ``MANIFEST.in`` file. These includes either duplicated default behavior or another command. +- The ``ansible-core`` sdist no longer contains pre-generated man pages. Instead, a ``packaging/cli-doc/build.py`` script is included in the sdist. This script can generate man pages and standalone RST documentation for ``ansible-core`` CLI programs. +- The ``docs`` and ``examples`` directories are no longer included in the ``ansible-core`` sdist. These directories have been moved to the https://github.com/ansible/ansible-documentation repository. +- Use ``include`` where ``recursive-include`` is unnecessary in the ``MANIFEST.in`` file. +- ansible-test - Update the logic used to detect when ``ansible-test`` is running from source. +- ansible-test - Updated the CloudStack test container to version 1.6.1. + +Bugfixes +-------- + +- Exclude internal options from man pages and docs. +- Fix ``ansible-config init`` man page option indentation. +- The ``ansible-config init`` command now has a documentation description. +- The ``ansible-galaxy collection download`` command now has a documentation description. +- The ``ansible-galaxy collection install`` command documentation is now visible (previously hidden by a decorator). +- The ``ansible-galaxy collection verify`` command now has a documentation description. +- The ``ansible-galaxy role install`` command documentation is now visible (previously hidden by a decorator). +- The ``ansible-inventory`` command command now has a documentation description (previously used as the epilog). +- Update module_utils.urls unit test to work with cryptography >= 41.0.0. +- When generating man pages, use ``func`` to find the command function instead of looking it up by the command name. +- ``ansible-galaxy`` now considers all collection paths when identifying which collection requirements are already installed. Use the ``COLLECTIONS_PATHS`` and ``COLLECTIONS_SCAN_SYS_PATHS`` config options to modify these. Previously only the install path was considered when resolving the candidates. The install path will remain the only one potentially modified. (https://github.com/ansible/ansible/issues/79767, https://github.com/ansible/ansible/issues/81163) +- ansible-test - Fix several possible tracebacks when using the ``-e`` option with sanity tests. +- ansible-test - Pre-build a PyYAML wheel before installing requirements to avoid a potential Cython build failure. +- ansible-test - Remove redundant warning about missing programs before attempting to execute them. +- core will now also look at the connection plugin to force 'local' interpreter for networking path compatibility as just ansible_network_os could be misleading. +- man page build - Sub commands of ``ansible-galaxy role`` and ``ansible-galaxy collection`` are now documented. +- password_hash - fix salt format for ``crypt`` (only used if ``passlib`` is not installed) for the ``bcrypt`` algorithm. +- urls.py - fixed cert_file and key_file parameters when running on Python 3.12 - https://github.com/ansible/ansible/issues/80490 + v2.15.2 ======= diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index a3d73d2a69e..9507683b36d 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -973,3 +973,88 @@ releases: - dnf5-test-env-groups.yml - long-collection-paths-fix.yml release_date: '2023-07-10' + 2.15.3rc1: + changes: + bugfixes: + - Exclude internal options from man pages and docs. + - Fix ``ansible-config init`` man page option indentation. + - The ``ansible-config init`` command now has a documentation description. + - The ``ansible-galaxy collection download`` command now has a documentation + description. + - The ``ansible-galaxy collection install`` command documentation is now visible + (previously hidden by a decorator). + - The ``ansible-galaxy collection verify`` command now has a documentation description. + - The ``ansible-galaxy role install`` command documentation is now visible (previously + hidden by a decorator). + - The ``ansible-inventory`` command command now has a documentation description + (previously used as the epilog). + - Update module_utils.urls unit test to work with cryptography >= 41.0.0. + - When generating man pages, use ``func`` to find the command function instead + of looking it up by the command name. + - '``ansible-galaxy`` now considers all collection paths when identifying which + collection requirements are already installed. Use the ``COLLECTIONS_PATHS`` + and ``COLLECTIONS_SCAN_SYS_PATHS`` config options to modify these. Previously + only the install path was considered when resolving the candidates. The install + path will remain the only one potentially modified. (https://github.com/ansible/ansible/issues/79767, + https://github.com/ansible/ansible/issues/81163)' + - ansible-test - Fix several possible tracebacks when using the ``-e`` option + with sanity tests. + - ansible-test - Pre-build a PyYAML wheel before installing requirements to + avoid a potential Cython build failure. + - ansible-test - Remove redundant warning about missing programs before attempting + to execute them. + - core will now also look at the connection plugin to force 'local' interpreter + for networking path compatibility as just ansible_network_os could be misleading. + - man page build - Sub commands of ``ansible-galaxy role`` and ``ansible-galaxy + collection`` are now documented. + - password_hash - fix salt format for ``crypt`` (only used if ``passlib`` is + not installed) for the ``bcrypt`` algorithm. + - urls.py - fixed cert_file and key_file parameters when running on Python 3.12 + - https://github.com/ansible/ansible/issues/80490 + minor_changes: + - Removed ``exclude`` and ``recursive-exclude`` commands for generated files + from the ``MANIFEST.in`` file. These excludes were unnecessary since releases + are expected to be built with a clean worktree. + - Removed ``exclude`` commands for sanity test files from the ``MANIFEST.in`` + file. These tests were previously excluded because they did not pass when + run from an sdist. However, sanity tests are not expected to pass from an + sdist, so excluding some (but not all) of the failing tests makes little sense. + - Removed redundant ``include`` commands from the ``MANIFEST.in`` file. These + includes either duplicated default behavior or another command. + - The ``ansible-core`` sdist no longer contains pre-generated man pages. Instead, + a ``packaging/cli-doc/build.py`` script is included in the sdist. This script + can generate man pages and standalone RST documentation for ``ansible-core`` + CLI programs. + - The ``docs`` and ``examples`` directories are no longer included in the ``ansible-core`` + sdist. These directories have been moved to the https://github.com/ansible/ansible-documentation + repository. + - Use ``include`` where ``recursive-include`` is unnecessary in the ``MANIFEST.in`` + file. + - ansible-test - Update the logic used to detect when ``ansible-test`` is running + from source. + - ansible-test - Updated the CloudStack test container to version 1.6.1. + release_summary: '| Release Date: 2023-08-07 + + | `Porting Guide `__ + + ' + codename: Ten Years Gone + fragments: + - 2.15.3rc1_summary.yaml + - 81319-cloudstack-test-container-bump-version.yml + - a-g-col-prevent-reinstalling-satisfied-req.yml + - add-missing-cli-docs.yml + - ansible-test-explain-traceback.yml + - ansible-test-layout-detection.yml + - ansible-test-pyyaml-build.yml + - forced_local+fix+.yml + - man-page-subcommands.yml + - manifest-in-cleanup.yml + - missing-doc-func.yml + - omit-man-pages-from-sdist.yml + - password_hash-fix-crypt-salt-bcrypt.yml + - remove-docs-examples.yml + - suppressed-options.yml + - urls-client-cert-py12.yml + - urls-unit-test-latest-cryptography.yml + release_date: '2023-08-07' diff --git a/changelogs/fragments/2.15.3rc1_summary.yaml b/changelogs/fragments/2.15.3rc1_summary.yaml new file mode 100644 index 00000000000..885543f2cfe --- /dev/null +++ b/changelogs/fragments/2.15.3rc1_summary.yaml @@ -0,0 +1,3 @@ +release_summary: | + | Release Date: 2023-08-07 + | `Porting Guide `__ diff --git a/lib/ansible/release.py b/lib/ansible/release.py index 2c70f7b556f..11a24b6ff20 100644 --- a/lib/ansible/release.py +++ b/lib/ansible/release.py @@ -19,6 +19,6 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -__version__ = '2.15.2.post0' +__version__ = '2.15.3rc1' __author__ = 'Ansible, Inc.' __codename__ = "Ten Years Gone"