Skip to content

Commit

Permalink
Support python 3.10
Browse files Browse the repository at this point in the history
No reason to gate supporting a newer version of python because of pytype
not supporting it yet.
  • Loading branch information
kevinkjt2000 committed Jan 3, 2022
1 parent aa43f01 commit 27fbe2e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
9 changes: 6 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Games/Entertainment",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Monitoring",
Expand All @@ -28,7 +29,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.7,<3.10"
python = ">=3.7"
asyncio-dgram = "1.2.0"
click = "7.1.2"
dnspython = "2.1.0"
Expand All @@ -41,7 +42,7 @@ pytest-asyncio = "^0.16.0"
pytest-cov = "^3.0.0"
twine = "^3.5.0"
black = "^21.10b0"
pytype = {version = "^2021.12.8", platform = "linux"}
pytype = {version = "^2021.12.8", platform = "linux", python = "<3.10"}
tox = "^3.24.5"
tox-poetry = "^0.4.1"

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
isolated_build = True
envlist =
format-check,lint,py{37,38,39},coverage
format-check,lint,py{37,38,39,310},coverage

[testenv]
setenv =
Expand All @@ -25,7 +25,7 @@ commands =

[testenv:coverage]
depends =
py{37,38,39}
py{37,38,39,310}
setenv =
COVERAGE_FILE=.coverage
commands =
Expand Down

0 comments on commit 27fbe2e

Please sign in to comment.