Skip to content

Commit 3ee2488

Browse files
Python 3.10 playground (#151)
* Python 3.10 playground * Fix CI * Cleanup, bump
1 parent ba81881 commit 3ee2488

File tree

6 files changed

+59
-92
lines changed

6 files changed

+59
-92
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-python@v2
1616
with:
17-
python-version: "3.8.x"
18-
- uses: snok/[email protected]
17+
python-version: "3.10.x"
18+
- uses: snok/install-poetry@v1
19+
with:
20+
version: "1.1.11"
1921

2022
- name: Install project
2123
run: make install

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-python@v2
1111
with:
12-
python-version: "3.8.x"
13-
- uses: snok/[email protected]
12+
python-version: "3.10.x"
13+
- uses: snok/install-poetry@v1
14+
with:
15+
version: "1.1.11"
1416

1517
- uses: actions/cache@v2
1618
id: cache-venv

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8-slim-buster
1+
FROM python:3.10-slim-buster
22

33
ARG PLUGINS
44

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.8
2+
python_version = 3.10
33
plugins = pydantic.mypy
44

55
[mypy-ruamel]

poetry.lock

Lines changed: 35 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,49 +21,49 @@ packages = [
2121
]
2222

2323
[tool.poetry.dependencies]
24-
python = "^3.8"
24+
python = "^3.10"
2525
aiohttp = "^3.8.0"
2626
aiolimiter = "^1.0.0-beta.1"
27-
anyio = "^3.2.1"
28-
APScheduler = "^3.7.0"
27+
anyio = "^3.3.2"
28+
APScheduler = "^3.8.0"
2929
asyncclick = "^8.0.1"
3030
asyncpg = "^0.24.0"
3131
datamodel-code-generator = "^0.11.18"
3232
fcache = "^0.4.7"
3333
orjson = "^3.6.6"
34-
pydantic = "^1.8.1"
34+
prometheus-client = "^0.12.0"
35+
pydantic = "^1.8.2"
3536
pyhumps = "^3.0.2"
3637
pysignalr = "^0.1.1"
3738
pytezos = {version = "^3.2.4", optional = true}
38-
python-dotenv = "^0.18.0"
39+
python-dotenv = "^0.19.0"
3940
"ruamel.yaml" = "^0.17.2"
40-
sentry-sdk = "^1.1.0"
41-
sqlparse = "^0.4.1"
41+
sentry-sdk = "^1.4.3"
42+
sqlparse = "^0.4.2"
4243
tabulate = "^0.8.9"
4344
tortoise-orm = "0.17.8"
4445
typing-inspect = "^0.6.0"
45-
prometheus-client = "^0.12.0"
4646

4747
[tool.poetry.dev-dependencies]
4848
black = "^22.1.0"
4949
bump2version = "^1.0.1"
5050
diff-cover = "^5.0.1"
51-
flake8 = "3.9.0"
51+
flake8 = "^3.9.2"
5252
flake8-return = "^1.1.3"
5353
flake8-comprehensions = "^3.8.0"
5454
flake8-bugbear = "^22.1.11"
5555
flake8-simplify = "^0.14.5"
5656
flakehell = "^0.9.0"
57-
isort = "^5.7.0"
58-
mypy = "^0.900"
57+
isort = "^5.9.3"
58+
mypy = "^0.910"
59+
pprofile = "^2.1.0"
5960
pyperf = "^2.3.0"
6061
pytest = "^6.2.5"
6162
pytest-cov = "^3.0.0"
6263
pytest-xdist = "^2.5.0"
63-
testcontainers = "^3.4.1"
64+
testcontainers = "^3.4.2"
6465
types-pytz = "^2021.1.2"
6566
types-tabulate = "^0.8.2"
66-
pprofile = "^2.1.0"
6767

6868
[tool.poetry.extras]
6969
pytezos = ["pytezos"]
@@ -84,6 +84,7 @@ skip-string-normalization = true
8484
format = "colored"
8585
max_line_length = 140
8686
show_source = true
87+
extended_default_ignore = []
8788

8889
[tool.flakehell.plugins]
8990
pyflakes = ["+*"]

0 commit comments

Comments
 (0)