Skip to content

Commit 7b0bc76

Browse files
authored
Add Python 3.11, add more black checks, remove upper pins (ethereum#69)
1 parent c802e5d commit 7b0bc76

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

Diff for: .circleci/config.yml

+7
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ jobs:
7272
- image: cimg/python:3.10
7373
environment:
7474
TOXENV: py310-core
75+
py311-core:
76+
<<: *common
77+
docker:
78+
- image: cimg/python:3.11
79+
environment:
80+
TOXENV: py311-core
7581
pypy3-core:
7682
<<: *common
7783
docker:
@@ -88,4 +94,5 @@ workflows:
8894
- py38-core
8995
- py39-core
9096
- py310-core
97+
- py311-core
9198
- pypy3-core

Diff for: setup.py

+11-10
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@
77

88
extras_require = {
99
"test": [
10-
"pytest>=6.2.5,<7",
10+
"pytest>=6.2.5",
1111
"pytest-xdist>=2.4.0,<3",
1212
"tox==3.14.6",
1313
],
1414
"lint": [
1515
"flake8==3.7.9",
16-
"isort>=5.10.1,<6",
16+
"isort>=5.10.1",
1717
"mypy==0.770",
18-
"pydocstyle>=5.0.0,<6",
19-
"black>=22,<23",
18+
"pydocstyle>=5.0.0",
19+
"black>=22",
2020
],
2121
"doc": [
22-
"Sphinx>=1.6.5,<2",
23-
"sphinx_rtd_theme>=0.1.9,<1",
24-
"towncrier>=21,<22",
22+
"Sphinx>=1.6.5",
23+
"sphinx_rtd_theme>=0.1.9",
24+
"towncrier>=21",
2525
],
2626
"dev": [
27-
"bumpversion>=0.5.3,<1",
28-
"pytest-watch>=4.1.0,<5",
27+
"bumpversion>=0.5.3",
28+
"pytest-watch>=4.1.0",
2929
"wheel",
3030
"twine",
3131
"ipython",
@@ -56,7 +56,7 @@
5656
url="https://github.com/ethereum/<REPO_NAME>",
5757
include_package_data=True,
5858
install_requires=[
59-
"eth-utils>=2,<3",
59+
"eth-utils>=2",
6060
],
6161
python_requires=">=3.7, <4",
6262
extras_require=extras_require,
@@ -78,6 +78,7 @@
7878
"Programming Language :: Python :: 3.8",
7979
"Programming Language :: Python :: 3.9",
8080
"Programming Language :: Python :: 3.10",
81+
"Programming Language :: Python :: 3.11",
8182
"Programming Language :: Python :: Implementation :: PyPy",
8283
],
8384
)

Diff for: tox.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist=
3-
py{37,38,39,310,py3}-core
3+
py{37,38,39,310,311,py3}-core
44
lint
55
docs
66

@@ -27,6 +27,7 @@ basepython =
2727
py38: python3.8
2828
py39: python3.9
2929
py310: python3.10
30+
py311: python3.11
3031
pypy3: pypy3
3132
extras=
3233
test
@@ -42,4 +43,4 @@ commands=
4243
flake8 {toxinidir}/<MODULE_NAME> {toxinidir}/tests
4344
isort --check-only --diff {toxinidir}/<MODULE_NAME> {toxinidir}/tests
4445
pydocstyle --explain {toxinidir}/<MODULE_NAME> {toxinidir}/tests
45-
black --check {toxinidir}/<MODULE_NAME> {toxinidir}/tests setup.py
46+
black --check {toxinidir}/<MODULE_NAME> {toxinidir}/docs {toxinidir}/tests {toxinidir}/setup.py

0 commit comments

Comments
 (0)