Hi Nico,

> > Ansible 5.3.0 includes the newly released ansible-core 2.12.2 as
> > well as a curated set of Ansible collections to provide a vast
> > number of modules and plugins.  
> 
> I hate to sound like a broken record here, but could we please stop
> claiming that ansible-core is included in ansible?

no, because that is how we see the Ansible (PyPi) package. Ansible is
the "batteries included" package containing (!) both ansible-core and a
set of community collections. And it is what the docsite
(https://docs.ansible.com/ansible/5/) is describing: it describes both
ansible-core 2.12, the builtin collection of this version ansible-core
(see ansible.builtin in
https://docs.ansible.com/ansible/5/collections/), and a set of
collections included (see the other collections in
https://docs.ansible.com/ansible/5/collections/).

While technically you are right, the contents of the Ansible PyPi
package are a Python module that depends on the ansible-core Python
module, this is not what users expect if they install it, and not what
we document on our docsite. It is - from our point of view - merely an
implementation detail of how we realize what we are documenting and
want to deliver to our users.

> It is a listed requirement in the requirements.txt of the ansible
> package,

(Technical fine print: it is not. There is no requirements.txt file.
The dependencies are specified in setup.py. The might move to setup.cfg
in the future.)

>  but that is really not the same thing as actually including
> any of the same code or built in same compilation step. ansible-core
> can be installed quite distinctly, for example by people who want to
> work around the python 3.8 requirement for a RHEL 7 or RHEL 8 system
> and do this:
> 
>     pip3 install --user ansible-core
>         # Installs ansible-core 2.11.8, for which EPEL has not
> published an RPM yet, despite my publishing .spec files for it.
>     pip3 install --user ansible --nodeps
>         # Installs latest ansible, which works well with ansible-core
> 2.11 in smoke testing

While you can install the Python module ansible-core 2.11.x with the
Python module ansible 5.x.y, the result will **not** be Ansible 5 (as
documented on https://docs.ansible.com/ansible/5/ or currently also
https://docs.ansible.com/ansible/latest/).

Cheers,
Felix


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20220206134051.6bed46f8%40rovaniemi.

Reply via email to