Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online docs at osc-tiny.readthedocs.io are outdated #187

Open
oSoMoN opened this issue Sep 6, 2024 · 5 comments
Open

Online docs at osc-tiny.readthedocs.io are outdated #187

oSoMoN opened this issue Sep 6, 2024 · 5 comments

Comments

@oSoMoN
Copy link
Collaborator

oSoMoN commented Sep 6, 2024

The footer at https://osc-tiny.readthedocs.io/latest/index.html says:

© Copyright 2024, SUSE. Revision 7ab2ddd9.

This corresponds to release 0.9.1. There have been 4 new releases since then.

@crazyscientist
Copy link
Collaborator

There seems to be an update, which broke the build pipeline for the documentation:

Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 5 source files that are out of date
updating environment: [new config] 5 added, 0 changed, 0 removed
reading sources... [ 20%] api
reading sources... [ 40%] development
reading sources... [ 60%] index
reading sources... [ 80%] quickstart
reading sources... [100%] releasenotes

looking for now-outdated files... none found
pickling environment... failed

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/osc-tiny/envs/latest/lib/python3.11/site-packages/sphinx/cmd/build.py", line 337, in build_main
    app.build(args.force_all, args.filenames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/osc-tiny/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 378, in build
    self.builder.build_update()
  File "/home/docs/checkouts/readthedocs.org/user_builds/osc-tiny/envs/latest/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 297, in build_update
    self.build(to_build,
  File "/home/docs/checkouts/readthedocs.org/user_builds/osc-tiny/envs/latest/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 334, in build
    pickle.dump(self.env, f, pickle.HIGHEST_PROTOCOL)
TypeError: cannot pickle 'lxml.objectify._ObjectifyElementMakerCaller' object

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/osc-tiny/envs/latest/lib/python3.11/site-packages/sphinx/builders/__init__.py", line 334, in build
    pickle.dump(self.env, f, pickle.HIGHEST_PROTOCOL)
TypeError: cannot pickle 'lxml.objectify._ObjectifyElementMakerCaller' object

What has changed?

--- <unnamed>
+++ <unnamed>
@@ -1,39 +1,39 @@
-# last successful build, Python 3.11.6
+# current build (failed), Python 3.11.9
 Jinja2-3.1.4
 MarkupSafe-2.1.5
 Pygments-2.18.0
 alabaster-0.7.16
 babel-2.15.0
-certifi-2024.2.2
+certifi-2024.7.4
 charset-normalizer-3.3.2
 docutils-0.21.2
 idna-3.7
 imagesize-1.4.1
-packaging-24.0
+packaging-24.1
 readthedocs-sphinx-ext-2.2.5
 requests-2.32.3
 snowballstemmer-2.2.0
-sphinx-7.3.7
+sphinx-7.4.7
 sphinxcontrib-applehelp-1.0.8
 sphinxcontrib-devhelp-1.0.6
-sphinxcontrib-htmlhelp-2.0.5
+sphinxcontrib-htmlhelp-2.0.6
 sphinxcontrib-jsmath-1.0.1
-sphinxcontrib-qthelp-1.0.7
+sphinxcontrib-qthelp-1.0.8
 sphinxcontrib-serializinghtml-1.1.10
-urllib3-2.2.1
+urllib3-2.2.2
 lxml-5.2.2 
 python-dateutil-2.9.0.post0 
 pytz-2024.1 
 pyyaml-6.0.1 
 six-1.16.0
-astroid-3.2.2 
+astroid-3.2.4 
 dill-0.3.8 
 docutils-0.20.1 
 isort-5.13.2 
 mccabe-0.7.0 
 platformdirs-4.2.2 
-pylint-3.2.2 
-responses-0.25.0 
+pylint-3.2.6 
+responses-0.25.3 
 sphinx_rtd_theme-2.0.0 
 sphinxcontrib-jquery-4.1 
-tomlkit-0.12.5
+tomlkit-0.13.0

@crazyscientist
Copy link
Collaborator

Reported as sphinx-doc/sphinx#13095

crazyscientist added a commit to crazyscientist/osc-tiny that referenced this issue Nov 1, 2024
* Updated documentation settings
* Workaround: Disabled `sphinx.ext.viewcode` (SUSE#187)
crazyscientist added a commit to crazyscientist/osc-tiny that referenced this issue Nov 1, 2024
* Updated author settings
* Workaround: Disabled `sphinx.ext.viewcode` (SUSE#187)
@asmorodskyi
Copy link

currently docs just giving 404 🤔 https://osc-tiny.readthedocs.io/en/latest/
Not sure should I create new issue for this ?

@oSoMoN
Copy link
Collaborator Author

oSoMoN commented Nov 21, 2024

currently docs just giving 404 🤔 https://osc-tiny.readthedocs.io/en/latest/ Not sure should I create new issue for this ?

But https://osc-tiny.readthedocs.io/latest/ works. Not sure what happened to the en/ part of the path in that URL.

@crazyscientist
Copy link
Collaborator

Not sure what happened to the en/ part of the path in that URL.

It looks like at some point somebody chose a different URL schema for the docs. Now we are at en/latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants