Skip to content

Commit 801aa6c

Browse files
committed
Python: Bump argo-client, mypy, cryptol versions
This patch: * Bumps the `mypy` lower bounds to avoid incurring a dependency on `typed-ast`, which is being EOL'd soon. See python/typed_ast#179. * Bumps the `argo` submodule to bring in the changes from GaloisInc/argo#195, which makes corresponding changes on the `argo` side. * Bumps the `cryptol` submodule to bring in the changes from GaloisInc/cryptol#1493, which makes the corresponding changes on the `cryptol` side.
1 parent fa5c505 commit 801aa6c

File tree

4 files changed

+59
-127
lines changed

4 files changed

+59
-127
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ jobs:
315315
cd saw-remote-api/python/
316316
poetry update
317317
poetry install
318+
poetry run mypy --install-types --no-interactive || true
318319
poetry run mypy saw_client/
319320
os: macos-12
320321
- name: Check docs
@@ -337,7 +338,7 @@ jobs:
337338

338339
- uses: actions/setup-python@v2
339340
with:
340-
python-version: '3.9'
341+
python-version: '3.11'
341342

342343
- uses: abatilo/actions-poetry@v2.0.0
343344
with:

saw-remote-api/python/poetry.lock

+53-123
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

saw-remote-api/python/pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ include = [
1414
python = "^3.8"
1515
requests = "^2.25.1"
1616
BitVector = "^3.4.9"
17-
cryptol = "2.12.4" # { path = "../../deps/cryptol/cryptol-remote-api/python/", develop = true }
18-
argo-client = "0.0.10"
17+
cryptol = { path = "../../deps/cryptol/cryptol-remote-api/python/", develop = true }
18+
argo-client = "0.0.11"
1919

2020
[tool.poetry.dev-dependencies]
21-
mypy = "^0.812"
21+
mypy = "^0.991"
2222

2323
[build-system]
2424
requires = ["poetry>=1.1.4", "setuptools>=40.8.0"]

saw-remote-api/scripts/run_rpc_tests.sh

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ poetry install
1818

1919
echo "Typechecking code with mypy..."
2020
# Don't run mypy on tests/ yet, as it doesn't play well with mypy. See #1125.
21+
run_test poetry run mypy --install-types --non-interactive || true
2122
run_test poetry run mypy saw_client/
2223

2324
export SAW_SERVER=$(which saw-remote-api)

0 commit comments

Comments
 (0)