Skip to content

Commit

Permalink
Add Python 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kclowes committed Dec 15, 2022
1 parent b08c8ad commit e753661
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ jobs:
- image: cimg/python:3.10
environment:
TOXENV: py310-core
py311-core:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-core
py37-pyevm:
<<: *common
docker:
Expand All @@ -100,6 +106,12 @@ jobs:
- image: cimg/python:3.10
environment:
TOXENV: py310-pyevm
py311-pyevm:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-pyevm

workflows:
version: 2
Expand All @@ -110,8 +122,10 @@ workflows:
- py38-core
- py39-core
- py310-core
- py311-core
- py37-pyevm
- py38-pyevm
- py39-pyevm
- py310-pyevm
- py311-pyevm
- docs
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist=
py{37,38,39,310}-{core,pyevm}
py{37,38,39,310,311}-{core,pyevm}
lint
docs

Expand All @@ -10,7 +10,7 @@ exclude= tests/*

[testenv]
usedevelop=True
whitelist_externals=
allowlist_externals=
/usr/bin/make
commands=
core: pytest {posargs:tests/core}
Expand All @@ -23,6 +23,7 @@ basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
docs: python3.9
extras =
test
Expand Down

0 comments on commit e753661

Please sign in to comment.