Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-ansible-lint: update to 6.3.0.
@ 2022-06-10 15:31 jcgruenhage
  2022-06-25  0:19 ` classabbyamp
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jcgruenhage @ 2022-06-10 15:31 UTC (permalink / raw)
  To: ml

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

There is a new pull request by jcgruenhage against master on the void-packages repository

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

python3-ansible-lint: update to 6.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 081bebc76e1fbce1b0f0b29b9d4fe6bd49fb4303 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 17:30:55 +0200
Subject: [PATCH] python3-ansible-lint: update to 6.3.0.

---
 srcpkgs/python3-ansible-lint/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 19b1453782e9..1522a85f4826 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=6.2.2
+version=6.3.0
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
@@ -18,7 +18,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d
+checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38
 # 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
@ 2022-06-25  0:19 ` classabbyamp
  2022-06-26 10:43 ` jcgruenhage
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-06-25  0:19 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37488#issuecomment-1166149775

Comment:
changelog mentions

> Require jsonschema>=4.6.0 (https://github.com/ansible/ansible-lint/pull/2200)

this library isn't listed in the depends and our version is 4.4.0. Is it needed?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
  2022-06-25  0:19 ` classabbyamp
@ 2022-06-26 10:43 ` jcgruenhage
  2022-06-26 14:48 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-06-26 10:43 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37488#issuecomment-1166489716

Comment:
I'm using it like this and it works, but I do have jsonschema installed for other reasons. 4.6.0 doesn't seem to be a hard requirement though, because it works just fine with 4.4.0 for me. Updating jsonschema to 4.6.0 depends on hatch (see #37514), but I'd be fine with blocking this update on that hatch PR. Other than that, we also need `hatch-vcs`, but I can package that as well after that initial hatch PR is merged.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
  2022-06-25  0:19 ` classabbyamp
  2022-06-26 10:43 ` jcgruenhage
@ 2022-06-26 14:48 ` jcgruenhage
  2022-06-30  8:43 ` jcgruenhage
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-06-26 14:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1278 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-6.3.0_1
https://github.com/void-linux/void-packages/pull/37488

python3-ansible-lint: update to 6.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 0eef4d5dd84a5dc662a8caeb40e7360f5acbe28a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/6] New package: hatchling-1.3.1

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

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
new file mode 100644
index 000000000000..894c15c8f719
--- /dev/null
+++ b/srcpkgs/hatchling/template
@@ -0,0 +1,18 @@
+# Template file for 'hatchling'
+pkgname=hatchling
+version=1.3.1
+revision=1
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From ed1a9130fab7f442934bda5212f4c8e82193aab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/6] New package: python3-tomli-w-1.0.0

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

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 1e606eabc2974eafedc4cc0bd10ebc4e3ed3b551 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 3/6] New package: hatch-1.2.1

---
 srcpkgs/hatch/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/hatch/template

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
new file mode 100644
index 000000000000..f8b068a2a713
--- /dev/null
+++ b/srcpkgs/hatch/template
@@ -0,0 +1,37 @@
+# Template file for 'hatch'
+pkgname=hatch
+version=1.2.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect tests/backend/test_build.py::test_editable
+ --deselect tests/backend/builders/test_custom.py::test_default
+ --deselect tests/backend/builders/test_custom.py::test_explicit_path
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/backend/dep/test_core.py::test_unknown_extra
+ --deselect tests/backend/dep/test_core.py::test_extra_met"
+hostmakedepends="hatchling"
+depends="python3-atomicwrites python3-click hatchling python3-httpx
+ python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
+ python3-rich python3-tomli-w python3-tomlkit python3-userpath
+ python3-virtualenv"
+checkdepends="${depends} python3-pytest python3-pytest-mock
+ python3-pytest-xdist git python3-pip"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 8c7e53b4e6b66270be86dc26cb6450e979657b9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:45:06 +0200
Subject: [PATCH 4/6] New package: hatch-vcs-0.2.0

---
 srcpkgs/hatch-vcs/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/hatch-vcs/template

diff --git a/srcpkgs/hatch-vcs/template b/srcpkgs/hatch-vcs/template
new file mode 100644
index 000000000000..adac314297e0
--- /dev/null
+++ b/srcpkgs/hatch-vcs/template
@@ -0,0 +1,24 @@
+# Template file for 'hatch-vcs'
+pkgname=hatch-vcs
+version=0.2.0
+revision=1
+wrksrc="${pkgname/-/_}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/test_build.py::test_basic
+ --deselect tests/test_build.py::test_write
+ --deselect tests/test_build.py::test_fallback"
+hostmakedepends="hatchling"
+depends="hatchling python3-setuptools_scm"
+checkdepends="${depends} python3-pytest git"
+short_desc="Hatch plugin for VCS based versioning"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ofek/hatch-vcs"
+changelog="https://github.com/ofek/hatch-vcs/raw/master/HISTORY.md"
+distfiles="${PYPI_SITE}/h/${pkgname/-/_}/${pkgname/-/_}-${version}.tar.gz"
+checksum=9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff
+make_check_pre="env PYTHONPATH=./"
+
+post_install() {
+	vlicense LICENSE.txt
+}

From acd4bc76aa3c16dc8c3797fd7a9f322b68fffc8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:47:17 +0200
Subject: [PATCH 5/6] python3-jsonschema: update to 4.6.0.

---
 srcpkgs/python3-jsonschema/template | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 120392ad1be3..92a65eebd9d1 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,20 +1,24 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.4.0
+version=4.6.0
 revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license"
-hostmakedepends="python3-setuptools_scm python3-wheel"
+hostmakedepends="hatchling hatch-vcs"
 depends="python3-attrs python3-pyrsistent"
-checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
+checksum=9d6397ba4a6c0bf0300736057f649e3e12ecbc07d3e81a0dacb72de4e9801957
+# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick
+make_check=no
+
+pre_build() {
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
+}
 
 post_install() {
 	vlicense COPYING LICENSE

From a2d286d964b44e1c29cec0aa4846e28b8bb9632b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 17:30:55 +0200
Subject: [PATCH 6/6] python3-ansible-lint: update to 6.3.0.

---
 srcpkgs/python3-ansible-lint/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 19b1453782e9..1522a85f4826 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=6.2.2
+version=6.3.0
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
@@ -18,7 +18,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d
+checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38
 # 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
                   ` (2 preceding siblings ...)
  2022-06-26 14:48 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-06-30  8:43 ` jcgruenhage
  2022-07-01  8:51 ` jcgruenhage
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-06-30  8:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1278 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-6.3.0_1
https://github.com/void-linux/void-packages/pull/37488

