Skip to content

Commit 14deeee

Browse files
committed
ci: Fix and re-enable Python 3.11 support
1 parent 39817c2 commit 14deeee

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
python-version:
19+
- '3.11'
1920
- '3.10'
2021
- '3.9'
2122
- '3.8'

pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,18 @@ pytest = [
3939
{ version = ">=6.2.5", python = ">=3.10, <3.11" },
4040
{ version = ">=5.0.0", python = "<3.10" },
4141
]
42-
pytest-mock = ">=1.10.0"
42+
pytest-mock = [
43+
{ version = ">=3.7.0", python = ">=3.7" },
44+
{ version = ">=1.10.0", python = "<3.7" },
45+
]
46+
coverage = [
47+
{ version = ">=6.3.0", python = ">=3.7" },
48+
{ version = ">=4.5.4", python = "<3.7" },
49+
]
50+
pytest-cov = "~2.8"
4351
flake8 = ">=3.6.0"
4452
mock = "^3.0.5"
4553
bumpversion = "^0.5.0"
46-
pytest-cov = "~2.8"
47-
coverage = ">=4.5.4"
4854
sphinx = ">=1.8.4"
4955
sphinx-rtd-theme = "^0.4.0"
5056

0 commit comments

Comments
 (0)