Skip to content

Commit

Permalink
Python: Bump argo-client, mypy versions
Browse files Browse the repository at this point in the history
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` lower bounds to bring in the changes from
  GaloisInc/argo#195, which makes corresponding changes on the `argo` side.

Fixes #1491.
  • Loading branch information
RyanGlScott committed Jan 30, 2023
1 parent 953673b commit ea05062
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 120 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.11'

- uses: abatilo/actions-poetry@v2.0.0
with:
Expand Down
158 changes: 43 additions & 115 deletions cryptol-remote-api/python/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cryptol-remote-api/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ include = [
]

[tool.poetry.dependencies]
python = ">=3.7.0,<4"
python = ">=3.8.0,<4"
requests = "^2.25.1"
BitVector = "^3.4.9"
argo-client = "0.0.10"
argo-client = "0.0.11"
typing-extensions = "^4.1.1"

[tool.poetry.dev-dependencies]
mypy = "^0.812"
mypy = "^0.991"

[build-system]
requires = ["poetry>=1.1.4", "setuptools>=40.8.0"]
2 changes: 1 addition & 1 deletion cryptol-remote-api/run_rpc_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ poetry update
poetry install

echo "Typechecking code with mypy..."
run_test poetry run mypy cryptol/ tests/
run_test poetry run mypy --install-types --non-interactive cryptol/ tests/

get_server cryptol-remote-api
echo "Running cryptol-remote-api tests..."
Expand Down

0 comments on commit ea05062

Please sign in to comment.