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

Fix RTD builds: Update requirements.txt with the latest versions #375

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

vishesh92
Copy link
Member

@vishesh92 vishesh92 commented Jan 18, 2024

This PR upgrades the packages to the latest version. Build has stopped working on readthedocs because of older version of packages because of the below error:

 Running Sphinx v1.8.6
loading translations [en]... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/cloudstack-documentation/envs/374/lib/python3.11/site-packages/sphinx/registry.py", line 483, in load_extension
    metadata = mod.setup(app)
               ^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/cloudstack-documentation/envs/374/lib/python3.11/site-packages/alabaster/__init__.py", line 31, in setup
    app.require_sphinx("3.4")
  File "/home/docs/checkouts/readthedocs.org/user_builds/cloudstack-documentation/envs/374/lib/python3.11/site-packages/sphinx/application.py", line 462, in require_sphinx
    raise VersionRequirementError(version)
sphinx.errors.VersionRequirementError: 3.4

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/cloudstack-documentation/envs/374/lib/python3.11/site-packages/sphinx/cmd/build.py", line 300, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/cloudstack-documentation/envs/374/lib/python3.11/site-packages/sphinx/application.py", line 224, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/cloudstack-documentation/envs/374/lib/python3.11/site-packages/sphinx/application.py", line 449, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/cloudstack-documentation/envs/374/lib/python3.11/site-packages/sphinx/registry.py", line 486, in load_extension
    raise VersionRequirementError(
sphinx.errors.VersionRequirementError: The alabaster extension used by this project needs at least Sphinx v3.4; it therefore cannot be built with this version.

Sphinx version error:
The alabaster extension used by this project needs at least Sphinx v3.4; it therefore cannot be built with this version. 

📚 Documentation preview 📚: https://cloudstack-documentation--375.org.readthedocs.build/en/375/

@vishesh92 vishesh92 marked this pull request as ready for review January 18, 2024 13:03
@vishesh92
Copy link
Member Author

cc: @DaanHoogland

@vishesh92 vishesh92 changed the title Update requirements.txt with the latest versions Fix RTD builds: Update requirements.txt with the latest versions Jan 18, 2024
@vishesh92
Copy link
Member Author

@blueorangutan docbuild

@blueorangutan
Copy link

@vishesh92 a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.

@blueorangutan
Copy link

QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/375. (QA-JID 198)

@DaanHoogland DaanHoogland merged commit 0600c0a into apache:main Jan 18, 2024
1 check passed
@DaanHoogland DaanHoogland deleted the update-requirements branch January 18, 2024 13:12
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

Successfully merging this pull request may close these issues.

3 participants