Bump
This commit is contained in:
4
app-admin/ansible-core/Manifest
Normal file
4
app-admin/ansible-core/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX resolvelib.patch 5731 BLAKE2B fdc0660ea786e02475e7e9735de6493cd6b96048c238ee050d1751a46cce12048112e495e1de48e1d1bb41d5d4415b16dfe294621bd0f6bbb0786c3df52dd35b SHA512 baf5f8c42c85628dffda987dc81b98f56f1a60857f4cc9e6f1b9938f4978d1ba4d84dc7904685dbe02e19a4b91a7a2f979772bbdd42268e6754bcd5208e40d37
|
||||
DIST ansible_core-2.18.1.tar.gz 3069965 BLAKE2B 0c21c36754b32c115eaae452583fd0a51aeed8bbdb3da39464ece24954c1d453e2dd8821be525946211478f1b102dd211994e6c49820574e579bf5cceb67c520 SHA512 acd93e96349bae4a41f9eeed37e810a786103f7826f26bdc8bd98cffdc7ff21b208fa0e916fe3ce6100819373cba7a827488101f33b915ed0e0fdfebe50fab5e
|
||||
EBUILD ansible-core-2.18.1-r1.ebuild 1294 BLAKE2B 3aca7635b576c8fe2ed4aeea449b94315c572b9bb11b548b3fc1602769351f0396c3eda63beab24c2ed3b92b76555d1f38e94e01925092f1d5c10bea39dba04c SHA512 4ea184a3b9c929aac656b07097535fd31dba8b84f89e358411d35cad4401791274cfcd7a167c450b3c9e163fdc74d80618f93a27846a17883953d1606ed954fe
|
||||
MISC metadata.xml 924 BLAKE2B 7dcd1be7a7eea2a5a762ec295d2d285242f9350d377abb1d633c6eb7cdd1eb8f59b02a6908924f424c0b5f42b2f6b3a153523439cc10caef51656c9f75bcd87c SHA512 a6fbf2ee3743ad9d54864c8d22b75cd506f17e1abd6963b3499de55675fed711abf4df6b9fe2589d8ea0b2f93311d06cfbcca7b99469107d708d2bee5cea0694
|
||||
47
app-admin/ansible-core/ansible-core-2.18.1-r1.ebuild
Normal file
47
app-admin/ansible-core/ansible-core-2.18.1-r1.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517="setuptools"
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
# Upstream runs tests via the ansible-test command, which requires the package
|
||||
# to be installed prior to testing. Running the test via pytest in non-trivial
|
||||
# due to the amount of flags that need to be passed.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja2[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-2.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
124
app-admin/ansible-core/files/resolvelib.patch
Normal file
124
app-admin/ansible-core/files/resolvelib.patch
Normal file
@@ -0,0 +1,124 @@
|
||||
From e30959723a9603ff94bc18ba58ee3adbf305a6b6 Mon Sep 17 00:00:00 2001
|
||||
From: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
|
||||
Date: Sun, 12 Mar 2023 23:27:41 +0800
|
||||
Subject: [PATCH] ansible-galaxy - support `resolvelib >= 0.5.3, < 1.1.0`
|
||||
|
||||
<https://pypi.org/project/resolvelib/1.0.1> released on 2023-03-09:
|
||||
|
||||
- <https://github.com/sarugaku/resolvelib/blob/main/CHANGELOG.rst#101-2023-03-09>
|
||||
- <https://github.com/sarugaku/resolvelib/releases/tag/1.0.1>
|
||||
|
||||
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
|
||||
---
|
||||
changelogs/fragments/80196-resolvelib_lt_1_1_0.yml | 2 ++
|
||||
lib/ansible/galaxy/dependency_resolution/providers.py | 4 ++--
|
||||
requirements.txt | 2 +-
|
||||
test/lib/ansible_test/_data/requirements/ansible.txt | 2 +-
|
||||
test/sanity/code-smell/docs-build.requirements.in | 2 +-
|
||||
test/sanity/code-smell/docs-build.requirements.txt | 2 +-
|
||||
test/sanity/code-smell/package-data.requirements.in | 2 +-
|
||||
test/sanity/code-smell/package-data.requirements.txt | 2 +-
|
||||
8 files changed, 10 insertions(+), 8 deletions(-)
|
||||
create mode 100644 changelogs/fragments/80196-resolvelib_lt_1_1_0.yml
|
||||
|
||||
diff --git a/changelogs/fragments/80196-resolvelib_lt_1_1_0.yml b/changelogs/fragments/80196-resolvelib_lt_1_1_0.yml
|
||||
new file mode 100644
|
||||
index 00000000000000..6fd419f0d4f929
|
||||
--- /dev/null
|
||||
+++ b/changelogs/fragments/80196-resolvelib_lt_1_1_0.yml
|
||||
@@ -0,0 +1,2 @@
|
||||
+minor_changes:
|
||||
+ - ansible-galaxy - support ``resolvelib >= 0.5.3, < 1.1.0``.
|
||||
diff --git a/lib/ansible/galaxy/dependency_resolution/providers.py b/lib/ansible/galaxy/dependency_resolution/providers.py
|
||||
index d52006b24d7a77..1dcaf1c8d2cff1 100644
|
||||
--- a/lib/ansible/galaxy/dependency_resolution/providers.py
|
||||
+++ b/lib/ansible/galaxy/dependency_resolution/providers.py
|
||||
@@ -42,7 +42,7 @@ class AbstractProvider: # type: ignore[no-redef]
|
||||
|
||||
# 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 @@ def get_preference(self, *args, **kwargs):
|
||||
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 --git a/requirements.txt b/requirements.txt
|
||||
index d096901ec2bcdb..a07aa985063b6a 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -15,4 +15,4 @@ importlib_resources >= 5.0, < 5.1; python_version < '3.10'
|
||||
# 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 --git a/test/lib/ansible_test/_data/requirements/ansible.txt b/test/lib/ansible_test/_data/requirements/ansible.txt
|
||||
index d096901ec2bcdb..a07aa985063b6a 100644
|
||||
--- a/test/lib/ansible_test/_data/requirements/ansible.txt
|
||||
+++ b/test/lib/ansible_test/_data/requirements/ansible.txt
|
||||
@@ -15,4 +15,4 @@ importlib_resources >= 5.0, < 5.1; python_version < '3.10'
|
||||
# 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 --git a/test/sanity/code-smell/docs-build.requirements.in b/test/sanity/code-smell/docs-build.requirements.in
|
||||
index 80e8f66bc7f6fb..9209dd34ebecdf 100644
|
||||
--- a/test/sanity/code-smell/docs-build.requirements.in
|
||||
+++ b/test/sanity/code-smell/docs-build.requirements.in
|
||||
@@ -1,6 +1,6 @@
|
||||
jinja2
|
||||
pyyaml
|
||||
-resolvelib < 0.9.0
|
||||
+resolvelib < 1.1.0
|
||||
sphinx == 4.2.0
|
||||
sphinx-notfound-page
|
||||
sphinx-ansible-theme
|
||||
diff --git a/test/sanity/code-smell/docs-build.requirements.txt b/test/sanity/code-smell/docs-build.requirements.txt
|
||||
index 663e2c6c53d28a..7b4d563574c595 100644
|
||||
--- a/test/sanity/code-smell/docs-build.requirements.txt
|
||||
+++ b/test/sanity/code-smell/docs-build.requirements.txt
|
||||
@@ -27,7 +27,7 @@ Pygments==2.14.0
|
||||
pytz==2022.2.1
|
||||
PyYAML==6.0
|
||||
requests==2.28.1
|
||||
-resolvelib==0.8.1
|
||||
+resolvelib==1.0.1
|
||||
rstcheck==3.5.0
|
||||
semantic-version==2.10.0
|
||||
sh==1.14.3
|
||||
diff --git a/test/sanity/code-smell/package-data.requirements.in b/test/sanity/code-smell/package-data.requirements.in
|
||||
index acec62eff91ff8..50e8568c5cf8bc 100644
|
||||
--- a/test/sanity/code-smell/package-data.requirements.in
|
||||
+++ b/test/sanity/code-smell/package-data.requirements.in
|
||||
@@ -1,6 +1,6 @@
|
||||
docutils < 0.18 # match version required by sphinx in the docs-build sanity test
|
||||
jinja2
|
||||
pyyaml # ansible-core requirement
|
||||
-resolvelib < 0.9.0
|
||||
+resolvelib < 1.1.0
|
||||
rstcheck < 4 # match version used in other sanity tests
|
||||
antsibull-changelog
|
||||
diff --git a/test/sanity/code-smell/package-data.requirements.txt b/test/sanity/code-smell/package-data.requirements.txt
|
||||
index 6411020e47c67b..afc3cd6418e84d 100644
|
||||
--- a/test/sanity/code-smell/package-data.requirements.txt
|
||||
+++ b/test/sanity/code-smell/package-data.requirements.txt
|
||||
@@ -5,7 +5,7 @@ Jinja2==3.1.2
|
||||
MarkupSafe==2.1.1
|
||||
packaging==21.3
|
||||
pyparsing==3.0.9
|
||||
PyYAML==6.0
|
||||
-resolvelib==0.8.1
|
||||
+resolvelib==1.0.1
|
||||
rstcheck==3.5.0
|
||||
semantic-version==2.10.0
|
||||
types-docutils==1.5.0
|
||||
23
app-admin/ansible-core/metadata.xml
Normal file
23
app-admin/ansible-core/metadata.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">ansible-core</remote-id>
|
||||
<remote-id type="github">ansible/ansible</remote-id>
|
||||
<bugs-to>https://github.com/ansible/ansible/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
Radically simple deployment, model-driven configuration management, and
|
||||
command execution framework.
|
||||
|
||||
This is a minimal installation of Ansible which contains the core programs,
|
||||
some documentation, and a tiny subset of modules and plugins to allow for a
|
||||
functioning controller. All other modules, including most of those
|
||||
bundled with in Ansible 2.9 and older, must be installed separately,
|
||||
e.g. from collections.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user