Bug 287363 - devel/py-python-gitlab: Upgrade to 6.0.0
Summary: devel/py-python-gitlab: Upgrade to 6.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://github.com/python-gitlab/pyth...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-07 18:24 UTC by Derek Schrock
Modified: 2025-06-07 23:52 UTC (History)
2 users (show)

See Also:


Attachments
Upgrade to 6.0.0 (1.57 KB, patch)
2025-06-07 18:24 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Schrock 2025-06-07 18:24:23 UTC
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
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2025-06-07 19:50:11 UTC
Is there an possibility of adding DOCS_BROKEN=<reason> to Makefile?
That way it explains OPTIONS_EXCLUDE=DOCS.

Does this makes sense?
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2025-06-07 21:10:50 UTC
(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.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-06-07 22:31:30 UTC
(In reply to Nuno Teixeira from comment #1)
If you want, you can take this PR.
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2025-06-07 23:25:44 UTC
(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.
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-06-07 23:46:26 UTC
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(-)
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2025-06-07 23:52:35 UTC
Thanks.