Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2021 16:13:53 +1000
From:      Dima Panov <fluffy@FreeBSD.org>
To:        dev-commits-ports-all@FreeBSD.org, ports-committers@FreeBSD.org,  dev-commits-ports-main@FreeBSD.org, Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Subject:   Re: git: 29ccdd692af8 - main - textproc/py-sphinx-inline-tabs: Update to 2021.4.11b9
Message-ID:  <885ddbca-bb83-465b-a683-74c95649e2bd@Canary>
In-Reply-To: <202105112153.14BLr95O099986@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Moin!

Please revert. This update leads to fail Sphinx with python<3.8 due to ‘typing.Literal’ which is only available from Python 3.8 and up.

From py37-pip build log:

===> Building for py37-pip-20.3.4
running build_sphinx
Running Sphinx v3.5.2

Exception occurred:
File "/usr/local/lib/python3.7/site-packages/sphinx_inline_tabs/_impl.py", line 4, in <module>
from typing import List, Literal
ImportError: cannot import name 'Literal' from 'typing' (/usr/local/lib/python3.7/typing.py)
The full traceback has been saved in /tmp/sphinx-err-e2k73az_.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
pip version: 20.3
pip release: 20.3.4
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-pip

===============

Another way is start deprecate python 3.6/3.7 from the portstree.

--
Dima. (desktop, kde, x11, office, ports-secteam)@FreeBSD team
(fluffy@FreeBSD.org, https://t.me/dima_panov)

> On Wednesday, May 12, 2021 at 8:21 AM, Po-Chuan Hsieh <sunpoet@FreeBSD.org (mailto:sunpoet@FreeBSD.org)> wrote:
> The branch main has been updated by sunpoet:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=29ccdd692af8f7b2775d64384ea0be529df7d0ef
>
> commit 29ccdd692af8f7b2775d64384ea0be529df7d0ef
> Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2021-05-11 21:17:56 +0000
> Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2021-05-11 21:47:20 +0000
>
> textproc/py-sphinx-inline-tabs: Update to 2021.4.11b9
>
> Changes: https://github.com/pradyunsg/sphinx-inline-tabs/commits/main
> ---
> textproc/py-sphinx-inline-tabs/Makefile | 2 +-
> textproc/py-sphinx-inline-tabs/distinfo | 6 +++---
> textproc/py-sphinx-inline-tabs/files/patch-setup.py | 9 +++++++++
> 3 files changed, 13 insertions(+), 4 deletions(-)
>
> diff --git a/textproc/py-sphinx-inline-tabs/Makefile b/textproc/py-sphinx-inline-tabs/Makefile
> index 0eca508824b5..3b34d7575f03 100644
> --- a/textproc/py-sphinx-inline-tabs/Makefile
> +++ b/textproc/py-sphinx-inline-tabs/Makefile
> @@ -1,7 +1,7 @@
> # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
>
> PORTNAME= sphinx-inline-tabs
> -PORTVERSION= 2021.3.28b7
> +PORTVERSION= 2021.4.11b9
> CATEGORIES= textproc python
> MASTER_SITES= CHEESESHOP
> PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> diff --git a/textproc/py-sphinx-inline-tabs/distinfo b/textproc/py-sphinx-inline-tabs/distinfo
> index 76149df5340f..92ccfe2eb6a5 100644
> --- a/textproc/py-sphinx-inline-tabs/distinfo
> +++ b/textproc/py-sphinx-inline-tabs/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1618320280
> -SHA256 (sphinx_inline_tabs-2021.3.28b7.tar.gz) = e21b7439a4af86fc738a1b74fead87af59640b6e782efe83ef6c3936fc3924ab
> -SIZE (sphinx_inline_tabs-2021.3.28b7.tar.gz) = 41791
> +TIMESTAMP = 1620405455
> +SHA256 (sphinx_inline_tabs-2021.4.11b9.tar.gz) = 09267b9980b405bada41e63f9912769a394731e0e015068cda7feab1a13f8fe5
> +SIZE (sphinx_inline_tabs-2021.4.11b9.tar.gz) = 42257
> diff --git a/textproc/py-sphinx-inline-tabs/files/patch-setup.py b/textproc/py-sphinx-inline-tabs/files/patch-setup.py
> new file mode 100644
> index 000000000000..0b3ef6c1f484
> --- /dev/null
> +++ b/textproc/py-sphinx-inline-tabs/files/patch-setup.py
> @@ -0,0 +1,9 @@
> +--- setup.py.orig 1970-01-01 00:00:00 UTC
> ++++ setup.py
> +@@ -30,5 +30,5 @@ setup(name='sphinx_inline_tabs',
> + package_dir=package_dir,
> + install_requires=install_requires,
> + extras_require=extras_require,
> +- python_requires='>=3.8',
> ++ python_requires='>=3.6',
> + )

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: Canary PGP V3

iQJVBAABCgA/OBxEaW1hIFBhbm92IChGcmVlQlNELk9SRyBDb21taXR0ZXIpIDxm
bHVmZnlARnJlZUJTRC5PUkc+BQJgm3IhAAoJEPuLoJ3VOY8pRaQQAJyZiJk+CyLy
m+FoDsbMoKn+KB86LyEwECkj/ZykKa8v2kDR569ImheeDryP+CArqErkjdxbf5JN
7edF7cVj1rt0Afl6ApDp9+WR1JpqYSaWa9gPt8iI7Mpy8LkWLvOUNit8sx3fgMY4
zh2ftdsd325A3QVQ6zqG80cvGorn7aCrGHL+6bPndjnDOO5ia9gAZ/8yYjTRJJC6
hhONuOgXwZJPnBnly6laRm/dnDT6UcOXWhIQgng/6oO2wpH7nKrrddKSSUZ7zuoC
bIM2eTodgNGJE/ONo+iP2koT5SnvyTKNaZmgaHCJQb6d/rftMELZ7r32K+mDNP1Y
TWRSW80HcekULy7bfyI3NNN/IuPsfqCGZD66s7JUJ0FKwPfpF69KtjGtuUQDQ6m5
4knVYQ6scSS6BSfbVlIAOwdiJg7qZeRb1wMWD6zyEdxBauSy41XZJg7TRM1t3jg7
oz4Q0ZIRnRxBZ2Wzp+7qfzAiUnS/EEAZlc8hs0RLbzmnkqtXDn4HvjZvc3Id58QB
Pyv6vj9b57Mxlw5JiEKCzbvaU5VupsAS9uA8DYEmqdYDKS4GPnlm9gM8tKINJ2S2
Y4gFl+c8Ry0IP53vwQt9QVh61kyUQ9dfB4GQkWmUa6HBtdnYIpVYiuQX/I3I0+za
d+gj09Gn4/9AMREio9NRNRGa8f9jCpYW
=J3+8
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?885ddbca-bb83-465b-a683-74c95649e2bd>