Bug 1985219
| Summary: | bind-doc: file shows invalid link | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Petr Sklenar <psklenar> |
| Component: | python-sphinx | Assignee: | Charalampos Stratakis <cstratak> |
| Status: | CLOSED ERRATA | QA Contact: | Lukáš Zachar <lzachar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 9.0 | CC: | cstratak, mhroncok, pemensik, pviktori, torsava |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-sphinx-3.4.3-6.el9 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 16:06:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Petr Sklenar
2021-07-23 07:57:21 UTC
I were unable to find this link anywhere in bind sources. It seems it comes from /usr/lib/python3.9/site-packages/sphinx/themes/basic/static/underscore.js file, which does not use underscore packaged in Fedora, but some old static version. This version is quite old. Anyway, should be fixed in python3-sphinx package somehow, it is in the same state both on Fedora and RHEL9. jquery.js has probably very similar problem, but it seems it is more often updated. js-jquery-3.5.0-6.fc35 contains older version than included in sphinx for a difference. I am no able to guess compatibility level of different versions of javascript libraries. This is an outdated URL in a *comment* in a bundled script, right? (In reply to Petr Viktorin from comment #2) > This is an outdated URL in a *comment* in a bundled script, right? yes and its probably very very low priority bug The issue was fixed with underscore 1.4.0 [0]. Sphinx however has been bundling 1.3.1 for a long time and it was updated with the release of Sphinx 3.5.0 [1]. On RHEL9 we ship Sphinx 3.4.3 and I don't think we'll update to a later version, as the patch releases of Sphinx come with backwards incompatible changes. On Fedora >= 35 though Sphinx is updated, so the issue shouldn't exist there. I'd be inclined to close the issue as WONTFIX, since rebasing Sphinx itself on RHEL9 is not trivial, especially at this point in the release cycle and updating the bundled library has the same backwards compatibility concerns. We could however patch/sed the sources to fix the link but I'd still consider it very low priority. [0] https://github.com/jashkenas/underscore/commit/37609e8398cd3e5d41006321e59e6c0cc3f87f87 [1] https://github.com/sphinx-doc/sphinx/pull/8733 I've verified https://gitlab.com/redhat/centos-stream/rpms/python-sphinx/-/merge_requests/3 by grepping tough the unpacked RPM. [python3-sphinx-3.4.3-6.el9]$ rg documentcloud (no results) [python3-sphinx-3.4.3-6.el9]$ rg -F underscorejs.org usr/lib/python3.9/site-packages/sphinx/themes/basic/static/underscore.js 7:// https://underscorejs.org usr/lib/python3.9/site-packages/sphinx/themes/basic/static/underscore-1.3.1.js 7:// https://underscorejs.org [python3-sphinx-3.4.3-6.el9]$ http https://underscorejs.org --headers HTTP/1.1 200 OK ... Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: python-sphinx), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:4296 |