From 4226614f4d34ab0785fd5c0351d816d37737f369 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Mon, 15 Dec 2025 23:05:48 +0200 Subject: [PATCH 1/2] Revert "chore: set optype<0.15 to avoid pulling in numpy 2.4 for now" This reverts commit cb0be79b28c4a1082d6bbbbee7b1850dce51c246. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55e1c6c..a49d32b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: . ./ci-support-v0 build_py_project_in_venv pip install -e .[test] - python -m pip install numpy pexpect sympy scipy scipy-stubs 'optype<0.15' + python -m pip install numpy pexpect sympy scipy scipy-stubs optype python -m pip install basedpyright basedpyright From c3100d018a2ec96cb0e43e2d2689d1f031cb2fb3 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Mon, 15 Dec 2025 23:07:14 +0200 Subject: [PATCH 2/2] chore: update baseline --- .basedpyright/baseline.json | 80 +++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 79c013d..d6df879 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -1867,6 +1867,22 @@ "lineCount": 1 } }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 37, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 45, + "endColumn": 52, + "lineCount": 1 + } + }, { "code": "reportAny", "range": { @@ -2354,6 +2370,62 @@ "endColumn": 46, "lineCount": 1 } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 57, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 57, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 50, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 49, + "endColumn": 53, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 35, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryComparison", + "range": { + "startColumn": 11, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnreachable", + "range": { + "startColumn": 12, + "endColumn": 64, + "lineCount": 1 + } } ], "./pymbolic/geometric_algebra/mapper.py": [ @@ -11145,6 +11217,14 @@ "lineCount": 1 } }, + { + "code": "reportUnhashable", + "range": { + "startColumn": 35, + "endColumn": 39, + "lineCount": 1 + } + }, { "code": "reportUnknownParameterType", "range": {