From 73be2518b3fad2a4826673bbe20770a18b137244 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Sun, 14 Jun 2026 21:06:15 +0300 Subject: [PATCH] chore: restrict optype to <0.18 --- .github/workflows/ci.yml | 2 +- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25254cb1..292754a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: curl -L -O https://tiker.net/ci-support-v0 . ./ci-support-v0 build_py_project_in_conda_env - cipip install pytest modepy optype + cipip install pytest modepy 'optype<0.18' cipip install basedpyright basedpyright diff --git a/pyproject.toml b/pyproject.toml index 5610745a..5906b6c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,9 @@ doc = [ test = [ "basedpyright", "pytest", - "ruff" + "ruff", + # NOTE: 0.18 requires Python 3.12 + "optype<0.18", ] [project.urls]