Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakski committed Nov 21, 2024
1 parent f4804d5 commit 79228d4
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 34 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- {python: "3.9", env: "1"}
- {python: "3.9", env: "2"}
- {python: "3.9", env: "3"}
- {python: "3.9", env: "4"}
python: ["3.10", "3.11"]
env: ["1", "2", "3"]
steps:
- name: Cache dependencies
uses: actions/cache@v2
Expand Down
10 changes: 2 additions & 8 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,16 @@ update_requirements_cmd() {
declare i
declare -a env1 env2 env3 env4
# Some contrib extensions don't specify required Sphinx version in dependencies, yet fail on setup

# ImportError: cannot import name 'environmentfilter' from 'jinja2'
env1=(
"Sphinx>=3,<4"
"jinja2==3.0.3"
)
env2=(
"Sphinx>=4,<5"
"sphinxcontrib-applehelp<=1.0.5"
"sphinxcontrib-devhelp<=1.0.2"
"sphinxcontrib-htmlhelp<=2.0.1"
"sphinxcontrib-serializinghtml<=1.1.5"
"sphinxcontrib-qthelp<=1.0.3"
)
env3=("Sphinx>=5,<6")
env4=("Sphinx>=5,<6" "ruamel.yaml>=0.17,<0.18")
env2=("Sphinx>=5,<6")
env3=("Sphinx>=5,<6" "ruamel.yaml>=0.17,<0.18")
for i in {1..4}; do
declare -n constraints="env${i}"
python3 -m venv --clear venv
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Topic :: Documentation",
]
requires-python = ">=3.6"
requires-python = ">=3.10"
dependencies = [
"Sphinx>=3.5.1",
"Sphinx>=4",
"ruamel.yaml>=0.16.12",
]

Expand Down
14 changes: 7 additions & 7 deletions tests/requirements-1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ alabaster==0.7.16
babel==2.16.0
certifi==2024.8.30
charset-normalizer==3.4.0
docutils==0.16
docutils==0.17.1
flake8==7.1.1
idna==3.10
imagesize==1.4.1
Expand All @@ -18,12 +18,12 @@ ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.12
six==1.16.0
snowballstemmer==2.2.0
Sphinx==3.5.4
Sphinx==4.5.0
sphinx-testing==1.0.1
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
urllib3==2.2.3
14 changes: 7 additions & 7 deletions tests/requirements-2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ alabaster==0.7.16
babel==2.16.0
certifi==2024.8.30
charset-normalizer==3.4.0
docutils==0.17.1
docutils==0.19
flake8==7.1.1
idna==3.10
imagesize==1.4.1
Expand All @@ -18,12 +18,12 @@ ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.12
six==1.16.0
snowballstemmer==2.2.0
Sphinx==4.5.0
Sphinx==5.3.0
sphinx-testing==1.0.1
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
urllib3==2.2.3
2 changes: 1 addition & 1 deletion tests/requirements-3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pycodestyle==2.12.1
pyflakes==3.2.0
Pygments==2.18.0
requests==2.32.3
ruamel.yaml==0.18.6
ruamel.yaml==0.17.40
ruamel.yaml.clib==0.2.12
six==1.16.0
snowballstemmer==2.2.0
Expand Down
8 changes: 4 additions & 4 deletions tests/requirements-4.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
alabaster==0.7.16
alabaster==1.0.0
babel==2.16.0
certifi==2024.8.30
charset-normalizer==3.4.0
docutils==0.19
docutils==0.21.2
flake8==7.1.1
idna==3.10
imagesize==1.4.1
Expand All @@ -14,11 +14,11 @@ pycodestyle==2.12.1
pyflakes==3.2.0
Pygments==2.18.0
requests==2.32.3
ruamel.yaml==0.17.40
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.12
six==1.16.0
snowballstemmer==2.2.0
Sphinx==5.3.0
Sphinx==8.1.3
sphinx-testing==1.0.1
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
Expand Down

0 comments on commit 79228d4

Please sign in to comment.