Skip to content

Commit f120326

Browse files
authored
⬆️ Maintenance: upgrade to python 3.9.12 (ITISFoundation#2973)
1 parent cd7d039 commit f120326

File tree

102 files changed

+209
-467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+209
-467
lines changed

.github/workflows/ci-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
strategy:
1919
matrix:
20-
python: [3.8]
20+
python: ["3.9"]
2121
os: [ubuntu-20.04]
2222
docker_buildx: [v0.7.1]
2323
docker_compose: [1.29.1]

.github/workflows/ci-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
strategy:
1919
matrix:
20-
python: [3.8]
20+
python: ["3.9"]
2121
os: [ubuntu-20.04]
2222
docker_buildx: [v0.7.1]
2323
docker_compose: [1.29.1]

.github/workflows/ci-testing-deploy.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ${{ matrix.os }}
4040
strategy:
4141
matrix:
42-
python: [3.8]
42+
python: ["3.9"]
4343
os: [ubuntu-20.04]
4444
docker_buildx: [v0.7.1]
4545
docker_compose: [1.29.1]
@@ -80,7 +80,7 @@ jobs:
8080
runs-on: ${{ matrix.os }}
8181
strategy:
8282
matrix:
83-
python: [3.8]
83+
python: ["3.9"]
8484
os: [ubuntu-20.04]
8585
docker_buildx: [v0.7.1]
8686
docker_compose: [1.29.1]
@@ -132,7 +132,7 @@ jobs:
132132
runs-on: ${{ matrix.os }}
133133
strategy:
134134
matrix:
135-
python: [3.8]
135+
python: ["3.9"]
136136
os: [ubuntu-20.04]
137137
docker_buildx: [v0.7.1]
138138
docker_compose: [1.29.1]
@@ -182,7 +182,7 @@ jobs:
182182
runs-on: ${{ matrix.os }}
183183
strategy:
184184
matrix:
185-
python: [3.8]
185+
python: ["3.9"]
186186
os: [ubuntu-20.04]
187187
docker_buildx: [v0.7.1]
188188
docker_compose: [1.29.1]
@@ -232,7 +232,7 @@ jobs:
232232
runs-on: ${{ matrix.os }}
233233
strategy:
234234
matrix:
235-
python: [3.8]
235+
python: ["3.9"]
236236
os: [ubuntu-20.04]
237237
docker_buildx: [v0.7.1]
238238
docker_compose: [1.29.1]
@@ -269,7 +269,7 @@ jobs:
269269
runs-on: ${{ matrix.os }}
270270
strategy:
271271
matrix:
272-
python: [3.8]
272+
python: ["3.9"]
273273
os: [ubuntu-20.04]
274274
docker_buildx: [v0.7.1]
275275
docker_compose: [1.29.1]
@@ -319,7 +319,7 @@ jobs:
319319
runs-on: ${{ matrix.os }}
320320
strategy:
321321
matrix:
322-
python: [3.8]
322+
python: ["3.9"]
323323
os: [ubuntu-20.04]
324324
docker_buildx: [v0.7.1]
325325
docker_compose: [1.29.1]
@@ -375,7 +375,7 @@ jobs:
375375
runs-on: ${{ matrix.os }}
376376
strategy:
377377
matrix:
378-
python: [3.8]
378+
python: ["3.9"]
379379
os: [ubuntu-20.04]
380380
docker_buildx: [v0.7.1]
381381
docker_compose: [1.29.1]
@@ -482,7 +482,7 @@ jobs:
482482
runs-on: ${{ matrix.os }}
483483
strategy:
484484
matrix:
485-
python: [3.8]
485+
python: ["3.9"]
486486
os: [ubuntu-20.04]
487487
docker_buildx: [v0.7.1]
488488
docker_compose: [1.29.1]
@@ -538,7 +538,7 @@ jobs:
538538
runs-on: ${{ matrix.os }}
539539
strategy:
540540
matrix:
541-
python: [3.8]
541+
python: ["3.9"]
542542
os: [ubuntu-20.04]
543543
docker_buildx: [v0.7.1]
544544
docker_compose: [1.29.1]
@@ -590,7 +590,7 @@ jobs:
590590
runs-on: ${{ matrix.os }}
591591
strategy:
592592
matrix:
593-
python: [3.8]
593+
python: ["3.9"]
594594
os: [ubuntu-20.04]
595595
docker_buildx: [v0.7.1]
596596
docker_compose: [1.29.1]
@@ -640,7 +640,7 @@ jobs:
640640
runs-on: ${{ matrix.os }}
641641
strategy:
642642
matrix:
643-
python: [3.8]
643+
python: ["3.9"]
644644
os: [ubuntu-20.04]
645645
docker_buildx: [v0.7.1]
646646
docker_compose: [1.29.1]
@@ -730,7 +730,7 @@ jobs:
730730
runs-on: ${{ matrix.os }}
731731
strategy:
732732
matrix:
733-
python: [3.8, 3.9]
733+
python: ["3.9", "3.10"]
734734
os: [ubuntu-20.04]
735735
docker_buildx: [v0.7.1]
736736
docker_compose: [1.29.1]
@@ -767,7 +767,7 @@ jobs:
767767
runs-on: ${{ matrix.os }}
768768
strategy:
769769
matrix:
770-
python: [3.8]
770+
python: ["3.9"]
771771
os: [ubuntu-20.04]
772772
docker_buildx: [v0.7.1]
773773
docker_compose: [1.29.1]
@@ -818,7 +818,7 @@ jobs:
818818
runs-on: ${{ matrix.os }}
819819
strategy:
820820
matrix:
821-
python: [3.8]
821+
python: ["3.9"]
822822
os: [ubuntu-20.04]
823823
docker_buildx: [v0.7.1]
824824
docker_compose: [1.29.1]
@@ -868,7 +868,7 @@ jobs:
868868
runs-on: ${{ matrix.os }}
869869
strategy:
870870
matrix:
871-
python: [3.8]
871+
python: ["3.9"]
872872
os: [ubuntu-20.04]
873873
docker_buildx: [v0.7.1]
874874
docker_compose: [1.29.1]
@@ -918,7 +918,7 @@ jobs:
918918
runs-on: ${{ matrix.os }}
919919
strategy:
920920
matrix:
921-
python: [3.8]
921+
python: ["3.9"]
922922
os: [ubuntu-20.04]
923923
docker_buildx: [v0.7.1]
924924
docker_compose: [1.29.1]
@@ -968,7 +968,7 @@ jobs:
968968
runs-on: ${{ matrix.os }}
969969
strategy:
970970
matrix:
971-
python: [3.8]
971+
python: ["3.9"]
972972
os: [ubuntu-20.04]
973973
docker_buildx: [v0.7.1]
974974
docker_compose: [1.29.1]
@@ -1018,7 +1018,7 @@ jobs:
10181018
runs-on: ${{ matrix.os }}
10191019
strategy:
10201020
matrix:
1021-
python: [3.8]
1021+
python: ["3.9"]
10221022
os: [ubuntu-20.04]
10231023
docker_buildx: [v0.7.1]
10241024
docker_compose: [1.29.1]
@@ -1068,7 +1068,7 @@ jobs:
10681068
runs-on: ${{ matrix.os }}
10691069
strategy:
10701070
matrix:
1071-
python: [3.8]
1071+
python: ["3.9"]
10721072
os: [ubuntu-20.04]
10731073
docker_buildx: [v0.7.1]
10741074
docker_compose: [1.29.1]
@@ -1119,7 +1119,7 @@ jobs:
11191119
runs-on: ${{ matrix.os }}
11201120
strategy:
11211121
matrix:
1122-
python: [3.8]
1122+
python: ["3.9"]
11231123
os: [ubuntu-20.04]
11241124
docker_buildx: [v0.7.1]
11251125
docker_compose: [1.29.1]
@@ -1185,7 +1185,7 @@ jobs:
11851185
runs-on: ${{ matrix.os }}
11861186
strategy:
11871187
matrix:
1188-
python: [3.8]
1188+
python: ["3.9"]
11891189
os: [ubuntu-20.04]
11901190
docker_buildx: [v0.7.1]
11911191
docker_compose: [1.29.1]
@@ -1251,7 +1251,7 @@ jobs:
12511251
runs-on: ${{ matrix.os }}
12521252
strategy:
12531253
matrix:
1254-
python: [3.8]
1254+
python: ["3.9"]
12551255
os: [ubuntu-20.04]
12561256
docker_buildx: [v0.7.1]
12571257
docker_compose: [1.29.1]
@@ -1317,7 +1317,7 @@ jobs:
13171317
runs-on: ${{ matrix.os }}
13181318
strategy:
13191319
matrix:
1320-
python: [3.8]
1320+
python: ["3.9"]
13211321
os: [ubuntu-20.04]
13221322
docker_buildx: [v0.7.1]
13231323
docker_compose: [1.29.1]
@@ -1386,7 +1386,7 @@ jobs:
13861386
runs-on: ${{ matrix.os }}
13871387
strategy:
13881388
matrix:
1389-
python: [3.8]
1389+
python: ["3.9"]
13901390
os: [ubuntu-20.04]
13911391
docker_buildx: [v0.7.1]
13921392
docker_compose: [1.29.1]
@@ -1452,7 +1452,7 @@ jobs:
14521452
runs-on: ${{ matrix.os }}
14531453
strategy:
14541454
matrix:
1455-
python: [3.8]
1455+
python: ["3.9"]
14561456
os: [ubuntu-20.04]
14571457
docker_buildx: [v0.7.1]
14581458
docker_compose: [1.29.1]
@@ -1505,7 +1505,7 @@ jobs:
15051505
runs-on: ${{ matrix.os }}
15061506
strategy:
15071507
matrix:
1508-
python: [3.8]
1508+
python: ["3.9"]
15091509
os: [ubuntu-20.04]
15101510
docker_buildx: [v0.7.1]
15111511
docker_compose: [1.29.1]
@@ -1558,7 +1558,7 @@ jobs:
15581558
runs-on: ${{ matrix.os }}
15591559
strategy:
15601560
matrix:
1561-
python: [3.8]
1561+
python: ["3.9"]
15621562
node: [14]
15631563
os: [ubuntu-20.04]
15641564
docker_buildx: [v0.7.1]
@@ -1632,7 +1632,7 @@ jobs:
16321632
runs-on: ${{ matrix.os }}
16331633
strategy:
16341634
matrix:
1635-
python: [3.8]
1635+
python: ["3.9"]
16361636
os: [ubuntu-20.04]
16371637
docker_buildx: [v0.7.1]
16381638
docker_compose: [1.29.1]
@@ -1756,7 +1756,7 @@ jobs:
17561756
runs-on: ${{ matrix.os }}
17571757
strategy:
17581758
matrix:
1759-
python: [3.8]
1759+
python: ["3.9"]
17601760
os: [ubuntu-20.04]
17611761
docker_buildx: [v0.7.1]
17621762
docker_compose: [1.29.1]

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See https://pre-commit.com/hooks.html for more hooks
22
exclude: "^.venv$|^.cache$|^.pytest_cache$"
33
default_language_version:
4-
python: python3.8
4+
python: python3.9
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
77
rev: v4.2.0

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ pylint: ## Runs python linter framework's wide
425425
-not -path "*generated_code*" \
426426
-not -path "*build*" \
427427
-not -path "*datcore.py" \
428+
-not -path "*/director/*" \
428429
-not -path "*web/server*"))"
429430
# See exit codes and command line https://pylint.readthedocs.io/en/latest/user_guide/run.html#exit-codes
430431

