Summary: | textproc/py-wtforms: Build broken | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Romain Tartière <romain> |
Component: | Individual Port(s) | Assignee: | Ruslan Makhmatkhanov <rm> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | CC: | agh, dbaio |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(rm) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | 282458 | ||
Bug Blocks: |
Description
Romain Tartière
2024-10-30 23:05:42 UTC
Hello, I currently am not able to investigate, however, the documentation additions were the result of my efforts, bug #275931, according to this bug report, I only tested with Python-3.9. From memory, to enable the man page, and HTML, I had to install WTForms in a private name space '--root=${INSTALL_WRKSRC}', then call Sphinx with the environment ${_DOCS_BUILD_ENV} to locate this private install of WTForms. This was my attempt to remove, and resolve the cyclic dependency many Python packages have on their documentation. I am not a fan of Python, and most of it makes my head swell. Looking thru https://pip.pypa.io/en/stable/cli/pip_install/ is, I think where I grabbed the options to pass to pip, to install the Port's build of WTForms, which is located in '${WRKSRC}/dist/*.whl' to ${INSTALL_WRKSRC}. If I can get to this on time, I would be looking at Sphinx, because I think that is where the error is, and also updating WTForms, probably updating first. Regarding Sphinx, I would be adding '--verbose', '-vvv' (https://www.sphinx-doc.org/en/master/man/sphinx-build.html) in attempt to get more information from the failure. There are two bug reports (bug #268018, and bug #282039) open for updating Sphinx, and one review (review D46388). Sphinx is way outdated, and an update is required for other Ports, and Ports I have worked on that do not yet exist in the tree. It would be a shame to lose documentation, I hope to have time on the weekend to see if my new hardware can help me restore my NAS/build machine, then I would be able to investigate this. According to https://github.com/pallets-eco/wtforms/blob/main/docs/requirements.txt, WTForms will require Sphinx-7 when updated. The same error message is found here: https://bugs.gentoo.org/691578, however, that Gentoo bug is from 2019. The Port may require a Sphinx extension, sphinx-notfound-page (https://github.com/readthedocs/sphinx-notfound-page), tho I wonder why it is not listed as a dependency. I am not able to search the Github source code page for WTForms because I have no account, and Gitshit keeps informing me "You have exceeded a secondary rate limit." Hi. This is an issue introduced in textproc/py-pallets-sphinx-themes 2.2.0. It now requires sphinx-notfound-page. Since it wasn't problem in wtforms itself, but in sphinx instead, and since it affected many ports, I preferred to wait for quick resolution of sphinx issue. It's now safe to close. |