Skip to content

Commit

Permalink
tests: create a separate constraints-base file
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
  • Loading branch information
gotmax23 and webknjaz committed Aug 21, 2023
1 parent e8843c4 commit 66b7492
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/constraints-base.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Known limitations for indirect/transitive dependencies.

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
4 changes: 3 additions & 1 deletion tests/constraints.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Known limitations for indirect/transitive dependencies.
# This constraints file contains pins for the stable, tested versions of sphinx
# and antsibull-docs that production builds rely upon.

sphinx == 5.3.0
antsibull-docs == 2.3.1 # currently approved version
4 changes: 3 additions & 1 deletion tests/requirements-relaxed.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
# essential tools
# It's used for testing purposes and devel branch builds on docs.ansible.com.

-c constraints-base.in

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
sphinx-notfound-page
sphinx-ansible-theme
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
rstcheck
antsibull-docs ~= 2.0

0 comments on commit 66b7492

Please sign in to comment.