mirror of
https://github.com/ansible/ansible.git
synced 2025-11-30 23:16:08 +07:00
update ansible-galaxy resolvelib requirement to >= 0.5.3, < 2.0.0 (#84218)
* Update resolvelib upperbound to 2.0.0 Minor SemVer releases should not contain breaking changes * Test the latest minor release and reduce number of resolvelib versions tested for efficiency
This commit is contained in:
2
changelogs/fragments/update-resolvelib-lt-2_0_0.yml
Normal file
2
changelogs/fragments/update-resolvelib-lt-2_0_0.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-galaxy - support ``resolvelib >= 0.5.3, < 2.0.0`` (https://github.com/ansible/ansible/issues/84217).
|
||||
@@ -39,7 +39,7 @@ except ImportError:
|
||||
|
||||
# TODO: add python requirements to ansible-test's ansible-core distribution info and remove the hardcoded lowerbound/upperbound fallback
|
||||
RESOLVELIB_LOWERBOUND = SemanticVersion("0.5.3")
|
||||
RESOLVELIB_UPPERBOUND = SemanticVersion("1.1.0")
|
||||
RESOLVELIB_UPPERBOUND = SemanticVersion("2.0.0")
|
||||
RESOLVELIB_VERSION = SemanticVersion.from_loose_version(LooseVersion(resolvelib_version))
|
||||
|
||||
|
||||
|
||||
@@ -12,4 +12,4 @@ packaging
|
||||
# NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
|
||||
# NOTE: When updating the upper bound, also update the latest version used
|
||||
# NOTE: in the ansible-galaxy-collection test suite.
|
||||
resolvelib >= 0.5.3, < 1.1.0 # dependency resolver used by ansible-galaxy
|
||||
resolvelib >= 0.5.3, < 2.0.0 # dependency resolver used by ansible-galaxy
|
||||
|
||||
@@ -4,13 +4,15 @@ gpg_homedir: "{{ galaxy_dir }}/gpg"
|
||||
|
||||
offline_server: https://test-hub.demolab.local/api/galaxy/content/api/
|
||||
|
||||
# Test oldest and most recently supported, and versions with notable changes.
|
||||
# The last breaking change for a feature ansible-galaxy uses was in 0.8.0.
|
||||
# It would be redundant to test every minor version since 0.8.0, so we just test against the latest minor release.
|
||||
# NOTE: If ansible-galaxy incorporates new resolvelib features, this matrix should be updated to verify the features work on all supported versions.
|
||||
supported_resolvelib_versions:
|
||||
- "0.5.3" # Oldest supported
|
||||
- "0.6.0"
|
||||
- "0.7.0"
|
||||
- "0.8.0"
|
||||
- "0.9.0"
|
||||
- "1.0.1"
|
||||
- "0.5.3" # test CollectionDependencyProvider050
|
||||
- "0.6.0" # test CollectionDependencyProvider060
|
||||
- "0.7.0" # test CollectionDependencyProvider070
|
||||
- "<2.0.0" # test CollectionDependencyProvider080
|
||||
|
||||
unsupported_resolvelib_versions:
|
||||
- "0.2.0" # Fails on import
|
||||
|
||||
@@ -12,4 +12,4 @@ packaging
|
||||
# NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
|
||||
# NOTE: When updating the upper bound, also update the latest version used
|
||||
# NOTE: in the ansible-galaxy-collection test suite.
|
||||
resolvelib >= 0.5.3, < 1.1.0 # dependency resolver used by ansible-galaxy
|
||||
resolvelib >= 0.5.3, < 2.0.0 # dependency resolver used by ansible-galaxy
|
||||
|
||||
Reference in New Issue
Block a user