From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-lint/
Date: Sat, 28 May 2022 23:55:22 +0000 (UTC) [thread overview]
Message-ID: <1653782108.ab1a9f9e3a0efe0fe13971cf1273ac1dd07195be.marecki@gentoo> (raw)
commit: ab1a9f9e3a0efe0fe13971cf1273ac1dd07195be
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 23:54:31 2022 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat May 28 23:55:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1a9f9e
app-admin/ansible-lint: add 6.2.1, drop 6.1.0
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-admin/ansible-lint/Manifest | 2 +-
...-lint-6.1.0.ebuild => ansible-lint-6.2.1.ebuild} | 21 ++++++++-------------
2 files changed, 9 insertions(+), 14 deletions(-)
diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest
index 9337e75978ed..efd9341f5b10 100644
--- a/app-admin/ansible-lint/Manifest
+++ b/app-admin/ansible-lint/Manifest
@@ -1,3 +1,3 @@
DIST ansible-lint-5.4.0.tar.gz 349353 BLAKE2B 9f41abdf1e9485afa4c8ed9498627b0dcbdcf57916f3b57c9886de8bd806e4e5b34e7e9c2e66b44ac8009a0afcea4d8566900ee8d391eaca61081fa23323c41c SHA512 f1bbbb49eb77991d60b6087646c695a938d328d719bba67707af4ed858de857d383b78490bcf0930cffebd13a0b0abde20269a47e47e4713a37da715a28c5da0
DIST ansible-lint-6.0.2.tar.gz 195044 BLAKE2B 3334049dd1dc05444c6c362601da8d7e808c6b3473e87613b8892651cecb76058cb0aa370aa5d00cf6bc76ee3b096480fdce52facee4f043c01d6c76084860ba SHA512 a47e79c59dfcf3e36654247bd206581798f2559261142e3943b60e0688d75b5a6332832a9f9127f99b2faa6afff959a33c55fbc80aa5881f064725998420f679
-DIST ansible-lint-6.1.0.tar.gz 223702 BLAKE2B 5aeaccbaf9c1bd8e7236e946b408779b42e0839766a485bdbb80ece19ed63b57fa38cb44796c860f6929bb2e98acd21a3de3a9c07486535ed3e6ab5cb499c8d9 SHA512 c1ca5abe8e5f441a86db6a4b4fa03c2d87ed2277151ada9af34c3d8af6934d2c1d4b6bffbc11d6cfb7cd7601c9e43a041fe8a2b940fa0630532df05004e11d15
+DIST ansible-lint-6.2.1.tar.gz 233137 BLAKE2B 8e2a9e989765eb51e6ba01d7118bbff793b73fed35a37ca652a4228731659321cb0de5cf2c76b3aa2d0e63c434bc28f1c3b8df5e91aca132a0291f51460e29f2 SHA512 fb3eb8485078f4b426e11dc2b67ef2987640a97552979ef7b192980f750fb798ceab843d95c5e34d0c988cd312a2b5e7b4d58d84c1c5b4f385840ff3a58ac183
diff --git a/app-admin/ansible-lint/ansible-lint-6.1.0.ebuild b/app-admin/ansible-lint/ansible-lint-6.2.1.ebuild
similarity index 68%
rename from app-admin/ansible-lint/ansible-lint-6.1.0.ebuild
rename to app-admin/ansible-lint/ansible-lint-6.2.1.ebuild
index 994f48b51065..8e20fa3a01ff 100644
--- a/app-admin/ansible-lint/ansible-lint-6.1.0.ebuild
+++ b/app-admin/ansible-lint/ansible-lint-6.2.1.ebuild
@@ -17,14 +17,15 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
-# Since 6.0.2, access to Ansible Galaxy (i.e. the Internet) is required even to get
-# the test suite started (Bug #836582). TODO: Talk to upstream about how to bypass this.
+# Since 6.2.0 ansible-lint once again does not need access to Ansible Galaxy
+# even to get the test suite started, however quite a large fraction of tests
+# fails without network access. Needs more work.
PROPERTIES="test_network"
RESTRICT="test"
RDEPEND="
>=app-admin/ansible-base-2.12.0[${PYTHON_USEDEP}]
- >=dev-python/ansible-compat-2.0.3[${PYTHON_USEDEP}]
+ >=dev-python/ansible-compat-2.0.4[${PYTHON_USEDEP}]
>=dev-python/enrich-1.2.6[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.5.1[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
@@ -46,7 +47,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.0.2_test-module-check.patch
)
-# Skip problematic tests:
+# Skip problematic tests (TODO: update this list for ansible-lint-6.2.0+):
# - test_call_from_outside_venv doesn't play nicely with the sandbox
# - all test_eco and some test_prerun tests require Internet access
# - as of 5.4.0, test_cli_auto_detect fails even when run manually with tox
@@ -63,15 +64,9 @@ EPYTEST_DESELECT=(
distutils_enable_tests pytest
python_test() {
- # For some reason the schema files do not get installed in spite of being present in release tarballs,
- # with the test suite relying on "refreshing" them (i.e. downloading them from the Internet) instead
- # - and seemingly occasionally failing to do even that right. Just stick with the bundled files.
- # TODO: check if this is still needed every new release.
- local schemadir="${BUILD_DIR}/install/$(python_get_sitedir)/ansiblelint/schemas/"
- cp src/ansiblelint/schemas/*.json "${schemadir}" || die
+ # As of 6.2.1, without this the test suite still gets confused by the presence of ansible-lint modules
+ # in both ${ED} and ${S}.
+ cd "${S}" || die
epytest test
-
- # Make sure src_install() does not install these regardless of whether src_test() has run or not.
- rm "${schemadir}"/*.json || die
}
next reply other threads:[~2022-05-28 23:55 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-28 23:55 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-25 4:36 [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-lint/ Sam James
2025-03-25 4:36 Sam James
2025-02-22 9:20 Michał Górny
2025-01-21 14:34 Joonas Niilola
2025-01-21 14:34 Joonas Niilola
2025-01-21 14:34 Joonas Niilola
2024-12-22 1:30 Sam James
2024-12-16 8:06 Arthur Zamarin
2024-12-12 5:12 Sam James
2024-11-11 8:38 Sam James
2024-10-24 18:18 Sam James
2024-09-19 1:26 Sam James
2024-09-19 1:26 Sam James
2024-06-12 13:04 Marek Szuba
2024-06-12 13:04 Marek Szuba
2024-06-12 13:04 Marek Szuba
2024-05-21 11:39 Marek Szuba
2024-04-10 10:37 Marek Szuba
2024-03-29 10:54 Marek Szuba
2024-03-29 10:54 Marek Szuba
2024-03-29 10:54 Marek Szuba
2024-03-05 13:27 Marek Szuba
2024-02-28 21:46 Marek Szuba
2024-02-19 5:08 Sam James
2024-02-18 10:54 Marek Szuba
2024-02-02 15:38 Marek Szuba
2023-12-24 11:22 Marek Szuba
2023-12-24 11:22 Marek Szuba
2023-12-24 11:22 Marek Szuba
2023-12-24 11:22 Marek Szuba
2023-12-24 11:22 Marek Szuba
2023-10-22 11:03 Marek Szuba
2023-10-15 22:29 Marek Szuba
2023-10-15 22:29 Marek Szuba
2023-09-21 7:02 Marek Szuba
2023-09-18 15:50 Marek Szuba
2023-08-23 23:37 Marek Szuba
2023-07-29 14:49 Marek Szuba
2023-07-29 14:49 Marek Szuba
2023-07-15 8:19 Arthur Zamarin
2023-06-13 21:46 Marek Szuba
2023-06-08 13:35 Marek Szuba
2023-06-08 13:35 Marek Szuba
2023-06-07 21:59 Marek Szuba
2023-05-24 20:41 Marek Szuba
2023-05-19 8:37 Marek Szuba
2023-05-11 21:44 Marek Szuba
2023-05-11 21:44 Marek Szuba
2023-05-11 12:03 Marek Szuba
2023-05-11 12:03 Marek Szuba
2023-04-14 8:09 Marek Szuba
2023-04-14 8:09 Marek Szuba
2023-04-14 8:09 Marek Szuba
2023-04-04 10:42 Marek Szuba
2023-03-25 21:34 Marek Szuba
2023-03-13 12:02 Marek Szuba
2023-03-08 14:33 Marek Szuba
2023-03-08 14:29 Marek Szuba
2023-03-06 22:06 Marek Szuba
2023-03-06 22:06 Marek Szuba
2023-02-21 23:41 Marek Szuba
2023-02-05 23:03 Marek Szuba
2023-02-01 22:39 Marek Szuba
2023-02-01 22:39 Marek Szuba
2023-02-01 22:39 Marek Szuba
2023-01-27 22:14 Marek Szuba
2023-01-19 10:38 Marek Szuba
2023-01-10 14:50 Michał Górny
2022-12-13 11:02 Marek Szuba
2022-12-11 3:30 Michał Górny
2022-12-05 12:57 Marek Szuba
2022-11-26 22:01 Marek Szuba
2022-11-20 22:24 Marek Szuba
2022-10-19 21:49 Marek Szuba
2022-09-26 9:31 Marek Szuba
2022-09-21 18:33 Marek Szuba
2022-09-20 8:51 Marek Szuba
2022-09-02 8:56 Marek Szuba
2022-08-30 7:51 Marek Szuba
2022-08-27 22:39 Marek Szuba
2022-08-27 22:39 Marek Szuba
2022-08-09 11:38 Marek Szuba
2022-08-09 10:31 Marek Szuba
2022-08-09 10:31 Marek Szuba
2022-07-29 8:43 Marek Szuba
2022-06-17 10:13 Marek Szuba
2022-05-30 23:12 Marek Szuba
2022-05-18 23:18 Marek Szuba
2022-04-01 8:44 Marek Szuba
2022-04-01 8:18 Marek Szuba
2022-03-20 22:44 Marek Szuba
2022-02-17 13:17 Marek Szuba
2022-02-17 12:07 Marek Szuba
2022-02-07 16:17 Marek Szuba
2022-01-11 18:38 Marek Szuba
2021-12-09 12:03 Marek Szuba
2021-12-01 21:21 Marek Szuba
2021-11-26 13:40 Marek Szuba
2021-11-26 13:40 Marek Szuba
2021-11-19 14:59 Marek Szuba
2021-11-11 20:15 Marek Szuba
2021-10-05 16:45 Marek Szuba
2021-10-05 11:43 Marek Szuba
2021-10-05 11:41 Marek Szuba
2021-10-05 7:36 Patrice Clement
2021-09-23 15:35 Marek Szuba
2021-06-10 9:52 Guilherme Amadio
2021-06-10 9:52 Guilherme Amadio
2020-12-11 12:42 Michał Górny
2020-02-05 15:31 Michał Górny
2020-02-05 15:31 Michał Górny
2019-01-28 20:28 Matthew Thode
2019-01-24 12:59 Tony Vroon
2018-08-08 12:52 Tony Vroon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1653782108.ab1a9f9e3a0efe0fe13971cf1273ac1dd07195be.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox