pip module's new list-of-names feature (v2.2) breaks pip's "extras" #19131
Labels
affects_2.2
This issue/PR affects Ansible v2.2
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
python3
ISSUE TYPE
COMPONENT NAME
pip
ANSIBLE VERSION
CONFIGURATION
No changes.
OS / ENVIRONMENT
Debian GNU/Linux testing (stretch)
SUMMARY
With the new support for list of names in 2.2, listing pip-supported setuptools "extras" is broken. "extras" are optional package features. See example 6 in pip examples and Declaring “Extras” (optional features with their own dependencies) in setuptools documentation for more information on "extras".
Moved from ansible/ansible-modules-core#5843.
STEPS TO REPRODUCE
EXPECTED RESULTS
buildbot==0.9.1 is installed with the bundle and tls extras/options. This works with pre-2.2 versions of Ansible.
ACTUAL RESULTS
The comma separating the extras is instead interpreted as separating multiple python packages for pip to install:
Invalid requirement: 'buildbot[bundle==0.9.1
.The text was updated successfully, but these errors were encountered: