Created attachment 261070 [details] Upgrade to 6.0.0 - Update to 6.0.0 - Disable DOCS option broken until py-sphinx >= 8 portlint: ok. 1 expected warning hyphen in PORTNAME. testport: ok. 14amd64. unittest: ok. 676 passed, 3 skipped in 8.06s
Is there an possibility of adding DOCS_BROKEN=<reason> to Makefile? That way it explains OPTIONS_EXCLUDE=DOCS. Does this makes sense?
(In reply to Nuno Teixeira from comment #1) (cd /wrkdirs/usr/ports/devel/py-python-gitlab/work-py311/python_gitlab-6.0.0 && sphinx-build -j auto -n -W --keep-going -b html docs build/sphinx/html) Running Sphinx v5.3.0 Extension error: Could not import extension ext.docstrings (exception: cannot import name '_ConfigRebuild' from 'sphinx.config' (/usr/local/lib/python3.11/site-packages/sphinx/config.py)) And "DOCS_BROKEN=<reason>" doesn't help.
(In reply to Nuno Teixeira from comment #1) If you want, you can take this PR.
(In reply to Vladimir Druzenko from comment #3) No, please continue as PR assignee. I was trying to find a way to document OPTIONS_EXCLUDE=DOCS in Makefile so others know why it's there.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b73c31c6ea263ca3603aa85de3f4acbc82a496dc commit b73c31c6ea263ca3603aa85de3f4acbc82a496dc Author: Derek Schrock <dereks@lifeofadishwasher.com> AuthorDate: 2025-06-07 23:42:07 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-06-07 23:45:18 +0000 devel/py-python-gitlab: Update 5.6.0 => 6.0.0 Changelog: https://github.com/python-gitlab/python-gitlab/releases/tag/v6.0.0 Disable DOCS option - require py-sphinx >= 8 PR: 287363 devel/py-python-gitlab/Makefile | 4 +++- devel/py-python-gitlab/distinfo | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-)
Thanks.