Skip to content

Commit 74b9e5d

Browse files
authored
Merge pull request #43 from click-contrib/update-docs-dependencies
Update docs dependencies
2 parents c2a908b + f72cb3a commit 74b9e5d

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ matrix:
66
- python: "3.6"
77
env: TOXENV=py36-pytest
88
- python: "3.7"
9-
env: TOXENV=py37-pytest-coverage
9+
env: TOXENV=py37-pytest
1010
- python: "3.8"
1111
env: TOXENV=py38-pytest
12-
- python: "3.7"
12+
- python: "3.9"
13+
env: TOXENV=py39-pytest
14+
- python: "3.10"
15+
env: TOXENV=py310-pytest-coverage
16+
- python: "3.10"
1317
env: TOXENV=flake8
14-
- python: "3.7"
18+
- python: "3.10"
1519
env: TOXENV=docs
1620

1721
install:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
'sphinx.ext.autosummary',
4040
'sphinx.ext.intersphinx',
4141
'pallets_sphinx_themes',
42-
'm2r',
42+
'm2r2',
4343
]
4444

4545
autodoc_member_order = 'bysource'

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_long_description():
3737
'Click>=7.0,<9',
3838
],
3939
extras_require={
40-
'docs': ['sphinx>=2.3, <3', 'Pallets-Sphinx-Themes', 'm2r'],
40+
'docs': ['sphinx>=3.0, <6', 'Pallets-Sphinx-Themes', 'm2r2'],
4141
'tests': ['coverage <6', 'pytest', 'pytest-cov', 'coveralls'],
4242
},
4343
url='https://github.com/click-contrib/click-option-group',
@@ -65,5 +65,7 @@ def get_long_description():
6565
'Programming Language :: Python :: 3.6',
6666
'Programming Language :: Python :: 3.7',
6767
'Programming Language :: Python :: 3.8',
68+
'Programming Language :: Python :: 3.9',
69+
'Programming Language :: Python :: 3.10',
6870
],
6971
)

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tox]
2-
envlist = py{36,37,38}-pytest-coverage, docs, flake8
2+
envlist = py{36,37,38,39,310}-pytest-coverage, docs, flake8
33
skipsdist = True
44

55
[testenv]
66
commands =
77
pip install -e .[tests]
88
pytest --color=yes -v {posargs}
99

10-
[testenv:py37-pytest-coverage]
10+
[testenv:py310-pytest-coverage]
1111
passenv = TRAVIS TRAVIS_*
1212
commands =
1313
pip install -e .[tests]

0 commit comments

Comments
 (0)