Skip to content

Commit

Permalink
🚧chore: add support for python 3.11
Browse files Browse the repository at this point in the history
Also bump the versions for dependencies such as
mypy==1.5.1
pylint==2.17.5
yapf==0.40.1
pydocstyle>=6.3.0

Signed-off-by: KimSia, Sim <[email protected]>
  • Loading branch information
simkimsia committed Sep 8, 2023
1 parent 1883ed0 commit 2520466
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@master
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import sys

from setuptools import setup, find_packages
from setuptools import find_packages, setup

# pylint: disable=redefined-builtin

Expand Down Expand Up @@ -42,7 +42,8 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'
# yapf: enable
],
license='License :: OSI Approved :: MIT License',
Expand All @@ -51,7 +52,7 @@
install_requires=install_requires,
extras_require={
'dev': [
'mypy==0.991', 'pylint==2.13.9', 'yapf==0.20.2', 'tox>=3.0.0', 'pydocstyle>=6.1.1,<7', 'coverage>=4.5.1,<5',
'mypy==1.5.1', 'pylint==2.17.5', 'yapf==0.40.1', 'tox>=3.0.0', 'pydocstyle>=6.3.0,<7', 'coverage>=4.5.1,<5',
'docutils>=0.14,<1', 'pygments>=2.2.0,<3', 'dpcontracts==0.6.0', 'tabulate>=0.8.7,<1',
'py-cpuinfo>=5.0.0,<6', 'typeguard>=2,<3', 'astor==0.8.1', 'numpy>=1,<2'
] + (['deal==4.23.3'] if sys.version_info >= (3, 8) else []) + (['asyncstdlib==3.9.1']
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py35,py36,py37,py38
envlist = py37,py38,py39,py310,py311

[testenv]
deps = .[dev]
Expand Down

0 comments on commit 2520466

Please sign in to comment.