Skip to content

Commit ad087ca

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 ad087ca

File tree

4 files changed

+58
-128
lines changed

4 files changed

+58
-128
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ jobs:
337337

338338
- uses: actions/setup-python@v2
339339
with:
340-
python-version: '3.9'
340+
python-version: '3.11'
341341

342342
- uses: abatilo/[email protected]
343343
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-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +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 saw_client/
21+
run_test poetry run mypy --install-types --non-interactive saw_client/
2222

2323
export SAW_SERVER=$(which saw-remote-api)
2424
if [[ ! -x "$SAW_SERVER" ]]; then

0 commit comments

Comments
 (0)