Skip to content

Commit

Permalink
tidy up pins and reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Jan 15, 2025
1 parent 05ebd53 commit 3962c44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
3 changes: 3 additions & 0 deletions tests/constraints.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# This constraints file contains pins for the stable, tested versions of sphinx
# and antsibull-docs that production builds rely upon.
# This constraint file also pins other versions for which there are known limitations.

sphinx == 7.2.5
antsibull-docs == 2.16.2 # currently approved version
sphinx-rtd-theme >= 2.0.0 # Fix 404 pages with new sphinx -- https://github.com/ansible/ansible-documentation/issues/678
rstcheck < 6 # rstcheck 6.x has problem with rstcheck.core triggered by include files w/ sphinx directives https://github.com/rstcheck/rstcheck-core/issues/3
15 changes: 5 additions & 10 deletions tests/requirements.in
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
# This requirements file is used for doc builds
# It depends on specific, tested antsibull-docs and sphinx versions

-c constraints.in # <-- contains known limitations

# Base set of dependencies.

antsibull-docs
sphinx
sphinx-intl # translation utility used by docs/docsite/Makefile
sphinx-notfound-page
sphinx-ansible-theme
antsibull-docs
sphinx-notfound-page # extension used for the custom 404 page (cowsay)
sphinx-ansible-theme # extension used for the custom docs theme
sphinx-rtd-theme
rstcheck
sphinx-copybutton

# Known limitations for indirect/transitive dependencies.

jinja2 >= 3.0.0 # used by hacking/build_library/build_ansible/command_plugins/generate_man.py and dump_keywords.py
pyyaml >= 5.1 # used by ansible-core
resolvelib >= 0.5.3, < 1.1.0 # used by ansible-core
sphinx-rtd-theme>=2.0.0 # Fix 404 pages with new sphinx -- https://github.com/ansible/ansible-documentation/issues/678
rstcheck < 6 # rstcheck 6.x has problem with rstcheck.core triggered by include files w/ sphinx directives https://github.com/rstcheck/rstcheck-core/issues/3

0 comments on commit 3962c44

Please sign in to comment.