Bug 257116 - textproc/py-sphinx: Update to 4.0.3
Summary: textproc/py-sphinx: Update to 4.0.3
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Port Management Team
URL: https://github.com/sphinx-doc/sphinx/...
Keywords: needs-patch, needs-qa
Depends on: 257410 257412 257411
  Show dependency treegraph
Reported: 2021-07-11 18:38 UTC by Danilo G. Baio
Modified: 2021-09-02 22:42 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (python)
dbaio: exp-run?

py-sphinx-4.0.4-exp1.patch (5.92 KB, patch)
2021-07-11 18:38 UTC, Danilo G. Baio
no flags Details | Diff
py-sphinx-4.1.2-exp2.patch (13.22 KB, patch)
2021-08-07 19:51 UTC, Danilo G. Baio
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo G. Baio freebsd_committer 2021-07-11 18:38:33 UTC
Created attachment 226374 [details]

textproc/py-sphinx: Update to 4.0.3

Changelog:	https://github.com/sphinx-doc/sphinx/blob/v4.0.3/CHANGES

`make test` with similar results as previous versions:
  1664 passed, 26 skipped, 1 deselected, 2 warnings in 130.02 seconds
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-12 01:40:09 UTC
@Danilo exp-run ? is sufficient for portmgr to recieve exp-run request notifications until the flag is ack'd

 - Are there any consumer ports that pin sphinx to <4 or similar?
 - docutils and alabaster version spec (<) should be matched in our *_DEPENDS
Comment 2 Antoine Brodin freebsd_committer 2021-07-12 08:52:40 UTC
Don't assign ticket to "nobody"
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-13 03:26:15 UTC
(In reply to Antoine Brodin from comment #2)

It's assigned to a team until resolution. Please go away Antoine.
Comment 4 Antoine Brodin freebsd_committer 2021-07-13 06:58:56 UTC
(In reply to Kubilay Kocak from comment #3)
Exp-run are portmgr terroritory,  please get off our lawn and stop being toxic with the project.
Comment 6 Danilo G. Baio freebsd_committer 2021-07-14 22:54:05 UTC
(In reply to Antoine Brodin from comment #5)

Thanks Antoine. I'll need some time to check those.

lang/asis and textproc/castxml will be easier to fix.

textproc/py-rstfmt (which was added recently) is completely broken.

And a new Sphinx version was released. I will take a look at it as well.
Comment 7 Danilo G. Baio freebsd_committer 2021-08-07 19:51:36 UTC
Created attachment 227009 [details]

- Update Sphinx to 4.1.2.
- Fix lang/asis and textproc/castxml.
- Set textproc/py-rstfmt as broken (talked with Mateusz 0mp@).
- Repocopy the current Sphinx version (3.5.2) to textproc-py-sphinx3 and mark it as deprecated.
- math/sage: Use textproc-py-sphinx3 (Because it's just a build dependency).
Comment 9 Danilo G. Baio freebsd_committer 2021-08-11 00:30:29 UTC
(In reply to Antoine Brodin from comment #8)

Oh, too many dependencies. I thought we wouldn't see a conflict here.

pkg-static: py38-sphinx-4.1.2,1 conflicts with py38-sphinx3-3.5.2,1 (installs files into the same place).  Problematic file: /usr/local/bin/sphinx-apidoc-3.8

I'll go to another path, checking if there is a way to disable sage's documentation build.

Comment 10 Thierry Thomas freebsd_committer 2021-08-11 17:17:01 UTC
(Sorry for the delay, I have been traveling abroad)

Sage has an option for DOC, but sphinx is required anyways.

ATM, I've not been able to port the release candidates of Sage-9.4: strangely, it fails with the same kind of errors. Still investigating if I can fix it…