mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7662a05085
PR #81606.
Prior to this patch, when `--pre` CLI flag was not passed, the
dependency resolver would treat concrete collection dependency
candidates (Git repositories, subdirs, tarball URLs, or local dirs or
files etc) as not meeting the requirements.
This patch makes it so pre-releases in any concrete artifact
references, and the ones being specifically pinned dependencies or
user requests, met anywhere in the dependency tree, are allowed
unconditionally.
This is achieved by moving the pre-release check from
`is_satisfied_by()` to the `find_matches()` hook, following the
Pip's example.
As a bonus, this change also fixes the situation when a collection
pre-releases weren't considered if it didn't have any stable releases.
This now works even if `--pre` wasn't requested explicitly.
Finally, this patch partially reverts commit
|
1 year ago | |
---|---|---|
.. | ||
build.yml | 1 year ago | |
download.yml | 1 year ago | |
fail_fast_resolvelib.yml | 1 year ago | |
init.yml | 1 year ago | |
install.yml | 1 year ago | |
install_offline.yml | 1 year ago | |
list.yml | 2 years ago | |
main.yml | 1 year ago | |
pinned_pre_releases_in_deptree.yml | 1 year ago | |
publish.yml | 1 year ago | |
pulp.yml | 4 years ago | |
revoke_gpg_key.yml | 2 years ago | |
setup_gpg.yml | 2 years ago | |
supported_resolvelib.yml | 1 year ago | |
unsupported_resolvelib.yml | 2 years ago | |
upgrade.yml | 2 years ago | |
verify.yml | 1 year ago | |
virtual_direct_requests.yml | 1 year ago |