git: 29ccdd692af8 - main - textproc/py-sphinx-inline-tabs: Update to 2021.4.11b9

Dima Panov fluffy at FreeBSD.org
Wed May 12 06:13:58 UTC 2021


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 at FreeBSD.org, https://t.me/dima_panov)

> On Wednesday, May 12, 2021 at 8:21 AM, Po-Chuan Hsieh <sunpoet at FreeBSD.org (mailto:sunpoet at 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 at FreeBSD.org>
> AuthorDate: 2021-05-11 21:17:56 +0000
> Commit: Po-Chuan Hsieh <sunpoet at 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 at 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',
> + )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/dev-commits-ports-all/attachments/20210512/9690f587/attachment.sig>


More information about the dev-commits-ports-all mailing list