Summary: | textproc/py-sphinx: Add upstream patch to fix runtime error with Python 3.10 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yasuhiro Kimura <yasu> | ||||
Component: | Individual Port(s) | Assignee: | Danilo G. Baio <dbaio> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | 2khramtsov, dbaio, jbeich, rhurlin | ||||
Priority: | --- | Flags: | dbaio:
maintainer-feedback+
dbaio: merge-quarterly- |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257116 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 257694, 257695 | ||||||
Attachments: |
|
Description
Yasuhiro Kimura
2021-08-11 15:58:17 UTC
Also works fine here. Thanks for the patch. I was hoping to upgrade Sphinx soon, but it will take some time. We need to confirm if it passes QA and also check if a few ports that rely on it is building fine. Then we can submit it. And maybe we don't need to increase PORTREVISION here and avoid consumers rebuild just for that. Sorry about the delay. I've started some build tests on ports that rely on Sphinx (a mini exp-run). If it's all fine, I'll push this in a day or two. (In reply to Danilo G. Baio from comment #2) Would you please revert ports 913219385dfd after my patch is committed? ---------------------------------------------------------------------- commit 913219385dfd Author: Dmitry Marakasov <amdmi3@FreeBSD.org> Date: Sat Aug 21 01:11:31 2021 +0300 devel/cmake: fix build with python 3.10 as default Approved by: portmgt blanket ---------------------------------------------------------------------- As I reported as bug #257694 build of devel/cmake fails if default version of Python is 3.10, and it is because of runtime error of textproc/py-sphinx. ports 913219385dfd works around it by limiting the range of Python to 3.6-3.9. But my patch fixes the error. So after it is committed there is no reason to limit the range of Python any more. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7583c6f81dcf0b411f932f2384d64efbe83eaf9c commit 7583c6f81dcf0b411f932f2384d64efbe83eaf9c Author: Yasuhiro Kimura <yasu@utahime.org> AuthorDate: 2021-09-21 23:36:42 +0000 Commit: Danilo G. Baio <dbaio@FreeBSD.org> CommitDate: 2021-09-21 23:40:15 +0000 textproc/py-sphinx: Add upstream patch to fix runtime error with Python 3.10 PR: 257770 Approved by: dbaio (python, maintainer) .../files/patch-sphinx_util_typing.py (new) | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) Committed, thanks! Follow with cmake change on bug 257694 |