diff --git a/.circleci/config.yml b/.circleci/config.yml index 4ce05a43..db95741c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -72,6 +72,12 @@ jobs: - image: cimg/python:3.10 environment: TOXENV: py310-core + py311-core: + <<: *common + docker: + - image: cimg/python:3.11 + environment: + TOXENV: py311-core pypy3-core: <<: *common docker: @@ -88,4 +94,5 @@ workflows: - py38-core - py39-core - py310-core + - py311-core - pypy3-core diff --git a/setup.py b/setup.py index 1c8088af..9dfbf788 100644 --- a/setup.py +++ b/setup.py @@ -7,25 +7,25 @@ from setuptools import ( extras_require = { "test": [ - "pytest>=6.2.5,<7", + "pytest>=6.2.5", "pytest-xdist>=2.4.0,<3", "tox==3.14.6", ], "lint": [ "flake8==3.7.9", - "isort>=5.10.1,<6", + "isort>=5.10.1", "mypy==0.770", - "pydocstyle>=5.0.0,<6", - "black>=22,<23", + "pydocstyle>=5.0.0", + "black>=22", ], "doc": [ - "Sphinx>=1.6.5,<2", - "sphinx_rtd_theme>=0.1.9,<1", - "towncrier>=21,<22", + "Sphinx>=1.6.5", + "sphinx_rtd_theme>=0.1.9", + "towncrier>=21", ], "dev": [ - "bumpversion>=0.5.3,<1", - "pytest-watch>=4.1.0,<5", + "bumpversion>=0.5.3", + "pytest-watch>=4.1.0", "wheel", "twine", "ipython", @@ -56,7 +56,7 @@ setup( url="https://github.com/ethereum/", include_package_data=True, install_requires=[ - "eth-utils>=2,<3", + "eth-utils>=2", ], python_requires=">=3.7, <4", extras_require=extras_require, @@ -78,6 +78,7 @@ setup( "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: PyPy", ], ) diff --git a/tox.ini b/tox.ini index 0e5a8a1d..00ca4463 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist= - py{37,38,39,310,py3}-core + py{37,38,39,310,311,py3}-core lint docs @@ -27,6 +27,7 @@ basepython = py38: python3.8 py39: python3.9 py310: python3.10 + py311: python3.11 pypy3: pypy3 extras= test @@ -42,4 +43,4 @@ commands= flake8 {toxinidir}/ {toxinidir}/tests isort --check-only --diff {toxinidir}/ {toxinidir}/tests pydocstyle --explain {toxinidir}/ {toxinidir}/tests - black --check {toxinidir}/ {toxinidir}/tests setup.py + black --check {toxinidir}/ {toxinidir}/docs {toxinidir}/tests {toxinidir}/setup.py