File tree 5 files changed +13
-9
lines changed
lib/ansible/galaxy/dependency_resolution
integration/targets/ansible-galaxy-collection/vars
lib/ansible_test/_data/requirements
5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change
1
+ minor_changes :
2
+ - ansible-galaxy - support ``resolvelib >= 0.5.3, < 2.0.0`` (https://github.com/ansible/ansible/issues/84217).
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class AbstractProvider: # type: ignore[no-redef]
39
39
40
40
# TODO: add python requirements to ansible-test's ansible-core distribution info and remove the hardcoded lowerbound/upperbound fallback
41
41
RESOLVELIB_LOWERBOUND = SemanticVersion ("0.5.3" )
42
- RESOLVELIB_UPPERBOUND = SemanticVersion ("1.1 .0" )
42
+ RESOLVELIB_UPPERBOUND = SemanticVersion ("2.0 .0" )
43
43
RESOLVELIB_VERSION = SemanticVersion .from_loose_version (LooseVersion (resolvelib_version ))
44
44
45
45
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ packaging
12
12
# NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
13
13
# NOTE: When updating the upper bound, also update the latest version used
14
14
# NOTE: in the ansible-galaxy-collection test suite.
15
- resolvelib >= 0.5.3 , < 1.1 .0 # dependency resolver used by ansible-galaxy
15
+ resolvelib >= 0.5.3 , < 2.0 .0 # dependency resolver used by ansible-galaxy
Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ gpg_homedir: "{{ galaxy_dir }}/gpg"
4
4
5
5
offline_server : https://test-hub.demolab.local/api/galaxy/content/api/
6
6
7
+ # Test oldest and most recently supported, and versions with notable changes.
8
+ # The last breaking change for a feature ansible-galaxy uses was in 0.8.0.
9
+ # It would be redundant to test every minor version since 0.8.0, so we just test against the latest minor release.
10
+ # NOTE: If ansible-galaxy incorporates new resolvelib features, this matrix should be updated to verify the features work on all supported versions.
7
11
supported_resolvelib_versions :
8
- - " 0.5.3" # Oldest supported
9
- - " 0.6.0"
10
- - " 0.7.0"
11
- - " 0.8.0"
12
- - " 0.9.0"
13
- - " 1.0.1"
12
+ - " 0.5.3" # test CollectionDependencyProvider050
13
+ - " 0.6.0" # test CollectionDependencyProvider060
14
+ - " 0.7.0" # test CollectionDependencyProvider070
15
+ - " <2.0.0" # test CollectionDependencyProvider080
14
16
15
17
unsupported_resolvelib_versions :
16
18
- " 0.2.0" # Fails on import
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ packaging
12
12
# NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
13
13
# NOTE: When updating the upper bound, also update the latest version used
14
14
# NOTE: in the ansible-galaxy-collection test suite.
15
- resolvelib >= 0.5.3, < 1.1 .0 # dependency resolver used by ansible-galaxy
15
+ resolvelib >= 0.5.3, < 2.0 .0 # dependency resolver used by ansible-galaxy
You can’t perform that action at this time.
0 commit comments