ansible/test/lib/ansible_test/_data/requirements
Sviatoslav Sydorenko 595413d113
Replace the inhouse collection dependency resolver with resolvelib
PR #72591

This change:

  * Adds an artifacts manager that abstracts away extracting the
    metadata from artifacts, downloading and caching them in a
    temporary location.

  * Adds `resolvelib` to direct ansible-core dependencies[0].

  * Implements a `resolvelib`-based dependency resolver for
    `collection` subcommands that replaces the legacy
    in-house code.

    This is a dependency resolution library that pip 20.3+ uses
    by default. It's now integrated for use for the collection
    dependency resolution in ansible-galaxy CLI.

  * Refactors of the `ansible-galaxy collection` CLI.
    In particular, it:

      - reimplements most of the `download`, `install`, `list` and
        `verify` subcommands from scratch;

      - reuses helper bits previously moved out into external modules;

      - replaces the old in-house resolver with a more clear
        implementation based on the resolvelib library[0][1][2].

  * Adds a multi Galaxy API proxy layer that abstracts accessing the
    version and dependencies via API or local artifacts manager.

  * Makes `GalaxyAPI` instances sortable.

  * Adds string representation methods to `GalaxyAPI`.

  * Adds dev representation to `GalaxyAPI`.

  * Removes unnecessary integration and unit tests.

  * Aligns the tests with the new expectations.

  * Adds more tests, integration ones in particular.

[0]: https://pypi.org/p/resolvelib
[1]: https://github.com/sarugaku/resolvelib
[2]: https://pradyunsg.me/blog/2020/03/27/pip-resolver-testing

Co-Authored-By: Jordan Borean <jborean93@gmail.com>
Co-Authored-By: Matt Clay <matt@mystile.com>
Co-Authored-By: Sam Doran <sdoran@redhat.com>
Co-Authored-By: Sloane Hertel <shertel@redhat.com>
Co-Authored-By: Sviatoslav Sydorenko <webknjaz@redhat.com>

Signed-Off-By: Sviatoslav Sydorenko <webknjaz@redhat.com>
2021-01-27 22:23:22 +01:00
..
ansible-test.txt Fix ansible-test requirements installation. 2020-03-29 08:46:25 -07:00
constraints.txt Replace the inhouse collection dependency resolver with resolvelib 2021-01-27 22:23:22 +01:00
coverage.txt
integration.cloud.aws.txt
integration.cloud.azure.txt
integration.cloud.cs.txt
integration.cloud.hcloud.txt
integration.cloud.nios.txt
integration.cloud.opennebula.txt
integration.cloud.openshift.txt
integration.cloud.vcenter.txt
integration.txt Replace the inhouse collection dependency resolver with resolvelib 2021-01-27 22:23:22 +01:00
network-integration.txt collection routing (#67684) 2020-05-26 09:42:06 -07:00
sanity.ansible-doc.txt Rename to ansible-core (#72594) 2020-11-13 15:42:10 -06:00
sanity.changelog.txt Use antsibull-changelog instead of packaged changelog generator (#69313) 2020-06-11 11:21:21 -07:00
sanity.import.txt Split out and install sanity test requirements. (#69971) 2020-06-09 13:38:36 -07:00
sanity.integration-aliases.txt Use AZP config for integration-aliases test. 2020-12-03 15:35:58 -08:00
sanity.pep8.txt Split out and install sanity test requirements. (#69971) 2020-06-09 13:38:36 -07:00
sanity.ps1 ansible-test - skip installing PowerShell sanity test reqs if they are already installed (#72423) 2020-10-30 21:52:27 -04:00
sanity.pylint.txt Update ansible-test pylint Python support. (#72972) 2020-12-15 10:27:32 -08:00
sanity.rstcheck.txt Split out and install sanity test requirements. (#69971) 2020-06-09 13:38:36 -07:00
sanity.runtime-metadata.txt validate ansible-base's and collections runtime.yml (#69742) 2020-06-12 15:34:34 +01:00
sanity.validate-modules.txt Rename to ansible-core (#72594) 2020-11-13 15:42:10 -06:00
sanity.yamllint.txt Split out and install sanity test requirements. (#69971) 2020-06-09 13:38:36 -07:00
units.txt Replace the inhouse collection dependency resolver with resolvelib 2021-01-27 22:23:22 +01:00
windows-integration.txt collection routing (#67684) 2020-05-26 09:42:06 -07:00