api/tests/requirements.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.8
2+
# This file is autogenerated by pip-compile with python 3.9
33
# To update, run:
44
#
55
# pip-compile --output-file=requirements.txt requirements.in
@@ -33,10 +33,6 @@ frozenlist==1.3.0
3333
# aiosignal
3434
idna==3.3
3535
# via yarl
36-
importlib-resources==5.6.0 ; python_version < "3.9"
37-
# via
38-
# -c ../../requirements/constraints.txt
39-
# jsonschema
4036
iniconfig==1.1.1
4137
# via pytest
4238
isodate==0.6.1
@@ -111,8 +107,6 @@ werkzeug==2.0.3
111107
# via openapi-core
112108
yarl==1.7.2
113109
# via aiohttp
114-
zipp==3.7.0
115-
# via importlib-resources
116110

117111
# The following packages are considered to be unsafe in a requirements file:
118112
# setuptools

ci/helpers/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.8
2+
# This file is autogenerated by pip-compile with python 3.9
33
# To update, run:
44
#
55
# pip-compile --output-file=requirements.txt requirements.in
@@ -16,13 +16,13 @@ attrs==21.4.0
1616
# via aiohttp
1717
certifi==2021.10.8
1818
# via requests
19-
charset-normalizer==2.0.11
19+
charset-normalizer==2.0.12
2020
# via
2121
# aiohttp
2222
# requests
2323
docker==5.0.3
2424
# via -r requirements.in
25-
fastapi==0.73.0
25+
fastapi==0.75.1
2626
# via -r requirements.in
2727
frozenlist==1.3.0
2828
# via
@@ -47,11 +47,11 @@ sniffio==1.2.0
4747
# via anyio
4848
starlette==0.17.1
4949
# via fastapi
50-
typing-extensions==4.0.1
50+
typing-extensions==4.1.1
5151
# via pydantic
52-
urllib3==1.26.8
52+
urllib3==1.26.9
5353
# via requests
54-
websocket-client==1.2.3
54+
websocket-client==1.3.2
5555
# via docker
5656
yarl==1.7.2
5757
# via aiohttp

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Global options:
22
[mypy]
3-
python_version = 3.8
3+
python_version = 3.9
44

55
warn_return_any = True
66
warn_unused_configs = True

0 commit comments

Comments
 (0)