Hi all, It was brought to our attention that attempting to install Ansible 5 could fail due to the new ansible-core requirement on python >=3.8.
Ansible 5.0.1 raises the python requirement from >=2.7 to >=3.8 in order to match ansible-core. The content of 5.0.1 is otherwise identical to 5.0.0. In addition, the Ansible 5.0.0 release has been removed (yanked) from PyPI in order to allow pip to correctly fall back to Ansible 4.x and ansible-core 2.11 if the python3.8 requirement is not met. If you would like to use the updated set of collections that are included with Ansible 5 while using ansible-core 2.11, a galaxy-requirements.yaml file has been made available: https://github.com/ansible-community/ansible-build-data/blob/main/5/galaxy-requirements.yaml Once the requirement file has been downloaded, collections can be installed by running "ansible-galaxy collection install -r galaxy-requirements.yaml". Getting Ansible 5.0.1 -------------------- Due to a limitation in pip, if you are upgrading from Ansible 3 (or earlier), you need to uninstall ansible and ansible-base before installing Ansible 5: ``` $ pip uninstall ansible ansible-base $ pip install ansible==5.0.0 --user ``` The tar.gz of the release can be found here: Ansible 5.0.1: https://pypi.python.org/packages/source/a/ansible/ansible-5.0.1.tar.gz SHA256: b47cc704bbb69fb387bdaa24a1cb0c5ef0a4253763fd3315ef93ba6ae3a5c376 On behalf of the Ansible community, thank you and happy automating ! On Tue, Nov 30, 2021 at 11:39 AM David Moreau Simard <dmsim...@redhat.com> wrote: > > Hi all, > > We're happy to announce that the Ansible 5.0.0 package has been released ! > > Ansible 5.0.0 includes the newly released ansible-core 2.12 as well as > a curated set of Ansible collections to provide a vast number of > modules and plugins. > This is a major version update from Ansible 4.x which included > ansible-core 2.11 and there may be backwards incompatibilities in the > core playbook language. > > Please see the porting guide (linked at the bottom) for details. > > How to get it > ------------- > > Due to a limitation in pip, if you are upgrading from Ansible 3 (or > earlier), you need to uninstall ansible and ansible-base before > installing Ansible 5: > > ``` > $ pip uninstall ansible ansible-base > $ pip install ansible==5.0.0 --user > ``` > > The tar.gz of the release can be found here: > > Ansible 5.0.0: > https://pypi.python.org/packages/source/a/ansible/ansible-5.0.0.tar.gz > SHA256: 006504b4ba5f355073e0b3f10f317a5684c0ce7a35798b18fa18fbffaedab2a6 > > What's new in Ansible 5.0.0 > --------------------------- > > * The changelog for ansible-core 2.12.0 installed by this release of > ansible is available here: > https://github.com/ansible/ansible/blob/stable-2.12/changelogs/CHANGELOG-v2.12.rst > > * Collections which have opted into being a part of the Ansible-5 > unified changelog will have an entry on this page: > https://github.com/ansible-community/ansible-build-data/blob/main/5/CHANGELOG-v5.rst > > * ansible-core-2.12 now requires Python 3.8 or greater on the > controller (where you run ansible-playbook). > > * Support for python 2.6 for managed nodes is deprecated in > ansible-core 2.12 and will be removed in ansible-core 2.13 (around May > 2022) > > * For collections which have not opted into the unified changelog, you > may find more information on https://galaxy.ansible.com or their > source repository. For example, the community.crypto collection would > be found at https://galaxy.ansible.com/community/crypto and you can > find a link to the source repository under the "Repo" button at the > top right. > > What's the schedule for new Ansible releases after 5.0.0 ? > --------------------------------------------------------- > > * Maintenance releases of Ansible 5.x will occur approximately every > three weeks (Ansible 5.1.0, Ansible 5.2.0, etc) until the release of > Ansible 6.0.0. They will contain bugfixes and new features but no > backwards incompatibilities. > > * Except for ansible-2.9.x, older versions of ansible are no longer > seeing maintenance releases. If there is a desire for maintenance > releases of older versions, drop by a Community Working Group Meeting > to discuss how you can help: > https://github.com/ansible/community/tree/main/meetings#wednesdays > > * The last expected release of Ansible 4.x will be 4.10 around > December 14th 2021. > > Porting Help > ------------- > > A unified porting guide for collections which have opted-in is available here: > https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_5.html > > On behalf of the Ansible community, thank you and happy automating ! -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/CAH7C%2BPoLLUnB4VddpuRO-X40qcssZ_oPR-Fms92HwO-HQHTKWw%40mail.gmail.com.