python3-ansible-lint: update to 6.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 9b89852ea7fc4598918b67d7ae2534d194470149 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:47:17 +0200
Subject: [PATCH 1/2] python3-jsonschema: update to 4.6.0.

---
 srcpkgs/python3-jsonschema/template | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 120392ad1be3..92a65eebd9d1 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,20 +1,24 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.4.0
+version=4.6.0
 revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license"
-hostmakedepends="python3-setuptools_scm python3-wheel"
+hostmakedepends="hatchling hatch-vcs"
 depends="python3-attrs python3-pyrsistent"
-checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
+checksum=9d6397ba4a6c0bf0300736057f649e3e12ecbc07d3e81a0dacb72de4e9801957
+# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick
+make_check=no
+
+pre_build() {
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
+}
 
 post_install() {
 	vlicense COPYING LICENSE

From 5cfe5c54e7c17539545a0f1aded392caf16f1b2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 17:30:55 +0200
Subject: [PATCH 2/2] python3-ansible-lint: update to 6.3.0.

---
 srcpkgs/python3-ansible-lint/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 19b1453782e9..9efe8d690322 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=6.2.2
+version=6.3.0
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
@@ -18,12 +18,14 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d
+checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38
 # 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
+make_install_target="ansible_lint-*-*-*-*.whl"
 
 post_patch() {
 	vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
 }

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
                   ` (3 preceding siblings ...)
  2022-06-30  8:43 ` jcgruenhage
@ 2022-07-01  8:51 ` jcgruenhage
  2022-07-01  8:54 ` jcgruenhage
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-07-01  8:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1278 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-6.3.0_1
https://github.com/void-linux/void-packages/pull/37488

python3-ansible-lint: update to 6.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From dc37e238d688efd0297142c39aa188e9f40f5563 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:47:17 +0200
Subject: [PATCH 1/6] python3-jsonschema: update to 4.6.1.

---
 srcpkgs/python3-jsonschema/template | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 120392ad1be3..a1dd7ff5d073 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,20 +1,24 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.4.0
+version=4.6.1
 revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license"
-hostmakedepends="python3-setuptools_scm python3-wheel"
+hostmakedepends="hatchling hatch-vcs"
 depends="python3-attrs python3-pyrsistent"
-checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
+checksum=ec2802e6a37517f09d47d9ba107947589ae1d25ff557b925d83a321fc2aa5d3b
+# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick
+make_check=no
+
+pre_build() {
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
+}
 
 post_install() {
 	vlicense COPYING LICENSE

From 36762351157c025fc5f1c56be76f2cac5423d2b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:53:19 +0200
Subject: [PATCH 2/6] python3-bracex: update to 2.3.post1.

---
 srcpkgs/python3-bracex/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
index a88b1f66737c..89025d991378 100644
--- a/srcpkgs/python3-bracex/template
+++ b/srcpkgs/python3-bracex/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-bracex'
 pkgname=python3-bracex
-version=2.2.1
+version=2.3.post1
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="hatchling"
 depends="python3"
 checkdepends="python3-pytest"
 short_desc="Bash style brace expansion for Python"
@@ -13,7 +13,7 @@ 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=1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21
+checksum=e7b23fc8b2cd06d3dec0692baabecb249dda94e06a617901ff03a6c56fd71693
 
 post_install() {
 	vlicense LICENSE.md

From 3c8d94c9596a62725a3a2a6714bc6571946ce20d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:59:13 +0200
Subject: [PATCH 3/6] python3-wcmatch: update to 8.4.

---
 srcpkgs/python3-wcmatch/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
index d132c7721d80..60ad0128e422 100644
--- a/srcpkgs/python3-wcmatch/template
+++ b/srcpkgs/python3-wcmatch/template
@@ -1,12 +1,12 @@
 # Template file for 'python3-wcmatch'
 pkgname=python3-wcmatch
-version=8.3
+version=8.4
 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"
+build_style=python3-pep517
+#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="hatchling"
 depends="python3-bracex"
 checkdepends="python3-pytest ${depends}"
 short_desc="Wilcard File Name matching library"
@@ -15,7 +15,7 @@ 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=371072912398af61d1e4e78609e18801c6faecd3cb36c54c82556a60abc965db
+checksum=ba4fc5558f8946bf1ffc7034b05b814d825d694112499c86035e0e4d398b6a67
 
 post_install() {
 	vlicense LICENSE.md

From 9ba6d297c81af1c8fe8b2fa17364e03e5ce60e52 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 24 Mar 2022 13:12:36 -0400
Subject: [PATCH 4/6] python3-ruamel.yaml: update to 0.17.21.

---
 srcpkgs/python3-ruamel.yaml/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-ruamel.yaml/template b/srcpkgs/python3-ruamel.yaml/template
index b8ad65ed0883..4f9dadaa0006 100644
--- a/srcpkgs/python3-ruamel.yaml/template
+++ b/srcpkgs/python3-ruamel.yaml/template
@@ -1,25 +1,23 @@
 # Template file for 'python3-ruamel.yaml'
 pkgname=python3-ruamel.yaml
-version=0.16.12
-revision=4
+version=0.17.21
+revision=1
 wrksrc="ruamel.yaml-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 makedepends="python3-devel"
-depends="python3"
+depends="python3-ruamel.yaml.clib"
 short_desc="YAML parser/emitter in Python 3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="http://yaml.readthedocs.io/"
+changelog="https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/CHANGES"
 distfiles="${PYPI_SITE}/r/ruamel.yaml/ruamel.yaml-${version}.tar.gz"
-checksum=076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e
+checksum=8b7ce697a2f212752a35c1ac414471dc16c424c9573be4926b56ff3f5d23b7af
+make_check=no # no tests included in distfiles
 
 export RUAMEL_NO_PIP_INSTALL_CHECK=1
 
-do_check() {
-	:
-}
-
 post_install() {
 	vlicense LICENSE
 }

From 2cc32eabd7bcc35121a0d47a2c47ed297a0e25b7 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 24 Mar 2022 13:32:43 -0400
Subject: [PATCH 5/6] whipper: add patch to support ruamel.yaml>=0.17

---
 .../patches/ruamel.yaml-0.17_compat.patch     | 109 ++++++++++++++++++
 srcpkgs/whipper/template                      |   2 +-
 2 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch

diff --git a/srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch b/srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch
new file mode 100644
index 000000000000..206547e4b3e9
--- /dev/null
+++ b/srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch
@@ -0,0 +1,109 @@
+From e0942417a1c267781a8b676789730457dcb2e6fa Mon Sep 17 00:00:00 2001
+From: Martin Weinelt <hexa@darmstadt.ccc.de>
+Date: Sun, 20 Jun 2021 15:18:37 +0200
+Subject: [PATCH] Use custom YAML subclass to be compatible with
+ ruamel_yaml>=0.17
+
+Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
+---
+ whipper/common/yaml.py             | 18 ++++++++++++++++++
+ whipper/result/logger.py           | 11 ++++++-----
+ whipper/test/test_result_logger.py | 14 ++++++--------
+ 3 files changed, 30 insertions(+), 13 deletions(-)
+ create mode 100644 whipper/common/yaml.py
+
+diff --git a/whipper/common/yaml.py b/whipper/common/yaml.py
+new file mode 100644
+index 00000000..4edb0b36
+--- /dev/null
++++ b/whipper/common/yaml.py
+@@ -0,0 +1,18 @@
++from ruamel.yaml import YAML as ruamel_YAML
++from ruamel.yaml.compat import StringIO
++
++# https://yaml.readthedocs.io/en/latest/example.html#output-of-dump-as-a-string
++class YAML(ruamel_YAML):
++    def __init__(self, *args, **kwargs):
++        super().__init__()
++        self.width = 4000
++        self.default_flow_style = False
++
++    def dump(self, data, stream=None, **kw):
++        inefficient = False
++        if stream is None:
++            inefficient = True
++            stream = StringIO()
++        ruamel_YAML.dump(self, data, stream, **kw)
++        if inefficient:
++            return stream.getvalue()
+diff --git a/whipper/result/logger.py b/whipper/result/logger.py
+index b7043adc..f4471a00 100644
+--- a/whipper/result/logger.py
++++ b/whipper/result/logger.py
+@@ -1,12 +1,12 @@
+ import time
+ import hashlib
+ import re
+-import ruamel.yaml as yaml
+ from ruamel.yaml.comments import CommentedMap as OrderedDict
+ 
+ import whipper
+ 
+ from whipper.common import common
++from whipper.common.yaml import YAML
+ from whipper.result import result
+ 
+ 
+@@ -148,11 +148,12 @@ def logRip(self, ripResult, epoch):
+         data["EOF"] = "End of status report"
+         riplog["Conclusive status report"] = data
+ 
++        yaml = YAML(
++            typ="rt",
++            pure=True
++        )
+         riplog = yaml.dump(
+-            riplog,
+-            default_flow_style=False,
+-            width=4000,
+-            Dumper=yaml.RoundTripDumper
++            riplog
+         )
+         # Add a newline after the "Log creation date" line
+         riplog = re.sub(
+diff --git a/whipper/test/test_result_logger.py b/whipper/test/test_result_logger.py
+index 411b61af..98c89ab5 100644
+--- a/whipper/test/test_result_logger.py
++++ b/whipper/test/test_result_logger.py
+@@ -3,8 +3,8 @@
+ import os
+ import re
+ import unittest
+-import ruamel.yaml
+ 
++from whipper.common.yaml import YAML
+ from whipper.result.result import TrackResult, RipResult
+ from whipper.result.logger import WhipperLogger
+ 
+@@ -163,16 +163,14 @@ def testLogger(self):
+             ))
+         )
+ 
+-        yaml = ruamel.yaml.YAML()
++        yaml = YAML(
++            typ='rt',
++            pure=True
++        )
+         parsedLog = yaml.load(actual)
+         self.assertEqual(
+             actual,
+-            ruamel.yaml.dump(
+-                parsedLog,
+-                default_flow_style=False,
+-                width=4000,
+-                Dumper=ruamel.yaml.RoundTripDumper
+-            )
++            yaml.dump(parsedLog)
+         )
+         log_body = "\n".join(actualLines[:-1]).encode()
+         self.assertEqual(
diff --git a/srcpkgs/whipper/template b/srcpkgs/whipper/template
index c5bbd74cfacc..e0f5cf8b8026 100644
--- a/srcpkgs/whipper/template
+++ b/srcpkgs/whipper/template
@@ -1,7 +1,7 @@
 # Template file for 'whipper'
 pkgname=whipper
 version=0.10.0
-revision=2
+revision=3
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 makedepends="libsndfile-devel python3-devel"

From 5027ebe80bcd109fe480b3d1440bcf6ee24c083c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 17:30:55 +0200
Subject: [PATCH 6/6] python3-ansible-lint: update to 6.3.0.

---
 srcpkgs/python3-ansible-lint/template | 41 ++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 19b1453782e9..d76c53e775e8 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,13 +1,17 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=6.2.2
+version=6.3.0
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
+make_install_target="ansible_lint-*-*-*-*.whl"
 hostmakedepends="python3-wheel python3-setuptools_scm"
 depends="ansible-core python3-yamllint python3-six python3-yaml
  python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch
- python3-ansible-compat"
+ python3-ansible-compat python3-jsonschema"
+checkdepends="${depends} python3-pytest black python3-flake8 python3-flaky
+ python3-mypy pylint python3-pytest-cov python3-pytest-xdist
+ python3-pytest-forked"
 short_desc="Linter for Ansible files"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 # Note about licensing from upstream:
@@ -18,12 +22,35 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d
-# 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
+checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38
+make_check_pre="env PYTHONPATH=src"
+# These require ansible-lint installed properly, or they are flaky
+make_check_args="--deselect test/test_eco.py::test_eco
+ --deselect test/test_main.py::test_call_from_outside_venv
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_script
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_role_name_with_prefix
+ --deselect test/test_cli_role_paths.py::test_run_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_invalid_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_role_three_dir_deep
+ --deselect test/test_cli_role_paths.py::test_run_playbook
+ --deselect test/test_cli_role_paths.py::test_run_role_name_invalid
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_module
+ --deselect test/test_cli_role_paths.py::test_run_inside_role_dir
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_no_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_roles_path_env
+ --deselect test/test_verbosity.py::test_default_verbosity
+ --deselect test/test_task_includes.py::test_included_tasks
+ --deselect test/test_utils.py::test_cli_auto_detect
+ --deselect test/test_list_rules.py::test_list_rules_includes_opt_in_rules
+ --deselect test/test_formatter_json.py::test_code_climate_parsable_ignored
+ --deselect test/test_examples.py::test_custom_kinds
+ --deselect src/ansiblelint/rules/only_builtins.py::test_only_builtin_fail
+ --deselect test/test_import_playbook.py::test_task_hook_import_playbook
+ --deselect test/test_rules_collection.py::test_rich_rule_listing"
 
 post_patch() {
 	vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
 }

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
                   ` (4 preceding siblings ...)
  2022-07-01  8:51 ` jcgruenhage
@ 2022-07-01  8:54 ` jcgruenhage
  2022-07-01  8:56 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-07-01  8:54 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37488#issuecomment-1172107564

Comment:
This is blocked on #36320 (cherry picked those commits into here for now for testing), but with tests finally running on ansible-core and here again I'm already a bit more confident in the packages, because it's surfaced a few other issues here :)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
                   ` (5 preceding siblings ...)
  2022-07-01  8:54 ` jcgruenhage
@ 2022-07-01  8:56 ` jcgruenhage
  2022-07-01 21:10 ` jcgruenhage
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-07-01  8:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1278 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-6.3.0_1
https://github.com/void-linux/void-packages/pull/37488

python3-ansible-lint: update to 6.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From dc37e238d688efd0297142c39aa188e9f40f5563 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:47:17 +0200
Subject: [PATCH 1/6] python3-jsonschema: update to 4.6.1.

---
 srcpkgs/python3-jsonschema/template | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 120392ad1be3..a1dd7ff5d073 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,20 +1,24 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.4.0
+version=4.6.1
 revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license"
-hostmakedepends="python3-setuptools_scm python3-wheel"
+hostmakedepends="hatchling hatch-vcs"
 depends="python3-attrs python3-pyrsistent"
-checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
+checksum=ec2802e6a37517f09d47d9ba107947589ae1d25ff557b925d83a321fc2aa5d3b
+# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick
+make_check=no
+
+pre_build() {
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
+}
 
 post_install() {
 	vlicense COPYING LICENSE

From 36762351157c025fc5f1c56be76f2cac5423d2b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:53:19 +0200
Subject: [PATCH 2/6] python3-bracex: update to 2.3.post1.

---
 srcpkgs/python3-bracex/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
index a88b1f66737c..89025d991378 100644
--- a/srcpkgs/python3-bracex/template
+++ b/srcpkgs/python3-bracex/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-bracex'
 pkgname=python3-bracex
-version=2.2.1
+version=2.3.post1
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="hatchling"
 depends="python3"
 checkdepends="python3-pytest"
 short_desc="Bash style brace expansion for Python"
@@ -13,7 +13,7 @@ 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=1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21
+checksum=e7b23fc8b2cd06d3dec0692baabecb249dda94e06a617901ff03a6c56fd71693
 
 post_install() {
 	vlicense LICENSE.md

From 3c8d94c9596a62725a3a2a6714bc6571946ce20d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:59:13 +0200
Subject: [PATCH 3/6] python3-wcmatch: update to 8.4.

---
 srcpkgs/python3-wcmatch/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
index d132c7721d80..60ad0128e422 100644
--- a/srcpkgs/python3-wcmatch/template
+++ b/srcpkgs/python3-wcmatch/template
@@ -1,12 +1,12 @@
 # Template file for 'python3-wcmatch'
 pkgname=python3-wcmatch
-version=8.3
+version=8.4
 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"
+build_style=python3-pep517
+#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="hatchling"
 depends="python3-bracex"
 checkdepends="python3-pytest ${depends}"
 short_desc="Wilcard File Name matching library"
@@ -15,7 +15,7 @@ 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=371072912398af61d1e4e78609e18801c6faecd3cb36c54c82556a60abc965db
+checksum=ba4fc5558f8946bf1ffc7034b05b814d825d694112499c86035e0e4d398b6a67
 
 post_install() {
 	vlicense LICENSE.md

From 9ba6d297c81af1c8fe8b2fa17364e03e5ce60e52 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 24 Mar 2022 13:12:36 -0400
Subject: [PATCH 4/6] python3-ruamel.yaml: update to 0.17.21.

---
 srcpkgs/python3-ruamel.yaml/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-ruamel.yaml/template b/srcpkgs/python3-ruamel.yaml/template
index b8ad65ed0883..4f9dadaa0006 100644
--- a/srcpkgs/python3-ruamel.yaml/template
+++ b/srcpkgs/python3-ruamel.yaml/template
@@ -1,25 +1,23 @@
 # Template file for 'python3-ruamel.yaml'
 pkgname=python3-ruamel.yaml
-version=0.16.12
-revision=4
+version=0.17.21
+revision=1
 wrksrc="ruamel.yaml-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 makedepends="python3-devel"
-depends="python3"
+depends="python3-ruamel.yaml.clib"
 short_desc="YAML parser/emitter in Python 3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="http://yaml.readthedocs.io/"
+changelog="https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/CHANGES"
 distfiles="${PYPI_SITE}/r/ruamel.yaml/ruamel.yaml-${version}.tar.gz"
-checksum=076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e
+checksum=8b7ce697a2f212752a35c1ac414471dc16c424c9573be4926b56ff3f5d23b7af
+make_check=no # no tests included in distfiles
 
 export RUAMEL_NO_PIP_INSTALL_CHECK=1
 
-do_check() {
-	:
-}
-
 post_install() {
 	vlicense LICENSE
 }

From 2cc32eabd7bcc35121a0d47a2c47ed297a0e25b7 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 24 Mar 2022 13:32:43 -0400
Subject: [PATCH 5/6] whipper: add patch to support ruamel.yaml>=0.17

---
 .../patches/ruamel.yaml-0.17_compat.patch     | 109 ++++++++++++++++++
 srcpkgs/whipper/template                      |   2 +-
 2 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch

diff --git a/srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch b/srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch
new file mode 100644
index 000000000000..206547e4b3e9
--- /dev/null
+++ b/srcpkgs/whipper/patches/ruamel.yaml-0.17_compat.patch
@@ -0,0 +1,109 @@
+From e0942417a1c267781a8b676789730457dcb2e6fa Mon Sep 17 00:00:00 2001
+From: Martin Weinelt <hexa@darmstadt.ccc.de>
+Date: Sun, 20 Jun 2021 15:18:37 +0200
+Subject: [PATCH] Use custom YAML subclass to be compatible with
+ ruamel_yaml>=0.17
+
+Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
+---
+ whipper/common/yaml.py             | 18 ++++++++++++++++++
+ whipper/result/logger.py           | 11 ++++++-----
+ whipper/test/test_result_logger.py | 14 ++++++--------
+ 3 files changed, 30 insertions(+), 13 deletions(-)
+ create mode 100644 whipper/common/yaml.py
+
+diff --git a/whipper/common/yaml.py b/whipper/common/yaml.py
+new file mode 100644
+index 00000000..4edb0b36
+--- /dev/null
++++ b/whipper/common/yaml.py
+@@ -0,0 +1,18 @@
++from ruamel.yaml import YAML as ruamel_YAML
++from ruamel.yaml.compat import StringIO
++
++# https://yaml.readthedocs.io/en/latest/example.html#output-of-dump-as-a-string
++class YAML(ruamel_YAML):
++    def __init__(self, *args, **kwargs):
++        super().__init__()
++        self.width = 4000
++        self.default_flow_style = False
++
++    def dump(self, data, stream=None, **kw):
++        inefficient = False
++        if stream is None:
++            inefficient = True
++            stream = StringIO()
++        ruamel_YAML.dump(self, data, stream, **kw)
++        if inefficient:
++            return stream.getvalue()
+diff --git a/whipper/result/logger.py b/whipper/result/logger.py
+index b7043adc..f4471a00 100644
+--- a/whipper/result/logger.py
++++ b/whipper/result/logger.py
+@@ -1,12 +1,12 @@
+ import time
+ import hashlib
+ import re
+-import ruamel.yaml as yaml
+ from ruamel.yaml.comments import CommentedMap as OrderedDict
+ 
+ import whipper
+ 
+ from whipper.common import common
++from whipper.common.yaml import YAML
+ from whipper.result import result
+ 
+ 
+@@ -148,11 +148,12 @@ def logRip(self, ripResult, epoch):
+         data["EOF"] = "End of status report"
+         riplog["Conclusive status report"] = data
+ 
++        yaml = YAML(
++            typ="rt",
++            pure=True
++        )
+         riplog = yaml.dump(
+-            riplog,
+-            default_flow_style=False,
+-            width=4000,
+-            Dumper=yaml.RoundTripDumper
++            riplog
+         )
+         # Add a newline after the "Log creation date" line
+         riplog = re.sub(
+diff --git a/whipper/test/test_result_logger.py b/whipper/test/test_result_logger.py
+index 411b61af..98c89ab5 100644
+--- a/whipper/test/test_result_logger.py
++++ b/whipper/test/test_result_logger.py
+@@ -3,8 +3,8 @@
+ import os
+ import re
+ import unittest
+-import ruamel.yaml
+ 
++from whipper.common.yaml import YAML
+ from whipper.result.result import TrackResult, RipResult
+ from whipper.result.logger import WhipperLogger
+ 
+@@ -163,16 +163,14 @@ def testLogger(self):
+             ))
+         )
+ 
+-        yaml = ruamel.yaml.YAML()
++        yaml = YAML(
++            typ='rt',
++            pure=True
++        )
+         parsedLog = yaml.load(actual)
+         self.assertEqual(
+             actual,
+-            ruamel.yaml.dump(
+-                parsedLog,
+-                default_flow_style=False,
+-                width=4000,
+-                Dumper=ruamel.yaml.RoundTripDumper
+-            )
++            yaml.dump(parsedLog)
+         )
+         log_body = "\n".join(actualLines[:-1]).encode()
+         self.assertEqual(
diff --git a/srcpkgs/whipper/template b/srcpkgs/whipper/template
index c5bbd74cfacc..e0f5cf8b8026 100644
--- a/srcpkgs/whipper/template
+++ b/srcpkgs/whipper/template
@@ -1,7 +1,7 @@
 # Template file for 'whipper'
 pkgname=whipper
 version=0.10.0
-revision=2
+revision=3
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 makedepends="libsndfile-devel python3-devel"

From d73c1fca136a57054975138081a689535b8fa662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 17:30:55 +0200
Subject: [PATCH 6/6] python3-ansible-lint: update to 6.3.0.

---
 srcpkgs/python3-ansible-lint/template | 41 ++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 19b1453782e9..a2887ed6ad5c 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,13 +1,42 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=6.2.2
+version=6.3.0
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
+# These require ansible-lint installed properly, or they are flaky
+make_check_args="--deselect test/test_eco.py::test_eco
+ --deselect test/test_main.py::test_call_from_outside_venv
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_script
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_role_name_with_prefix
+ --deselect test/test_cli_role_paths.py::test_run_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_invalid_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_role_three_dir_deep
+ --deselect test/test_cli_role_paths.py::test_run_playbook
+ --deselect test/test_cli_role_paths.py::test_run_role_name_invalid
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_module
+ --deselect test/test_cli_role_paths.py::test_run_inside_role_dir
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_no_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_roles_path_env
+ --deselect test/test_verbosity.py::test_default_verbosity
+ --deselect test/test_task_includes.py::test_included_tasks
+ --deselect test/test_utils.py::test_cli_auto_detect
+ --deselect test/test_list_rules.py::test_list_rules_includes_opt_in_rules
+ --deselect test/test_formatter_json.py::test_code_climate_parsable_ignored
+ --deselect test/test_examples.py::test_custom_kinds
+ --deselect src/ansiblelint/rules/only_builtins.py::test_only_builtin_fail
+ --deselect test/test_import_playbook.py::test_task_hook_import_playbook
+ --deselect test/test_rules_collection.py::test_rich_rule_listing"
+make_install_target="ansible_lint-*-*-*-*.whl"
 hostmakedepends="python3-wheel python3-setuptools_scm"
 depends="ansible-core python3-yamllint python3-six python3-yaml
  python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch
- python3-ansible-compat"
+ python3-ansible-compat python3-jsonschema"
+checkdepends="${depends} python3-pytest black python3-flake8 python3-flaky
+ python3-mypy pylint python3-pytest-cov python3-pytest-xdist
+ python3-pytest-forked"
 short_desc="Linter for Ansible files"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 # Note about licensing from upstream:
@@ -18,12 +47,10 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d
-# 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
+checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38
+make_check_pre="env PYTHONPATH=src"
 
 post_patch() {
 	vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
 }

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
                   ` (6 preceding siblings ...)
  2022-07-01  8:56 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-07-01 21:10 ` jcgruenhage
  2022-07-01 21:17 ` jcgruenhage
  2022-07-01 21:56 ` [PR PATCH] [Merged]: " the-maldridge
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-07-01 21:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1278 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-6.3.0_1
https://github.com/void-linux/void-packages/pull/37488

python3-ansible-lint: update to 6.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From c4e4fb7b5aa525612c3a56bee7fe0e19eb9b6400 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:47:17 +0200
Subject: [PATCH 1/4] python3-jsonschema: update to 4.6.1.

---
 srcpkgs/python3-jsonschema/template | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 120392ad1be3..a1dd7ff5d073 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,20 +1,24 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.4.0
+version=4.6.1
 revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license"
-hostmakedepends="python3-setuptools_scm python3-wheel"
+hostmakedepends="hatchling hatch-vcs"
 depends="python3-attrs python3-pyrsistent"
-checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
+checksum=ec2802e6a37517f09d47d9ba107947589ae1d25ff557b925d83a321fc2aa5d3b
+# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick
+make_check=no
+
+pre_build() {
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
+}
 
 post_install() {
 	vlicense COPYING LICENSE

From fc312a0532ae75f612bc88e4246c8758bb457c9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:53:19 +0200
Subject: [PATCH 2/4] python3-bracex: update to 2.3.post1.

---
 srcpkgs/python3-bracex/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
index a88b1f66737c..89025d991378 100644
--- a/srcpkgs/python3-bracex/template
+++ b/srcpkgs/python3-bracex/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-bracex'
 pkgname=python3-bracex
-version=2.2.1
+version=2.3.post1
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="hatchling"
 depends="python3"
 checkdepends="python3-pytest"
 short_desc="Bash style brace expansion for Python"
@@ -13,7 +13,7 @@ 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=1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21
+checksum=e7b23fc8b2cd06d3dec0692baabecb249dda94e06a617901ff03a6c56fd71693
 
 post_install() {
 	vlicense LICENSE.md

From 62ab2f02555dc5d75becd7115439b73ba817a560 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:59:13 +0200
Subject: [PATCH 3/4] python3-wcmatch: update to 8.4.

---
 srcpkgs/python3-wcmatch/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
index d132c7721d80..60ad0128e422 100644
--- a/srcpkgs/python3-wcmatch/template
+++ b/srcpkgs/python3-wcmatch/template
@@ -1,12 +1,12 @@
 # Template file for 'python3-wcmatch'
 pkgname=python3-wcmatch
-version=8.3
+version=8.4
 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"
+build_style=python3-pep517
+#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="hatchling"
 depends="python3-bracex"
 checkdepends="python3-pytest ${depends}"
 short_desc="Wilcard File Name matching library"
@@ -15,7 +15,7 @@ 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=371072912398af61d1e4e78609e18801c6faecd3cb36c54c82556a60abc965db
+checksum=ba4fc5558f8946bf1ffc7034b05b814d825d694112499c86035e0e4d398b6a67
 
 post_install() {
 	vlicense LICENSE.md

From a987f0ff32de7db31a79375fb323a26d1891cdcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 17:30:55 +0200
Subject: [PATCH 4/4] python3-ansible-lint: update to 6.3.0.

---
 srcpkgs/python3-ansible-lint/template | 41 ++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 19b1453782e9..a2887ed6ad5c 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,13 +1,42 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=6.2.2
+version=6.3.0
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
+# These require ansible-lint installed properly, or they are flaky
+make_check_args="--deselect test/test_eco.py::test_eco
+ --deselect test/test_main.py::test_call_from_outside_venv
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_script
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_role_name_with_prefix
+ --deselect test/test_cli_role_paths.py::test_run_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_invalid_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_role_three_dir_deep
+ --deselect test/test_cli_role_paths.py::test_run_playbook
+ --deselect test/test_cli_role_paths.py::test_run_role_name_invalid
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_module
+ --deselect test/test_cli_role_paths.py::test_run_inside_role_dir
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_no_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_roles_path_env
+ --deselect test/test_verbosity.py::test_default_verbosity
+ --deselect test/test_task_includes.py::test_included_tasks
+ --deselect test/test_utils.py::test_cli_auto_detect
+ --deselect test/test_list_rules.py::test_list_rules_includes_opt_in_rules
+ --deselect test/test_formatter_json.py::test_code_climate_parsable_ignored
+ --deselect test/test_examples.py::test_custom_kinds
+ --deselect src/ansiblelint/rules/only_builtins.py::test_only_builtin_fail
+ --deselect test/test_import_playbook.py::test_task_hook_import_playbook
+ --deselect test/test_rules_collection.py::test_rich_rule_listing"
+make_install_target="ansible_lint-*-*-*-*.whl"
 hostmakedepends="python3-wheel python3-setuptools_scm"
 depends="ansible-core python3-yamllint python3-six python3-yaml
  python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch
- python3-ansible-compat"
+ python3-ansible-compat python3-jsonschema"
+checkdepends="${depends} python3-pytest black python3-flake8 python3-flaky
+ python3-mypy pylint python3-pytest-cov python3-pytest-xdist
+ python3-pytest-forked"
 short_desc="Linter for Ansible files"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 # Note about licensing from upstream:
@@ -18,12 +47,10 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d
-# 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
+checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38
+make_check_pre="env PYTHONPATH=src"
 
 post_patch() {
 	vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
+	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
 }

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
                   ` (7 preceding siblings ...)
  2022-07-01 21:10 ` jcgruenhage
@ 2022-07-01 21:17 ` jcgruenhage
  2022-07-01 21:56 ` [PR PATCH] [Merged]: " the-maldridge
  9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-07-01 21:17 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37488#issuecomment-1172107564

Comment:
This is blocked on #36320 (cherry picked those commits into here for now for testing), but with tests finally running on ansible-core and here again I'm already a bit more confident in the packages, because it's surfaced a few other issues here :)

EDIT: Blocking MR has been merged, locally tested again and it works just fine!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Merged]: python3-ansible-lint: update to 6.3.0.
  2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
                   ` (8 preceding siblings ...)
  2022-07-01 21:17 ` jcgruenhage
@ 2022-07-01 21:56 ` the-maldridge
  9 siblings, 0 replies; 11+ messages in thread
From: the-maldridge @ 2022-07-01 21:56 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

python3-ansible-lint: update to 6.3.0.
https://github.com/void-linux/void-packages/pull/37488

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-07-01 21:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-10 15:31 [PR PATCH] python3-ansible-lint: update to 6.3.0 jcgruenhage
2022-06-25  0:19 ` classabbyamp
2022-06-26 10:43 ` jcgruenhage
2022-06-26 14:48 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-30  8:43 ` jcgruenhage
2022-07-01  8:51 ` jcgruenhage
2022-07-01  8:54 ` jcgruenhage
2022-07-01  8:56 ` [PR PATCH] [Updated] " jcgruenhage
2022-07-01 21:10 ` jcgruenhage
2022-07-01 21:17 ` jcgruenhage
2022-07-01 21:56 ` [PR PATCH] [Merged]: " the-maldridge

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).