Github messages for voidlinux
 help / color / mirror / Atom feed
From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-ansible-lint: update to 5.2.1.
Date: Sat, 23 Oct 2021 12:51:24 +0200	[thread overview]
Message-ID: <20211023105124.oBwV_Fb3PlzQceoMH1qHzz-DDULaoDEoCEhyFFdJH3w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31998@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-ansible-lint-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: update to 5.2.1.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

A patch file from https://github.com/void-linux/void-packages/pull/31998.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-ansible-lint-5.0.12_1-31998.patch --]
[-- Type: text/x-diff, Size: 12548 bytes --]

From c4f3977fb100a5fffb412a0aa0dac695c7a70555 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:37 +0200
Subject: [PATCH 1/9] ansible-core: explain make_check=no

---
 srcpkgs/ansible-core/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template
index 5a5b546ed033..2ed2c1fe21d7 100644
--- a/srcpkgs/ansible-core/template
+++ b/srcpkgs/ansible-core/template
@@ -14,6 +14,9 @@ distfiles="${PYPI_SITE}/a/ansible-core/ansible-core-${version}.tar.gz"
 checksum=93d50283c7c5b476debf83dc089b3f679b939a8b9a7b5d628d28daafbb3d303a
 conflicts="ansible<2.10.1_1"
 replaces="ansible-base<2.11.0_1"
+# Tests are currently broken for ansible on python 3.10
+# See https://github.com/ansible/ansible/issues/74658
+# and https://github.com/ansible/ansible/issues/74660
 make_check=no
 
 post_install() {

From a1d7226db7806e041ccc485cc8f370735e22008c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:14 +0200
Subject: [PATCH 2/9] ansible: explain make_check=no

---
 srcpkgs/ansible/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template
index 42cbc79a1809..47981ea3e8aa 100644
--- a/srcpkgs/ansible/template
+++ b/srcpkgs/ansible/template
@@ -11,4 +11,7 @@ license="GPL-3.0-or-later"
 homepage="https://www.ansible.com/"
 distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz"
 checksum=2955fcbf51367f8bd88c38a86f8be83d4fcd05f778afb4feed31abfe8dcff639
+# Tests are currently broken for ansible on python 3.10
+# See https://github.com/ansible/ansible/issues/74658
+# and https://github.com/ansible/ansible/issues/74660
 make_check=no

From b9a474ce00476e5131a1f46e770ef5e5d7ef6e49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 3/9] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..67c7cc53c45f
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel python3-rich"
+depends="python3-rich"
+checkdepends="python3-pytest python3-pytest-mock ${depends}"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From c411f0b1af8c0844fff8857a044f9e9b5034d9af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 4/9] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..7e6ffbc08f21
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+changelog="https://raw.githubusercontent.com/facelessuser/bracex/master/docs/src/markdown/about/changelog.md"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From b1deac2f0f6329479fd389691b5271e3df646eac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 5/9] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..8237206b2b40
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+make_check_args="--deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_realpath
+--deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_tilde"
+hostmakedepends="python3-setuptools"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+changelog="https://raw.githubusercontent.com/facelessuser/wcmatch/main/docs/src/markdown/about/changelog.md"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From b193aa8a55ecda4b379f0d50c3fb48aa13e1ee8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 6/9] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..23083f04f3a4
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From dd2af7a33b600bbc22194b957f376e0d09ff18c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 7/9] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..1182563e46e2
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-Sphinx python3-tornado python3-typeguard"
+checkdepends="python3-pytest ${depends}"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+changelog="https://tenacity.readthedocs.io/en/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 37e27b59b16ec62543b3c01dab5c20abdc3fce0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 8/9] python3-yamllint: update to 1.26.3.

---
 srcpkgs/python3-yamllint/template | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
index 201a7b34423a..bc695c0842fb 100644
--- a/srcpkgs/python3-yamllint/template
+++ b/srcpkgs/python3-yamllint/template
@@ -1,20 +1,26 @@
 # Template file for 'python3-yamllint'
 pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
