Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-click: update to 8.1.3.
@ 2022-06-21  0:14 Goorzhel
  2022-06-21  0:14 ` Goorzhel
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-21  0:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages python3-click
https://github.com/void-linux/void-packages/pull/37629

python3-click: update to 8.1.3.
<details>
<summary>python3-click tests pass</summary>

```
$ git log --oneline --decorate | head -2
72184752a3 (HEAD -> python3-click) python3-click: update to 8.1.3.
fce1ba0a35 (upstream/master, upstream/HEAD, master) riff: update to 2.17.0.
$ ./xbps-src check python3-click1
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> python3-click-8.1.3_1: removing autodeps, please wait...
=> python3-click-8.1.3_1: building [python3-module] for x86_64...
   [host] python3-setuptools-62.3.3_1: found (https://repo-default.voidlinux.org/current)
   [check] python3-pytest-7.1.2_1: found (https://repo-default.voidlinux.org/current)
   [target] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
   [runtime] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
=> python3-click-8.1.3_1: installing host dependencies: python3-setuptools-62.3.3_1 python3-pytest-7.1.2_1 ...
=> python3-click-8.1.3_1: installing target dependencies: python3-3.10.5_1 ...
=> python3-click-8.1.3_1: running do_check ...
============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/click-8.1.3, configfile: setup.cfg, testpaths: tests
collected 598 items

tests/test_arguments.py ...................................              [  5%]
tests/test_basic.py .................................................... [ 14%]
....                                                                     [ 15%]
tests/test_chain.py ...............x                                     [ 17%]
tests/test_command_decorators.py ...                                     [ 18%]
tests/test_commands.py ........................                          [ 22%]
tests/test_compat.py .                                                   [ 22%]
tests/test_context.py .......................                            [ 26%]
tests/test_custom_classes.py ......                                      [ 27%]
tests/test_defaults.py ...                                               [ 27%]
tests/test_formatting.py ................                                [ 30%]
tests/test_imports.py .                                                  [ 30%]
tests/test_info_dict.py ......................                           [ 34%]
tests/test_normalization.py ...                                          [ 34%]
tests/test_options.py .................................................. [ 43%]
...............................................................          [ 53%]
tests/test_parser.py .......                                             [ 55%]
tests/test_shell_completion.py .....................................     [ 61%]
tests/test_termui.py ...........................................ssssssss [ 69%]
sssssssssssss.................                                           [ 74%]
tests/test_testing.py .......................                            [ 78%]
tests/test_types.py ..................................                   [ 84%]
tests/test_utils.py .................................................... [ 92%]
..........................................                               [100%]

================== 576 passed, 21 skipped, 1 xfailed in 0.97s ==================
```
</details>

<details>
<summary>How I tested each reverse dependency</summary>

```
$ xbps-query -RX python3-click
activityrelay-0.2.1_1
black-21.9b0_2
fava-1.18_2
gandi-cli-1.6_2
khal-0.10.4_2
litecli-1.8.0_1
magic-wormhole-0.12.0_3
pantalaimon-0.8.0_2
papis-0.11.1_2
pgcli-3.4.1_1
platformio-5.2.5_1
python3-Flask-2.0.2_1
python3-click-log-0.3.2_5
python3-click-plugins-1.1.1_4
python3-click-repl-0.1.6_3
python3-click-threading-0.4.4_5
python3-dotenv-0.19.0_2
python3-httpx-0.23.0_1
python3-pgspecial-1.13.1_1
python3-proselint-0.12.0_1
python3-pyinfra-2.1_1
python3-quart-0.17.0_1
python3-shodan-1.25.0_2
python3-tmuxp-1.10.1_1
python3-userpath-1.7.0_2
subliminal-2.1.0_6
termdown-1.17.0_3
vdirsyncer-0.18.0_2
yubikey-manager-4.0.7_1

$ for i in $(xbps-query -RX python3-click); do
  i=${i%-*}  # strip version
  ./xbps-src check $i &> ~Temp/click/$i
done
```
</details>

## Results of `xbps-src check`

### Pass
- khal-0.10.4_2
- litecli-1.8.0_1
- pantalaimon-0.8.0_2
- platformio-5.2.5_1
- python3-click-log-0.3.2_5
- python3-click-plugins-1.1.1_4
- python3-dotenv-0.19.0_2
- python3-proselint-0.12.0_1
- python3-pyinfra-2.1_1
- python3-quart-0.17.0_1
- python3-tmuxp-1.10.1_1
- python3-userpath-1.7.0_2
- subliminal-2.1.0_6
- yubikey-manager-4.0.7_1

### Fail
- black-22.3.0_1
- python3-Flask-2.0.2_1
- python3-click-threading-0.4.4_5
- gandi-cli-1.6_2
- python3-shodan-1.25.0_2
- vdirsyncer-0.18.0_2

### Don't test (`make_check=no`)
- activityrelay-0.2.1_1
- python3-click-repl-0.1.6_3
- pgcli-3.4.1_1
- python3-httpx-0.23.0_1
- python3-pgspecial-1.13.1_1

### Can't test
All of these fail with
> /usr/bin/python3: No module named pip

- magic-wormhole-0.12.0_3
- papis-0.11.1_2
- termdown-1.17.0_3

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-click-37629.patch --]
[-- Type: text/x-diff, Size: 1338 bytes --]

From 9499908f9d0fc9dedab53abeaa460c3d7c2a26ae Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 20 Jun 2022 12:31:35 -0700
Subject: [PATCH] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..921ddbbe0cb2 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,17 +1,19 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Python3 package for creating beautiful command line interfaces"
 maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
-homepage="http://click.pocoo.org/"
+homepage="https://palletsprojects.com/p/click/"
+changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
@ 2022-06-21  0:14 ` Goorzhel
  2022-06-21  0:38 ` Goorzhel
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-21  0:14 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1160978247

Comment:
Blocks #37514 (`python3-hatch`) and #34520 (`black`).

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
  2022-06-21  0:14 ` Goorzhel
@ 2022-06-21  0:38 ` Goorzhel
  2022-06-22  2:28 ` Goorzhel
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-21  0:38 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1160993249

Comment:
Testing the reverse dependencies with the current version, `python3-click-7.1.2_5`, showed that these packages regress with the upgrade:
- fava-1.18_2
- python3-click-threading-0.4.4_5
- vdirsyncer-0.18.0_2

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
  2022-06-21  0:14 ` Goorzhel
  2022-06-21  0:38 ` Goorzhel
@ 2022-06-22  2:28 ` Goorzhel
  2022-06-22  2:39 ` Goorzhel
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-22  2:28 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1162558643

Comment:
`fava` has adopted PEP 517 sometime between 1.18 and 1.21. Updating it leads to another brick wall, however:
<details>
<summary>git diff srcpkgs/fava/template</summary>

```diff
diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540..87339be552 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -3,3 +3,3 @@ pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
+version=1.21
+revision=1
+build_style=python3-pep517
@@ -9 +9 @@ depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
@@ -16 +16 @@ distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
```
</details>


```
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava' (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (2 preceding siblings ...)
  2022-06-22  2:28 ` Goorzhel
@ 2022-06-22  2:39 ` Goorzhel
  2022-06-22  2:39 ` Goorzhel
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-22  2:39 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1162558643

Comment:
`fava` has adopted PEP 517 sometime between 1.18 and 1.21. Updating it leads to another brick wall, however:
<details>
<summary>git diff srcpkgs/fava/template</summary>

```diff
diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540..87339be552 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -3,3 +3,3 @@ pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
+version=1.21
+revision=1
+build_style=python3-pep517
@@ -9 +9 @@ depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
@@ -16 +16 @@ distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
```
</details>

<details>
<summary>./xbps-src check fava</summary>

```
<...>
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava' (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```
<details>
<summary>head -12 masterdir/builddir/fava-1.21/build/lib/fava/__init__.py</summary>

```
"""Fava – A web interface for Beancount."""
from __future__ import annotations

from pkg_resources import DistributionNotFound
from pkg_resources import get_distribution

try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:  # pragma: no cover
    # package is not installed
    pass
```
</details>

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (3 preceding siblings ...)
  2022-06-22  2:39 ` Goorzhel
@ 2022-06-22  2:39 ` Goorzhel
  2022-06-22  3:46 ` Goorzhel
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-22  2:39 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1162558643

Comment:
`fava` has adopted PEP 517 sometime between 1.18 and 1.21. Updating it leads to another brick wall, however:
<details>
<summary>git diff srcpkgs/fava/template</summary>

```diff
diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540..87339be552 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -3,3 +3,3 @@ pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
+version=1.21
+revision=1
+build_style=python3-pep517
@@ -9 +9 @@ depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
@@ -16 +16 @@ distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
```
</details>

<details>
<summary>./xbps-src check fava</summary>

```
<...>
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava' (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```
</details>

<details>
<summary>head -12 masterdir/builddir/fava-1.21/build/lib/fava/__init__.py</summary>

```
"""Fava – A web interface for Beancount."""
from __future__ import annotations

from pkg_resources import DistributionNotFound
from pkg_resources import get_distribution

try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:  # pragma: no cover
    # package is not installed
    pass
```
</details>

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (4 preceding siblings ...)
  2022-06-22  2:39 ` Goorzhel
@ 2022-06-22  3:46 ` Goorzhel
  2022-06-22 11:53 ` leahneukirchen
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-22  3:46 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1162558643

Comment:
`fava` has adopted PEP 517 sometime between 1.18 and the current version, 1.21. Updating it leads to another brick wall, however:
<details>
<summary>git diff srcpkgs/fava/template</summary>

```diff
diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540..87339be552 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -3,3 +3,3 @@ pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
+version=1.21
+revision=1
+build_style=python3-pep517
@@ -9 +9 @@ depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
@@ -16 +16 @@ distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
```
</details>

<details>
<summary>./xbps-src check fava</summary>

```
<...>
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava' (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```
</details>

<details>
<summary>head -12 masterdir/builddir/fava-1.21/build/lib/fava/__init__.py</summary>

```
"""Fava – A web interface for Beancount."""
from __future__ import annotations

from pkg_resources import DistributionNotFound
from pkg_resources import get_distribution

try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:  # pragma: no cover
    # package is not installed
    pass
```
</details>

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (5 preceding siblings ...)
  2022-06-22  3:46 ` Goorzhel
@ 2022-06-22 11:53 ` leahneukirchen
  2022-06-22 12:11 ` leahneukirchen
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: leahneukirchen @ 2022-06-22 11:53 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1163003952

Comment:
https://github.com/pimutils/vdirsyncer/releases/tag/0.18.0 claims to fix vdirsyncer

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (6 preceding siblings ...)
  2022-06-22 11:53 ` leahneukirchen
@ 2022-06-22 12:11 ` leahneukirchen
  2022-06-24  1:05 ` Goorzhel
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: leahneukirchen @ 2022-06-22 12:11 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1163020087

Comment:
If the test suite can't run from a build dir without installation, just disable it imo.

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (7 preceding siblings ...)
  2022-06-22 12:11 ` leahneukirchen
@ 2022-06-24  1:05 ` Goorzhel
  2022-06-24  1:06 ` [PR PATCH] [Updated] " Goorzhel
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-24  1:05 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1165061113

Comment:
> 0.18.0 claims to fix vdirsyncer

That's the current version, though.

> If the test suite can't run from a build dir without installation, just disable it imo.

Fair. I'll make `fava` `make_check=no`.

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

* Re: [PR PATCH] [Updated] python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (8 preceding siblings ...)
  2022-06-24  1:05 ` Goorzhel
@ 2022-06-24  1:06 ` Goorzhel
  2022-06-24  2:50 ` Goorzhel
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-24  1:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages python3-click
https://github.com/void-linux/void-packages/pull/37629

python3-click: update to 8.1.3.
<details>
<summary>python3-click tests pass</summary>

```
$ git log --oneline --decorate | head -2
72184752a3 (HEAD -> python3-click) python3-click: update to 8.1.3.
fce1ba0a35 (upstream/master, upstream/HEAD, master) riff: update to 2.17.0.
$ ./xbps-src check python3-click
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> python3-click-8.1.3_1: removing autodeps, please wait...
=> python3-click-8.1.3_1: building [python3-module] for x86_64...
   [host] python3-setuptools-62.3.3_1: found (https://repo-default.voidlinux.org/current)
   [check] python3-pytest-7.1.2_1: found (https://repo-default.voidlinux.org/current)
   [target] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
   [runtime] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
=> python3-click-8.1.3_1: installing host dependencies: python3-setuptools-62.3.3_1 python3-pytest-7.1.2_1 ...
=> python3-click-8.1.3_1: installing target dependencies: python3-3.10.5_1 ...
=> python3-click-8.1.3_1: running do_check ...
============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/click-8.1.3, configfile: setup.cfg, testpaths: tests
collected 598 items

tests/test_arguments.py ...................................              [  5%]
tests/test_basic.py .................................................... [ 14%]
....                                                                     [ 15%]
tests/test_chain.py ...............x                                     [ 17%]
tests/test_command_decorators.py ...                                     [ 18%]
tests/test_commands.py ........................                          [ 22%]
tests/test_compat.py .                                                   [ 22%]
tests/test_context.py .......................                            [ 26%]
tests/test_custom_classes.py ......                                      [ 27%]
tests/test_defaults.py ...                                               [ 27%]
tests/test_formatting.py ................                                [ 30%]
tests/test_imports.py .                                                  [ 30%]
tests/test_info_dict.py ......................                           [ 34%]
tests/test_normalization.py ...                                          [ 34%]
tests/test_options.py .................................................. [ 43%]
...............................................................          [ 53%]
tests/test_parser.py .......                                             [ 55%]
tests/test_shell_completion.py .....................................     [ 61%]
tests/test_termui.py ...........................................ssssssss [ 69%]
sssssssssssss.................                                           [ 74%]
tests/test_testing.py .......................                            [ 78%]
tests/test_types.py ..................................                   [ 84%]
tests/test_utils.py .................................................... [ 92%]
..........................................                               [100%]

================== 576 passed, 21 skipped, 1 xfailed in 0.97s ==================
```
</details>

<details>
<summary>How I tested each reverse dependency</summary>

```
$ xbps-query -RX python3-click
activityrelay-0.2.1_1
black-21.9b0_2
fava-1.18_2
gandi-cli-1.6_2
khal-0.10.4_2
litecli-1.8.0_1
magic-wormhole-0.12.0_3
pantalaimon-0.8.0_2
papis-0.11.1_2
pgcli-3.4.1_1
platformio-5.2.5_1
python3-Flask-2.0.2_1
python3-click-log-0.3.2_5
python3-click-plugins-1.1.1_4
python3-click-repl-0.1.6_3
python3-click-threading-0.4.4_5
python3-dotenv-0.19.0_2
python3-httpx-0.23.0_1
python3-pgspecial-1.13.1_1
python3-proselint-0.12.0_1
python3-pyinfra-2.1_1
python3-quart-0.17.0_1
python3-shodan-1.25.0_2
python3-tmuxp-1.10.1_1
python3-userpath-1.7.0_2
subliminal-2.1.0_6
termdown-1.17.0_3
vdirsyncer-0.18.0_2
yubikey-manager-4.0.7_1

$ for i in $(xbps-query -RX python3-click); do
  i=${i%-*}  # strip version
  ./xbps-src check $i &> ~Temp/click/$i
done
```
</details>

## Results of `xbps-src check`

### Pass
- khal-0.10.4_2
- litecli-1.8.0_1
- pantalaimon-0.8.0_2
- platformio-5.2.5_1
- python3-click-log-0.3.2_5
- python3-click-plugins-1.1.1_4
- python3-dotenv-0.19.0_2
- python3-proselint-0.12.0_1
- python3-pyinfra-2.1_1
- python3-quart-0.17.0_1
- python3-tmuxp-1.10.1_1
- python3-userpath-1.7.0_2
- subliminal-2.1.0_6
- yubikey-manager-4.0.7_1

### Fail
- black-21.9b0_2 (and 22.3.0_1)
- fava-1.18_2
- python3-Flask-2.0.2_1
- python3-click-threading-0.4.4_5
- gandi-cli-1.6_2
- python3-shodan-1.25.0_2
- vdirsyncer-0.18.0_2

### Don't test (`make_check=no`)
- activityrelay-0.2.1_1
- python3-click-repl-0.1.6_3
- pgcli-3.4.1_1
- python3-httpx-0.23.0_1
- python3-pgspecial-1.13.1_1

### Can't test
All of these fail with
> /usr/bin/python3: No module named pip

- magic-wormhole-0.12.0_3
- papis-0.11.1_2
- termdown-1.17.0_3

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-click-37629.patch --]
[-- Type: text/x-diff, Size: 3449 bytes --]

From 9499908f9d0fc9dedab53abeaa460c3d7c2a26ae Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 20 Jun 2022 12:31:35 -0700
Subject: [PATCH 1/2] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..921ddbbe0cb2 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,17 +1,19 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Python3 package for creating beautiful command line interfaces"
 maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
-homepage="http://click.pocoo.org/"
+homepage="https://palletsprojects.com/p/click/"
+changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From 9ae0f5f9f152881d27685ade2801b7cde9b4f1cb Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 21 Jun 2022 22:14:38 -0700
Subject: [PATCH 2/2] fava: update to 1.21.

make_check=no because:
```
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava'
 (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m
 pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```
---
 srcpkgs/fava/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540b9..75ed00f9e9f7 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -1,19 +1,20 @@
 # Template file for 'fava'
 pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
+version=1.21
+revision=1
+build_style=python3-pep517
 hostmakedepends="python3-setuptools_scm"
 depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
  python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
 checkdepends="$depends"
 short_desc="Web interface for Beancount"
 maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
 license="MIT"
 homepage="https://beancount.github.io/fava/"
 distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
+make_check=no  # "ImportError: cannot import name '__version__' from 'fava'"
 
 do_check() {
 	# CLI test expects fava on $PATH.  Not sure why static_url fails.

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

* Re: [PR PATCH] [Updated] python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (9 preceding siblings ...)
  2022-06-24  1:06 ` [PR PATCH] [Updated] " Goorzhel
@ 2022-06-24  2:50 ` Goorzhel
  2022-06-24  3:03 ` Goorzhel
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-24  2:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages python3-click
https://github.com/void-linux/void-packages/pull/37629

python3-click: update to 8.1.3.
<details>
<summary>python3-click tests pass</summary>

```
$ git log --oneline --decorate | head -2
72184752a3 (HEAD -> python3-click) python3-click: update to 8.1.3.
fce1ba0a35 (upstream/master, upstream/HEAD, master) riff: update to 2.17.0.
$ ./xbps-src check python3-click
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> python3-click-8.1.3_1: removing autodeps, please wait...
=> python3-click-8.1.3_1: building [python3-module] for x86_64...
   [host] python3-setuptools-62.3.3_1: found (https://repo-default.voidlinux.org/current)
   [check] python3-pytest-7.1.2_1: found (https://repo-default.voidlinux.org/current)
   [target] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
   [runtime] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
=> python3-click-8.1.3_1: installing host dependencies: python3-setuptools-62.3.3_1 python3-pytest-7.1.2_1 ...
=> python3-click-8.1.3_1: installing target dependencies: python3-3.10.5_1 ...
=> python3-click-8.1.3_1: running do_check ...
============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/click-8.1.3, configfile: setup.cfg, testpaths: tests
collected 598 items

tests/test_arguments.py ...................................              [  5%]
tests/test_basic.py .................................................... [ 14%]
....                                                                     [ 15%]
tests/test_chain.py ...............x                                     [ 17%]
tests/test_command_decorators.py ...                                     [ 18%]
tests/test_commands.py ........................                          [ 22%]
tests/test_compat.py .                                                   [ 22%]
tests/test_context.py .......................                            [ 26%]
tests/test_custom_classes.py ......                                      [ 27%]
tests/test_defaults.py ...                                               [ 27%]
tests/test_formatting.py ................                                [ 30%]
tests/test_imports.py .                                                  [ 30%]
tests/test_info_dict.py ......................                           [ 34%]
tests/test_normalization.py ...                                          [ 34%]
tests/test_options.py .................................................. [ 43%]
...............................................................          [ 53%]
tests/test_parser.py .......                                             [ 55%]
tests/test_shell_completion.py .....................................     [ 61%]
tests/test_termui.py ...........................................ssssssss [ 69%]
sssssssssssss.................                                           [ 74%]
tests/test_testing.py .......................                            [ 78%]
tests/test_types.py ..................................                   [ 84%]
tests/test_utils.py .................................................... [ 92%]
..........................................                               [100%]

================== 576 passed, 21 skipped, 1 xfailed in 0.97s ==================
```
</details>

<details>
<summary>How I tested each reverse dependency</summary>

```
$ xbps-query -RX python3-click
activityrelay-0.2.1_1
black-21.9b0_2
fava-1.18_2
gandi-cli-1.6_2
khal-0.10.4_2
litecli-1.8.0_1
magic-wormhole-0.12.0_3
pantalaimon-0.8.0_2
papis-0.11.1_2
pgcli-3.4.1_1
platformio-5.2.5_1
python3-Flask-2.0.2_1
python3-click-log-0.3.2_5
python3-click-plugins-1.1.1_4
python3-click-repl-0.1.6_3
python3-click-threading-0.4.4_5
python3-dotenv-0.19.0_2
python3-httpx-0.23.0_1
python3-pgspecial-1.13.1_1
python3-proselint-0.12.0_1
python3-pyinfra-2.1_1
python3-quart-0.17.0_1
python3-shodan-1.25.0_2
python3-tmuxp-1.10.1_1
python3-userpath-1.7.0_2
subliminal-2.1.0_6
termdown-1.17.0_3
vdirsyncer-0.18.0_2
yubikey-manager-4.0.7_1

$ for i in $(xbps-query -RX python3-click); do
  i=${i%-*}  # strip version
  ./xbps-src check $i &> ~Temp/click/$i
done
```
</details>

## Results of `xbps-src check`

### Pass
- khal-0.10.4_2
- litecli-1.8.0_1
- pantalaimon-0.8.0_2
- platformio-5.2.5_1
- python3-click-log-0.3.2_5
- python3-click-plugins-1.1.1_4
- python3-dotenv-0.19.0_2
- python3-proselint-0.12.0_1
- python3-pyinfra-2.1_1
- python3-quart-0.17.0_1
- python3-tmuxp-1.10.1_1
- python3-userpath-1.7.0_2
- subliminal-2.1.0_6
- yubikey-manager-4.0.7_1

### Fail
- black-21.9b0_2 (and 22.3.0_1)
- fava-1.18_2
- python3-Flask-2.0.2_1
- python3-click-threading-0.4.4_5
- gandi-cli-1.6_2
- python3-shodan-1.25.0_2
- vdirsyncer-0.18.0_2

### Don't test (`make_check=no`)
- activityrelay-0.2.1_1
- python3-click-repl-0.1.6_3
- pgcli-3.4.1_1
- python3-httpx-0.23.0_1
- python3-pgspecial-1.13.1_1

### Can't test
All of these fail with
> /usr/bin/python3: No module named pip

- magic-wormhole-0.12.0_3
- papis-0.11.1_2
- termdown-1.17.0_3

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-click-37629.patch --]
[-- Type: text/x-diff, Size: 4670 bytes --]

From c4e96ad5f9e7600d84ee0358c183fe3f3ea58b3d Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 20 Jun 2022 12:31:35 -0700
Subject: [PATCH 1/3] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..921ddbbe0cb2 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,17 +1,19 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Python3 package for creating beautiful command line interfaces"
 maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
-homepage="http://click.pocoo.org/"
+homepage="https://palletsprojects.com/p/click/"
+changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From 588c37450b9abf7183bcb880582fd0953909cfab Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 21 Jun 2022 22:14:38 -0700
Subject: [PATCH 2/3] fava: update to 1.21.

make_check=no because:
```
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava'
 (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m
 pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```
---
 srcpkgs/fava/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540b9..75ed00f9e9f7 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -1,19 +1,20 @@
 # Template file for 'fava'
 pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
+version=1.21
+revision=1
+build_style=python3-pep517
 hostmakedepends="python3-setuptools_scm"
 depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
  python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
 checkdepends="$depends"
 short_desc="Web interface for Beancount"
 maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
 license="MIT"
 homepage="https://beancount.github.io/fava/"
 distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
+make_check=no  # "ImportError: cannot import name '__version__' from 'fava'"
 
 do_check() {
 	# CLI test expects fava on $PATH.  Not sure why static_url fails.

From 578ebe44173d2ee2d45dce1d22c779a327a46ab7 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Thu, 23 Jun 2022 19:33:26 -0700
Subject: [PATCH 3/3] python3-click-threading: update to 0.5.0.

---
 srcpkgs/python3-click-threading/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-click-threading/template b/srcpkgs/python3-click-threading/template
index 66bd90de3fd8..07744a6f6f70 100644
--- a/srcpkgs/python3-click-threading/template
+++ b/srcpkgs/python3-click-threading/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click-threading'
 pkgname=python3-click-threading
-version=0.4.4
-revision=5
+version=0.5.0
+revision=1
 wrksrc="click-threading-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="MIT"
 homepage="https://github.com/click-contrib/click-threading"
 distfiles="${PYPI_SITE}/c/click-threading/click-threading-${version}.tar.gz"
-checksum=b2b0fada5bf184b56afaccc99d0d2548d8ab07feb2e95e29e490f6b99c605de7
+checksum=adcfe623c02a595c107c314072f67a2278fe4eb40b72c0d1a2c903cc78af3439
 
 post_install() {
 	vlicense LICENSE

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (10 preceding siblings ...)
  2022-06-24  2:50 ` Goorzhel
@ 2022-06-24  3:03 ` Goorzhel
  2022-06-24  3:04 ` Goorzhel
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-24  3:03 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1165144869

Comment:
`xbps-src check vdirsyncer` seems to be working on my machine now, with `upstream/HEAD` at 2cecb1efcc. I rebased upon `fce1ba0a35` (`HEAD` when I started this PR) and...`do_check` succeeds there too. I've also lost whatever output I used to determine that `vdirsyncer` had regressed. 🤡

That's all the regressions dealt with, anyway. I took a shot at the "Can't test" packages but `papis` sent me down a yak trail that sapped all my energy:
* `ModuleNotFoundError: No module named 'pytest'`, so I add it to `checkdepends`
* Then it complained about `whoosh` missing, so I added `python3-Whoosh`
* Then [this](https://0x0.st/oScX.txt) happened

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (11 preceding siblings ...)
  2022-06-24  3:03 ` Goorzhel
@ 2022-06-24  3:04 ` Goorzhel
  2022-06-24 15:36 ` ahesford
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Goorzhel @ 2022-06-24  3:04 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1165144869

Comment:
`xbps-src check vdirsyncer` seems to be working on my machine now, with `upstream/HEAD` at 2cecb1efcc. I rebased upon `fce1ba0a35` (`HEAD` when I started this PR) and...`do_check` succeeds there too. I've also lost whatever output I used to determine that `vdirsyncer` had regressed. 🤡

That's all the regressions dealt with, anyway. I took a shot at the "Can't test" packages but `papis` sent me down a yak trail that sapped all my energy:
* `ModuleNotFoundError: No module named 'pytest'`, so I added it to `checkdepends`
* Then `error: unrecognized arguments: --cov=papis`, so I added `python3-pytest-cov` 
* Then it complained about `whoosh` missing, so I added `python3-Whoosh`
* Then [this](https://0x0.st/oScX.txt) happened

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (12 preceding siblings ...)
  2022-06-24  3:04 ` Goorzhel
@ 2022-06-24 15:36 ` ahesford
  2022-06-24 16:48 ` [PR PATCH] [Updated] " leahneukirchen
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ahesford @ 2022-06-24 15:36 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1165692841

Comment:
1. `fava` requires `python3-wheel` be added to `hostmakedepends`
2. If you are going to disable the tests, remove the `do_check` function.

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

* Re: [PR PATCH] [Updated] python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (13 preceding siblings ...)
  2022-06-24 15:36 ` ahesford
@ 2022-06-24 16:48 ` leahneukirchen
  2022-06-24 18:45 ` paper42
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: leahneukirchen @ 2022-06-24 16:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages python3-click
https://github.com/void-linux/void-packages/pull/37629

python3-click: update to 8.1.3.
<details>
<summary>python3-click tests pass</summary>

```
$ git log --oneline --decorate | head -2
72184752a3 (HEAD -> python3-click) python3-click: update to 8.1.3.
fce1ba0a35 (upstream/master, upstream/HEAD, master) riff: update to 2.17.0.
$ ./xbps-src check python3-click
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> python3-click-8.1.3_1: removing autodeps, please wait...
=> python3-click-8.1.3_1: building [python3-module] for x86_64...
   [host] python3-setuptools-62.3.3_1: found (https://repo-default.voidlinux.org/current)
   [check] python3-pytest-7.1.2_1: found (https://repo-default.voidlinux.org/current)
   [target] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
   [runtime] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
=> python3-click-8.1.3_1: installing host dependencies: python3-setuptools-62.3.3_1 python3-pytest-7.1.2_1 ...
=> python3-click-8.1.3_1: installing target dependencies: python3-3.10.5_1 ...
=> python3-click-8.1.3_1: running do_check ...
============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/click-8.1.3, configfile: setup.cfg, testpaths: tests
collected 598 items

tests/test_arguments.py ...................................              [  5%]
tests/test_basic.py .................................................... [ 14%]
....                                                                     [ 15%]
tests/test_chain.py ...............x                                     [ 17%]
tests/test_command_decorators.py ...                                     [ 18%]
tests/test_commands.py ........................                          [ 22%]
tests/test_compat.py .                                                   [ 22%]
tests/test_context.py .......................                            [ 26%]
tests/test_custom_classes.py ......                                      [ 27%]
tests/test_defaults.py ...                                               [ 27%]
tests/test_formatting.py ................                                [ 30%]
tests/test_imports.py .                                                  [ 30%]
tests/test_info_dict.py ......................                           [ 34%]
tests/test_normalization.py ...                                          [ 34%]
tests/test_options.py .................................................. [ 43%]
...............................................................          [ 53%]
tests/test_parser.py .......                                             [ 55%]
tests/test_shell_completion.py .....................................     [ 61%]
tests/test_termui.py ...........................................ssssssss [ 69%]
sssssssssssss.................                                           [ 74%]
tests/test_testing.py .......................                            [ 78%]
tests/test_types.py ..................................                   [ 84%]
tests/test_utils.py .................................................... [ 92%]
..........................................                               [100%]

================== 576 passed, 21 skipped, 1 xfailed in 0.97s ==================
```
</details>

<details>
<summary>How I tested each reverse dependency</summary>

```
$ xbps-query -RX python3-click
activityrelay-0.2.1_1
black-21.9b0_2
fava-1.18_2
gandi-cli-1.6_2
khal-0.10.4_2
litecli-1.8.0_1
magic-wormhole-0.12.0_3
pantalaimon-0.8.0_2
papis-0.11.1_2
pgcli-3.4.1_1
platformio-5.2.5_1
python3-Flask-2.0.2_1
python3-click-log-0.3.2_5
python3-click-plugins-1.1.1_4
python3-click-repl-0.1.6_3
python3-click-threading-0.4.4_5
python3-dotenv-0.19.0_2
python3-httpx-0.23.0_1
python3-pgspecial-1.13.1_1
python3-proselint-0.12.0_1
python3-pyinfra-2.1_1
python3-quart-0.17.0_1
python3-shodan-1.25.0_2
python3-tmuxp-1.10.1_1
python3-userpath-1.7.0_2
subliminal-2.1.0_6
termdown-1.17.0_3
vdirsyncer-0.18.0_2
yubikey-manager-4.0.7_1

$ for i in $(xbps-query -RX python3-click); do
  i=${i%-*}  # strip version
  ./xbps-src check $i &> ~Temp/click/$i
done
```
</details>

## Results of `xbps-src check`

### Pass
- khal-0.10.4_2
- litecli-1.8.0_1
- pantalaimon-0.8.0_2
- platformio-5.2.5_1
- python3-click-log-0.3.2_5
- python3-click-plugins-1.1.1_4
- python3-dotenv-0.19.0_2
- python3-proselint-0.12.0_1
- python3-pyinfra-2.1_1
- python3-quart-0.17.0_1
- python3-tmuxp-1.10.1_1
- python3-userpath-1.7.0_2
- subliminal-2.1.0_6
- yubikey-manager-4.0.7_1

### Fail
- black-21.9b0_2 (and 22.3.0_1)
- fava-1.18_2
- python3-Flask-2.0.2_1
- python3-click-threading-0.4.4_5
- gandi-cli-1.6_2
- python3-shodan-1.25.0_2
- vdirsyncer-0.18.0_2

### Don't test (`make_check=no`)
- activityrelay-0.2.1_1
- python3-click-repl-0.1.6_3
- pgcli-3.4.1_1
- python3-httpx-0.23.0_1
- python3-pgspecial-1.13.1_1

### Can't test
All of these fail with
> /usr/bin/python3: No module named pip

- magic-wormhole-0.12.0_3
- papis-0.11.1_2
- termdown-1.17.0_3

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-click-37629.patch --]
[-- Type: text/x-diff, Size: 5959 bytes --]

From c4e96ad5f9e7600d84ee0358c183fe3f3ea58b3d Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 20 Jun 2022 12:31:35 -0700
Subject: [PATCH 1/4] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..921ddbbe0cb2 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,17 +1,19 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Python3 package for creating beautiful command line interfaces"
 maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
-homepage="http://click.pocoo.org/"
+homepage="https://palletsprojects.com/p/click/"
+changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From 588c37450b9abf7183bcb880582fd0953909cfab Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 21 Jun 2022 22:14:38 -0700
Subject: [PATCH 2/4] fava: update to 1.21.

make_check=no because:
```
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava'
 (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m
 pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```
---
 srcpkgs/fava/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540b9..75ed00f9e9f7 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -1,19 +1,20 @@
 # Template file for 'fava'
 pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
+version=1.21
+revision=1
+build_style=python3-pep517
 hostmakedepends="python3-setuptools_scm"
 depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
  python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
 checkdepends="$depends"
 short_desc="Web interface for Beancount"
 maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
 license="MIT"
 homepage="https://beancount.github.io/fava/"
 distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
+make_check=no  # "ImportError: cannot import name '__version__' from 'fava'"
 
 do_check() {
 	# CLI test expects fava on $PATH.  Not sure why static_url fails.

From 578ebe44173d2ee2d45dce1d22c779a327a46ab7 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Thu, 23 Jun 2022 19:33:26 -0700
Subject: [PATCH 3/4] python3-click-threading: update to 0.5.0.

---
 srcpkgs/python3-click-threading/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-click-threading/template b/srcpkgs/python3-click-threading/template
index 66bd90de3fd8..07744a6f6f70 100644
--- a/srcpkgs/python3-click-threading/template
+++ b/srcpkgs/python3-click-threading/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click-threading'
 pkgname=python3-click-threading
-version=0.4.4
-revision=5
+version=0.5.0
+revision=1
 wrksrc="click-threading-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="MIT"
 homepage="https://github.com/click-contrib/click-threading"
 distfiles="${PYPI_SITE}/c/click-threading/click-threading-${version}.tar.gz"
-checksum=b2b0fada5bf184b56afaccc99d0d2548d8ab07feb2e95e29e490f6b99c605de7
+checksum=adcfe623c02a595c107c314072f67a2278fe4eb40b72c0d1a2c903cc78af3439
 
 post_install() {
 	vlicense LICENSE

From d020f60dedd30b020cbc18921bf2f9d10c6fa8bb Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Fri, 24 Jun 2022 18:48:07 +0200
Subject: [PATCH 4/4] fixup! python3-click: update to 8.1.3.

---
 srcpkgs/fava/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 75ed00f9e9f7..48542321d2f3 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -3,7 +3,7 @@ pkgname=fava
 version=1.21
 revision=1
 build_style=python3-pep517
-hostmakedepends="python3-setuptools_scm"
+hostmakedepends="python3-setuptools_scm python3-wheel"
 depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
  python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
  python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
@@ -16,11 +16,6 @@ distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
 checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
 make_check=no  # "ImportError: cannot import name '__version__' from 'fava'"
 
-do_check() {
-	# CLI test expects fava on $PATH.  Not sure why static_url fails.
-	PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'
-}
-
 post_install() {
 	vlicense LICENSE
 }

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (14 preceding siblings ...)
  2022-06-24 16:48 ` [PR PATCH] [Updated] " leahneukirchen
@ 2022-06-24 18:45 ` paper42
  2022-06-24 18:49 ` leahneukirchen
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: paper42 @ 2022-06-24 18:45 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1165840400

Comment:
gandi-cli is deprecated and the test failures are caused by this click update, they used to pass without an issue. I would be in favor of dropping that package

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (15 preceding siblings ...)
  2022-06-24 18:45 ` paper42
@ 2022-06-24 18:49 ` leahneukirchen
  2022-06-24 19:28 ` icp1994
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: leahneukirchen @ 2022-06-24 18:49 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1165843114

Comment:
fine by me.

cc @lonwillett 

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

* Re: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (16 preceding siblings ...)
  2022-06-24 18:49 ` leahneukirchen
@ 2022-06-24 19:28 ` icp1994
  2022-06-24 19:38 ` [PR PATCH] [Updated] " leahneukirchen
  2022-06-24 19:52 ` [PR PATCH] [Merged]: " leahneukirchen
  19 siblings, 0 replies; 21+ messages in thread
From: icp1994 @ 2022-06-24 19:28 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/37629#issuecomment-1165869589

Comment:
I made a PR for [papis](https://github.com/void-linux/void-packages/pull/37672) with working tests which holds for both `click-7.1.2` and `click-8.1.3` so hopefully we can move that into `Pass` section soon.

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

* Re: [PR PATCH] [Updated] python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (17 preceding siblings ...)
  2022-06-24 19:28 ` icp1994
@ 2022-06-24 19:38 ` leahneukirchen
  2022-06-24 19:52 ` [PR PATCH] [Merged]: " leahneukirchen
  19 siblings, 0 replies; 21+ messages in thread
From: leahneukirchen @ 2022-06-24 19:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages python3-click
https://github.com/void-linux/void-packages/pull/37629

python3-click: update to 8.1.3.
<details>
<summary>python3-click tests pass</summary>

```
$ git log --oneline --decorate | head -2
72184752a3 (HEAD -> python3-click) python3-click: update to 8.1.3.
fce1ba0a35 (upstream/master, upstream/HEAD, master) riff: update to 2.17.0.
$ ./xbps-src check python3-click
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> python3-click-8.1.3_1: removing autodeps, please wait...
=> python3-click-8.1.3_1: building [python3-module] for x86_64...
   [host] python3-setuptools-62.3.3_1: found (https://repo-default.voidlinux.org/current)
   [check] python3-pytest-7.1.2_1: found (https://repo-default.voidlinux.org/current)
   [target] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
   [runtime] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
=> python3-click-8.1.3_1: installing host dependencies: python3-setuptools-62.3.3_1 python3-pytest-7.1.2_1 ...
=> python3-click-8.1.3_1: installing target dependencies: python3-3.10.5_1 ...
=> python3-click-8.1.3_1: running do_check ...
============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/click-8.1.3, configfile: setup.cfg, testpaths: tests
collected 598 items

tests/test_arguments.py ...................................              [  5%]
tests/test_basic.py .................................................... [ 14%]
....                                                                     [ 15%]
tests/test_chain.py ...............x                                     [ 17%]
tests/test_command_decorators.py ...                                     [ 18%]
tests/test_commands.py ........................                          [ 22%]
tests/test_compat.py .                                                   [ 22%]
tests/test_context.py .......................                            [ 26%]
tests/test_custom_classes.py ......                                      [ 27%]
tests/test_defaults.py ...                                               [ 27%]
tests/test_formatting.py ................                                [ 30%]
tests/test_imports.py .                                                  [ 30%]
tests/test_info_dict.py ......................                           [ 34%]
tests/test_normalization.py ...                                          [ 34%]
tests/test_options.py .................................................. [ 43%]
...............................................................          [ 53%]
tests/test_parser.py .......                                             [ 55%]
tests/test_shell_completion.py .....................................     [ 61%]
tests/test_termui.py ...........................................ssssssss [ 69%]
sssssssssssss.................                                           [ 74%]
tests/test_testing.py .......................                            [ 78%]
tests/test_types.py ..................................                   [ 84%]
tests/test_utils.py .................................................... [ 92%]
..........................................                               [100%]

================== 576 passed, 21 skipped, 1 xfailed in 0.97s ==================
```
</details>

<details>
<summary>How I tested each reverse dependency</summary>

```
$ xbps-query -RX python3-click
activityrelay-0.2.1_1
black-21.9b0_2
fava-1.18_2
gandi-cli-1.6_2
khal-0.10.4_2
litecli-1.8.0_1
magic-wormhole-0.12.0_3
pantalaimon-0.8.0_2
papis-0.11.1_2
pgcli-3.4.1_1
platformio-5.2.5_1
python3-Flask-2.0.2_1
python3-click-log-0.3.2_5
python3-click-plugins-1.1.1_4
python3-click-repl-0.1.6_3
python3-click-threading-0.4.4_5
python3-dotenv-0.19.0_2
python3-httpx-0.23.0_1
python3-pgspecial-1.13.1_1
python3-proselint-0.12.0_1
python3-pyinfra-2.1_1
python3-quart-0.17.0_1
python3-shodan-1.25.0_2
python3-tmuxp-1.10.1_1
python3-userpath-1.7.0_2
subliminal-2.1.0_6
termdown-1.17.0_3
vdirsyncer-0.18.0_2
yubikey-manager-4.0.7_1

$ for i in $(xbps-query -RX python3-click); do
  i=${i%-*}  # strip version
  ./xbps-src check $i &> ~Temp/click/$i
done
```
</details>

## Results of `xbps-src check`

### Pass
- khal-0.10.4_2
- litecli-1.8.0_1
- pantalaimon-0.8.0_2
- platformio-5.2.5_1
- python3-click-log-0.3.2_5
- python3-click-plugins-1.1.1_4
- python3-dotenv-0.19.0_2
- python3-proselint-0.12.0_1
- python3-pyinfra-2.1_1
- python3-quart-0.17.0_1
- python3-tmuxp-1.10.1_1
- python3-userpath-1.7.0_2
- subliminal-2.1.0_6
- yubikey-manager-4.0.7_1

### Fail
- black-21.9b0_2 (and 22.3.0_1)
- fava-1.18_2
- python3-Flask-2.0.2_1
- python3-click-threading-0.4.4_5
- gandi-cli-1.6_2
- python3-shodan-1.25.0_2
- vdirsyncer-0.18.0_2

### Don't test (`make_check=no`)
- activityrelay-0.2.1_1
- python3-click-repl-0.1.6_3
- pgcli-3.4.1_1
- python3-httpx-0.23.0_1
- python3-pgspecial-1.13.1_1

### Can't test
All of these fail with
> /usr/bin/python3: No module named pip

- magic-wormhole-0.12.0_3
- papis-0.11.1_2
- termdown-1.17.0_3

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-click-37629.patch --]
[-- Type: text/x-diff, Size: 4862 bytes --]

From c4e96ad5f9e7600d84ee0358c183fe3f3ea58b3d Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 20 Jun 2022 12:31:35 -0700
Subject: [PATCH 1/3] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..921ddbbe0cb2 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,17 +1,19 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Python3 package for creating beautiful command line interfaces"
 maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
-homepage="http://click.pocoo.org/"
+homepage="https://palletsprojects.com/p/click/"
+changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From 74b30c6474374d74e18d30e9f3d7899e3b7b438c Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 21 Jun 2022 22:14:38 -0700
Subject: [PATCH 2/3] fava: update to 1.21.

make_check=no because:
```
=> fava-1.21_1: running do_check ...
ImportError while loading conftest '/builddir/fava-1.21/tests/conftest.py'.
tests/conftest.py:19: in <module>
    from fava.application import _load_file
build/lib/fava/application.py:40: in <module>
    from fava import __version__ as fava_version
E   ImportError: cannot import name '__version__' from 'fava'
 (/builddir/fava-1.21/build/lib/fava/__init__.py)
=> ERROR: fava-1.21_1: do_check: 'PYTHONPATH="$PWD/build/lib" python3 -m
 pytest tests -k 'not cli and not static_url'' exited with 4
=> ERROR:   in do_check() at srcpkgs/fava/template:20
```
---
 srcpkgs/fava/template | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/fava/template b/srcpkgs/fava/template
index 9b0f83e540b9..48542321d2f3 100644
--- a/srcpkgs/fava/template
+++ b/srcpkgs/fava/template
@@ -1,24 +1,20 @@
 # Template file for 'fava'
 pkgname=fava
-version=1.18
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.21
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
 depends="python3-Babel python3-Cheroot python3-Flask-Babel python3-Flask
  python3-Jinja2 beancount python3-click python3-markdown2 python3-ply
- python3-simplejson python3-Werkzeug python3-aiohttp"
+ python3-simplejson python3-Werkzeug python3-aiohttp python3-wheel"
 checkdepends="$depends"
 short_desc="Web interface for Beancount"
 maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
 license="MIT"
 homepage="https://beancount.github.io/fava/"
 distfiles="${PYPI_SITE}/f/fava/fava-${version}.tar.gz"
-checksum=21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5
-
-do_check() {
-	# CLI test expects fava on $PATH.  Not sure why static_url fails.
-	PYTHONPATH="$PWD/build/lib" python3 -m pytest tests -k 'not cli and not static_url'
-}
+checksum=d1a1422848e65e7eb275d80d322f6de2bcea1dc37b5412e8cf72c483d6a998d6
+make_check=no  # "ImportError: cannot import name '__version__' from 'fava'"
 
 post_install() {
 	vlicense LICENSE

From fa3642df51365c0c55a32061e74a8f5b21db0c8a Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Thu, 23 Jun 2022 19:33:26 -0700
Subject: [PATCH 3/3] python3-click-threading: update to 0.5.0.

---
 srcpkgs/python3-click-threading/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-click-threading/template b/srcpkgs/python3-click-threading/template
index 66bd90de3fd8..07744a6f6f70 100644
--- a/srcpkgs/python3-click-threading/template
+++ b/srcpkgs/python3-click-threading/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click-threading'
 pkgname=python3-click-threading
-version=0.4.4
-revision=5
+version=0.5.0
+revision=1
 wrksrc="click-threading-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="MIT"
 homepage="https://github.com/click-contrib/click-threading"
 distfiles="${PYPI_SITE}/c/click-threading/click-threading-${version}.tar.gz"
-checksum=b2b0fada5bf184b56afaccc99d0d2548d8ab07feb2e95e29e490f6b99c605de7
+checksum=adcfe623c02a595c107c314072f67a2278fe4eb40b72c0d1a2c903cc78af3439
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Merged]: python3-click: update to 8.1.3.
  2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
                   ` (18 preceding siblings ...)
  2022-06-24 19:38 ` [PR PATCH] [Updated] " leahneukirchen
@ 2022-06-24 19:52 ` leahneukirchen
  19 siblings, 0 replies; 21+ messages in thread
From: leahneukirchen @ 2022-06-24 19:52 UTC (permalink / raw)
  To: ml

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

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

python3-click: update to 8.1.3.
https://github.com/void-linux/void-packages/pull/37629

Description:
<details>
<summary>python3-click tests pass</summary>

```
$ git log --oneline --decorate | head -2
72184752a3 (HEAD -> python3-click) python3-click: update to 8.1.3.
fce1ba0a35 (upstream/master, upstream/HEAD, master) riff: update to 2.17.0.
$ ./xbps-src check python3-click
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-us.voidlinux.org/current/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> python3-click-8.1.3_1: removing autodeps, please wait...
=> python3-click-8.1.3_1: building [python3-module] for x86_64...
   [host] python3-setuptools-62.3.3_1: found (https://repo-default.voidlinux.org/current)
   [check] python3-pytest-7.1.2_1: found (https://repo-default.voidlinux.org/current)
   [target] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
   [runtime] python3-3.10.5_1: found (https://repo-default.voidlinux.org/current)
=> python3-click-8.1.3_1: installing host dependencies: python3-setuptools-62.3.3_1 python3-pytest-7.1.2_1 ...
=> python3-click-8.1.3_1: installing target dependencies: python3-3.10.5_1 ...
=> python3-click-8.1.3_1: running do_check ...
============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/click-8.1.3, configfile: setup.cfg, testpaths: tests
collected 598 items

tests/test_arguments.py ...................................              [  5%]
tests/test_basic.py .................................................... [ 14%]
....                                                                     [ 15%]
tests/test_chain.py ...............x                                     [ 17%]
tests/test_command_decorators.py ...                                     [ 18%]
tests/test_commands.py ........................                          [ 22%]
tests/test_compat.py .                                                   [ 22%]
tests/test_context.py .......................                            [ 26%]
tests/test_custom_classes.py ......                                      [ 27%]
tests/test_defaults.py ...                                               [ 27%]
tests/test_formatting.py ................                                [ 30%]
tests/test_imports.py .                                                  [ 30%]
tests/test_info_dict.py ......................                           [ 34%]
tests/test_normalization.py ...                                          [ 34%]
tests/test_options.py .................................................. [ 43%]
...............................................................          [ 53%]
tests/test_parser.py .......                                             [ 55%]
tests/test_shell_completion.py .....................................     [ 61%]
tests/test_termui.py ...........................................ssssssss [ 69%]
sssssssssssss.................                                           [ 74%]
tests/test_testing.py .......................                            [ 78%]
tests/test_types.py ..................................                   [ 84%]
tests/test_utils.py .................................................... [ 92%]
..........................................                               [100%]

================== 576 passed, 21 skipped, 1 xfailed in 0.97s ==================
```
</details>

<details>
<summary>How I tested each reverse dependency</summary>

```
$ xbps-query -RX python3-click
activityrelay-0.2.1_1
black-21.9b0_2
fava-1.18_2
gandi-cli-1.6_2
khal-0.10.4_2
litecli-1.8.0_1
magic-wormhole-0.12.0_3
pantalaimon-0.8.0_2
papis-0.11.1_2
pgcli-3.4.1_1
platformio-5.2.5_1
python3-Flask-2.0.2_1
python3-click-log-0.3.2_5
python3-click-plugins-1.1.1_4
python3-click-repl-0.1.6_3
python3-click-threading-0.4.4_5
python3-dotenv-0.19.0_2
python3-httpx-0.23.0_1
python3-pgspecial-1.13.1_1
python3-proselint-0.12.0_1
python3-pyinfra-2.1_1
python3-quart-0.17.0_1
python3-shodan-1.25.0_2
python3-tmuxp-1.10.1_1
python3-userpath-1.7.0_2
subliminal-2.1.0_6
termdown-1.17.0_3
vdirsyncer-0.18.0_2
yubikey-manager-4.0.7_1

$ for i in $(xbps-query -RX python3-click); do
  i=${i%-*}  # strip version
  ./xbps-src check $i &> ~Temp/click/$i
done
```
</details>

## Results of `xbps-src check`

### Pass
- khal-0.10.4_2
- litecli-1.8.0_1
- pantalaimon-0.8.0_2
- platformio-5.2.5_1
- python3-click-log-0.3.2_5
- python3-click-plugins-1.1.1_4
- python3-dotenv-0.19.0_2
- python3-proselint-0.12.0_1
- python3-pyinfra-2.1_1
- python3-quart-0.17.0_1
- python3-tmuxp-1.10.1_1
- python3-userpath-1.7.0_2
- subliminal-2.1.0_6
- yubikey-manager-4.0.7_1

### Fail
- black-21.9b0_2 (and 22.3.0_1)
- fava-1.18_2
- python3-Flask-2.0.2_1
- python3-click-threading-0.4.4_5
- gandi-cli-1.6_2
- python3-shodan-1.25.0_2
- vdirsyncer-0.18.0_2

### Don't test (`make_check=no`)
- activityrelay-0.2.1_1
- python3-click-repl-0.1.6_3
- pgcli-3.4.1_1
- python3-httpx-0.23.0_1
- python3-pgspecial-1.13.1_1

### Can't test
All of these fail with
> /usr/bin/python3: No module named pip

- magic-wormhole-0.12.0_3
- papis-0.11.1_2
- termdown-1.17.0_3

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

end of thread, other threads:[~2022-06-24 19:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21  0:14 [PR PATCH] python3-click: update to 8.1.3 Goorzhel
2022-06-21  0:14 ` Goorzhel
2022-06-21  0:38 ` Goorzhel
2022-06-22  2:28 ` Goorzhel
2022-06-22  2:39 ` Goorzhel
2022-06-22  2:39 ` Goorzhel
2022-06-22  3:46 ` Goorzhel
2022-06-22 11:53 ` leahneukirchen
2022-06-22 12:11 ` leahneukirchen
2022-06-24  1:05 ` Goorzhel
2022-06-24  1:06 ` [PR PATCH] [Updated] " Goorzhel
2022-06-24  2:50 ` Goorzhel
2022-06-24  3:03 ` Goorzhel
2022-06-24  3:04 ` Goorzhel
2022-06-24 15:36 ` ahesford
2022-06-24 16:48 ` [PR PATCH] [Updated] " leahneukirchen
2022-06-24 18:45 ` paper42
2022-06-24 18:49 ` leahneukirchen
2022-06-24 19:28 ` icp1994
2022-06-24 19:38 ` [PR PATCH] [Updated] " leahneukirchen
2022-06-24 19:52 ` [PR PATCH] [Merged]: " leahneukirchen

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