Skip to content

Commit

Permalink
⬆️ UPGRADE: Add Python 3.10 support (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman authored Jun 10, 2022
1 parent f2484fa commit 3560d1a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9]
# sphinx 3 currently fails, because of: https://github.com/sphinx-doc/sphinx/issues/10291
# sphinx: [">=3,<4", ">=4,<5"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
sphinx: [">=4,<5"]
include:
- os: windows-latest
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down Expand Up @@ -88,7 +89,7 @@ rtd = [
"sympy",
]
testing = [
"coverage<5.0",
"coverage~=6.4",
"beautifulsoup4",
"ipykernel~=5.5",
"ipython!=8.1.0", # see https://github.com/ipython/ipython/issues/13554
Expand All @@ -100,8 +101,8 @@ testing = [
"numpy",
# TODO: 1.4.0 has some warnings that need to be fixed in the tests.
"pandas<1.4",
"pytest~=5.4",
"pytest-cov~=2.8",
"pytest~=7.1",
"pytest-cov~=3.0",
"pytest-regressions",
"pytest-param-files~=0.3.3",
"sympy",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ envlist = py38-sphinx4
[testenv]
usedevelop = true

[testenv:py{37,38,39}-sphinx{3,4}]
[testenv:py{37,38,39,310}-sphinx{3,4}]
extras = testing
deps =
sphinx3: sphinx>=3,<4
Expand Down

0 comments on commit 3560d1a

Please sign in to comment.