From cc22224d106877dd50237b8983c0057fc92fc1a0 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 6 Apr 2022 09:28:05 -0500 Subject: [PATCH] Test with sphinx 4 and python 3.10 (#109) --- .circleci/config.yml | 10 +++++++++- docs/requirements.txt | 2 +- tox.ini | 4 +++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c860f52..5e5348c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ commands: type: string sphinx-version: type: string - default: "1,2,3,latest" + default: "1,2,3,4,latest" steps: - browser-tools/install-browser-tools - checkout @@ -48,11 +48,19 @@ jobs: steps: - run-tox: version: py39 + py310: + docker: + - image: 'cimg/python:3.10-browsers' + steps: + - run-tox: + version: py310 + sphinx-version: 4,latest workflows: version: 2 tests: jobs: + - py310 - py39 - py38 - py37 diff --git a/docs/requirements.txt b/docs/requirements.txt index 2791fe4..b10cf17 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -sphinx==4.4.0 +sphinx==4.5.0 sphinx-prompt==1.5.0 sphinx-tabs==3.2.0 sphinx-rtd-theme==1.0.0 diff --git a/tox.ini b/tox.ini index 96a9f12..1f1229e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] minversion = 3.10 envlist = - py{36,37,38,39}-sphinx{1,2,3,latest} + py{36,37,38,39}-sphinx{1,2,3,4,latest} + py310-sphinx{4,latest} docs skipsdist = True @@ -13,6 +14,7 @@ deps = sphinx1: Sphinx<2.0 sphinx2: Sphinx<3.0 sphinx3: Sphinx<4.0 + sphinx4: Sphinx<5.0 {sphinx1,sphinx2,sphinx3}: docutils<0.18 {sphinx1,sphinx2,sphinx3}: jinja2<3.1 sphinxlatest: Sphinx