packages/python/ansible-core/ansible-core-2.14.4-resolvelib_1.1.patch
2023-05-13 22:06:32 +02:00

40 lines
2.2 KiB
Diff

diff -ruN a/lib/ansible/galaxy/dependency_resolution/providers.py b/lib/ansible/galaxy/dependency_resolution/providers.py
--- a/lib/ansible/galaxy/dependency_resolution/providers.py 2023-03-27 19:29:13.000000000 +0200
+++ b/lib/ansible/galaxy/dependency_resolution/providers.py 2023-04-10 22:10:30.216701977 +0200
@@ -42,7 +42,7 @@
# 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("0.9.0")
+RESOLVELIB_UPPERBOUND = SemanticVersion("1.1.0")
RESOLVELIB_VERSION = SemanticVersion.from_loose_version(LooseVersion(resolvelib_version))
@@ -220,7 +220,7 @@
Mapping of identifier, list of named tuple pairs.
The named tuples have the entries ``requirement`` and ``parent``.
- resolvelib >=0.8.0, <= 0.8.1
+ resolvelib >=0.8.0, <= 1.0.1
:param identifier: The value returned by ``identify()``.
diff -ruN a/requirements.txt b/requirements.txt
--- a/requirements.txt 2023-03-27 19:29:13.000000000 +0200
+++ b/requirements.txt 2023-04-11 16:34:09.987613705 +0200
@@ -12,4 +12,4 @@
# 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, < 0.9.0 # dependency resolver used by ansible-galaxy
+resolvelib >= 0.5.3, < 1.1.0 # dependency resolver used by ansible-galaxy
diff -ruN a/test/lib/ansible_test/_data/requirements/ansible.txt b/test/lib/ansible_test/_data/requirements/ansible.txt
--- a/test/lib/ansible_test/_data/requirements/ansible.txt 2023-03-27 19:29:13.000000000 +0200
+++ b/test/lib/ansible_test/_data/requirements/ansible.txt 2023-04-10 22:11:39.433634202 +0200
@@ -12,4 +12,4 @@
# 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, < 0.9.0 # dependency resolver used by ansible-galaxy
+resolvelib >= 0.5.3, < 1.1.0 # dependency resolver used by ansible-galaxy