forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ansible-test collections requirements installation. (ansible#62181)
* Fix location of unit test requirements. * Preserve ansible-test unit test requirements. * Remove redundant unit test requirements. * Fix location of network test requirements. * Preserve ansible-test network test requirements. * Remove redundant network test requirements. * Add missing ordereddict requirements. * Load collection requirements correctly. * Add changelog fragment.
- Loading branch information
1 parent
fdc8d88
commit 80c1dda
Showing
8 changed files
with
74 additions
and
47 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelogs/fragments/ansible-test-collections-requirements.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bugfixes: | ||
- ansible-test now correctly installs the requirements specified by the collection's unit and integration tests | ||
instead of the requirements specified for Ansible's own unit and integration tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pexpect # for _user test | ||
scp # for Cisco ios | ||
selectors2 # for ncclient | ||
ncclient # for Junos | ||
jxmlease # for Junos |
6 changes: 1 addition & 5 deletions
6
test/lib/ansible_test/_data/requirements/network-integration.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
cryptography | ||
jinja2 | ||
junit-xml | ||
ordereddict ; python_version < '2.7' # ansible-test junit callback plugin requirement | ||
paramiko | ||
pyyaml | ||
pexpect # for _user test | ||
scp # for Cisco ios | ||
selectors2 # for ncclient | ||
ncclient # for Junos | ||
jxmlease # for Junos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,7 @@ | ||
boto3 | ||
placebo | ||
cryptography | ||
pycrypto | ||
jinja2 | ||
mock | ||
passlib | ||
pypsrp | ||
pytest | ||
pytest-mock | ||
pytest-xdist | ||
python-memcached | ||
pytz | ||
pyvmomi | ||
pyyaml | ||
redis | ||
requests | ||
setuptools > 0.6 # pytest-xdist installed via requirements does not work with very old setuptools (sanity_ok) | ||
unittest2 ; python_version < '2.7' | ||
importlib ; python_version < '2.7' | ||
netaddr | ||
ipaddress | ||
netapp-lib | ||
solidfire-sdk-python | ||
|
||
# requirements for F5 specific modules | ||
f5-sdk ; python_version >= '2.7' | ||
f5-icontrol-rest ; python_version >= '2.7' | ||
deepdiff | ||
|
||
# requirement for Fortinet specific modules | ||
pyFMG | ||
|
||
# requirement for aci_rest module | ||
xmljson | ||
|
||
# requirement for winrm connection plugin tests | ||
pexpect | ||
|
||
# requirement for the linode module | ||
linode-python # APIv3 | ||
linode_api4 ; python_version > '2.6' # APIv4 | ||
|
||
# requirement for the gitlab module | ||
python-gitlab | ||
httmock | ||
|
||
# requirment for kubevirt modules | ||
openshift ; python_version >= '2.7' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
boto3 | ||
placebo | ||
pycrypto | ||
passlib | ||
pypsrp | ||
python-memcached | ||
pytz | ||
pyvmomi | ||
redis | ||
requests | ||
setuptools > 0.6 # pytest-xdist installed via requirements does not work with very old setuptools (sanity_ok) | ||
unittest2 ; python_version < '2.7' | ||
importlib ; python_version < '2.7' | ||
netaddr | ||
ipaddress | ||
netapp-lib | ||
solidfire-sdk-python | ||
|
||
# requirements for F5 specific modules | ||
f5-sdk ; python_version >= '2.7' | ||
f5-icontrol-rest ; python_version >= '2.7' | ||
deepdiff | ||
|
||
# requirement for Fortinet specific modules | ||
pyFMG | ||
|
||
# requirement for aci_rest module | ||
xmljson | ||
|
||
# requirement for winrm connection plugin tests | ||
pexpect | ||
|
||
# requirement for the linode module | ||
linode-python # APIv3 | ||
linode_api4 ; python_version > '2.6' # APIv4 | ||
|
||
# requirement for the gitlab module | ||
python-gitlab | ||
httmock | ||
|
||
# requirment for kubevirt modules | ||
openshift ; python_version >= '2.7' |