+version=1.26.3
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
+checkdepends="python3-pytest python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/adrienverge/yamllint"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
 conflicts="python-yamllint>=0"
 
-do_check() {
-	python3 setup.py test
-}
+case "$XBPS_TARGET_MACHINE" in
+	# These test cases require locale support, which musl libc lacks, so these tests are expected to fail
+	# on our musl libc targets. Therefore, we deselect them to ignore their failures.
+	*-musl)
+		make_check_args="--deselect tests/test_cli.py::CommandLineTestCase::test_run_with_locale
+			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents
+			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case"
+		;;
+esac

From d90251da8d139a5e7c8a8cbe90cac5fbf3deeb74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 9/9] python3-ansible-lint: update to 5.2.1.

---
 srcpkgs/python3-ansible-lint/template | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 93f631fa6a17..fb8ea33d60ae 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,18 +1,21 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
+version=5.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="ansible-core python3-yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
 short_desc="Linter for Ansible files"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=d64aca59c8d896541d379b9205b2126b851088aab0a2c2cab19ff74b184cdf1c
+# Tests are currently broken for ansible on python 3.10
+# See https://github.com/ansible/ansible/issues/74658
+# and https://github.com/ansible/ansible/issues/74660
+make_check=no
 
 post_patch() {
 	# scm versioning is broken in this release

  parent reply	other threads:[~2021-10-23 10:51 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
2021-10-12 16:22 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-12 17:32 ` [PR PATCH] [Updated] python3-ansible-lint: update to 5.2.0 jcgruenhage
2021-10-12 18:01 ` [PR REVIEW] " paper42
2021-10-12 18:01 ` paper42
2021-10-13  9:25 ` jcgruenhage
2021-10-13  9:29 ` jcgruenhage
2021-10-13 10:59 ` jcgruenhage
2021-10-13 11:41 ` jcgruenhage
2021-10-13 12:59 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-13 15:03 ` [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, " jcgruenhage
2021-10-13 15:09 ` jcgruenhage
2021-10-13 16:45 ` [PR REVIEW] " Chocimier
2021-10-13 16:48 ` Chocimier
2021-10-13 16:48 ` Chocimier
2021-10-13 16:48 ` Chocimier
2021-10-13 17:30 ` jcgruenhage
2021-10-13 17:35 ` jcgruenhage
2021-10-13 18:10 ` jcgruenhage
2021-10-13 18:10 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-14 16:29 ` [PR REVIEW] " Chocimier
2021-10-14 16:29 ` Chocimier
2021-10-14 16:29 ` Chocimier
2021-10-14 16:30 ` Chocimier
2021-10-14 17:12 ` jcgruenhage
2021-10-14 20:02 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-14 20:04 ` jcgruenhage
2021-10-14 20:12 ` jcgruenhage
2021-10-14 20:12 ` [PR REVIEW] " jcgruenhage
2021-10-14 20:13 ` jcgruenhage
2021-10-14 20:22 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-14 21:26 ` [PR REVIEW] " jcgruenhage
2021-10-15 16:22 ` Chocimier
2021-10-15 16:23 ` Chocimier
2021-10-15 19:56 ` [PR REVIEW] " paper42
2021-10-16 13:49 ` jcgruenhage
2021-10-16 14:06 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-19 14:37 ` jcgruenhage
2021-10-19 15:11 ` jcgruenhage
2021-10-19 19:22 ` jcgruenhage
2021-10-19 19:29 ` [PR REVIEW] " jcgruenhage
2021-10-22 20:14 ` [PR REVIEW] python3-ansible-lint: update to 5.2.1 Chocimier
2021-10-23 10:51 ` jcgruenhage [this message]
2021-10-23 10:51 ` jcgruenhage
2021-10-23 20:37 ` [PR PATCH] [Merged]: " Chocimier

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=20211023105124.oBwV_Fb3PlzQceoMH1qHzz-DDULaoDEoCEhyFFdJH3w@z \
    --to=jcgruenhage@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).