Bug 1823521
| Summary: | python-sphinx-notfound-page fails to build with Sphinx 3.0.0 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> |
| Component: | python-sphinx-notfound-page | Assignee: | Kevin Fenzi <kevin> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | cstratak, kevin, mhroncok |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-sphinx-notfound-page-0.4-7.fc33 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-21 22:53:10 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1783776 | ||
Fixed by https://github.com/readthedocs/sphinx-notfound-page/commit/56d80b06365defd11da9328bbccc455bed67a8d0 |
python-sphinx-notfound-page fails to build with Sphinx 3.0.0. =================================== FAILURES =================================== __________________________ test_sphinx_resource_urls ___________________________ app = <SphinxTestApp buildername='html'> status = <_io.StringIO object at 0x7fc4a30de790> warning = <_io.StringIO object at 0x7fc4a30de280> @pytest.mark.sphinx(srcdir=srcdir) def test_sphinx_resource_urls(app, status, warning): app.build() path = app.outdir / '404.html' assert path.exists() content = open(path).read() chunks = [ # Sphinx's resources URLs '<script type="text/javascript" src="/en/latest/_static/jquery.js"></script>', '<script type="text/javascript" src="/en/latest/_static/underscore.js"></script>', '<script type="text/javascript" src="/en/latest/_static/doctools.js"></script>', ] if sphinx.version_info >= (1, 8): chunks.append( '<script type="text/javascript" src="/en/latest/_static/language_data.js"></script>', ) for chunk in chunks: > assert chunk in content E assert '<script type="text/javascript" src="/en/latest/_static/jquery.js"></script>' in '\n<!DOCTYPE html>\n\n<html>\n <head>\n <meta charset="utf-8" />\n <title>Page not found — Python docume..."https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>\n \n </div>\n\n \n\n \n </body>\n</html>' tests/test_urls.py:456: AssertionError For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/cstratak/sphinx_3.0.0/fedora-rawhide-x86_64/01335471-python-sphinx-notfound-page/ For all our attempts to build python-sphinx-notfound-page with Sphinx 3.0.0, see: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/package/python-sphinx-notfound-page/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Sphinx 3: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/ Let us know here if you have any questions. Sphinx 3 will be included in Fedora 33. To make that update smoother, we're building the dependent packages in Copr. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.