From 76202d5baa427d5698f566a1260a66d8e4f51c8e Mon Sep 17 00:00:00 2001 From: He Sichao <1310722434@qq.com> Date: Fri, 23 Feb 2024 14:31:44 +0800 Subject: [PATCH] Resolve conflicts --- brainpy/_src/dependency_check.py | 2 +- brainpy/_src/dnn/tests/test_linear.py | 5 +++-- brainpy/_src/dnn/tests/test_mode.py | 6 ++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/brainpy/_src/dependency_check.py b/brainpy/_src/dependency_check.py index 183e99d9..2babb502 100644 --- a/brainpy/_src/dependency_check.py +++ b/brainpy/_src/dependency_check.py @@ -17,7 +17,7 @@ 'import_brainpylib_gpu_ops', ] -_minimal_brainpylib_version = '0.1.10' +_minimal_brainpylib_version = '0.2.6' _minimal_taichi_version = (1, 7, 0) taichi = None diff --git a/brainpy/_src/dnn/tests/test_linear.py b/brainpy/_src/dnn/tests/test_linear.py index 41844cc8..422f161f 100644 --- a/brainpy/_src/dnn/tests/test_linear.py +++ b/brainpy/_src/dnn/tests/test_linear.py @@ -1,7 +1,8 @@ import pytest -import brainpy as bp -from absl.testing import parameterized from absl.testing import absltest +from absl.testing import parameterized + +import brainpy as bp import brainpy.math as bm from brainpy._src.dependency_check import import_taichi diff --git a/brainpy/_src/dnn/tests/test_mode.py b/brainpy/_src/dnn/tests/test_mode.py index 0c010757..f0c67da1 100644 --- a/brainpy/_src/dnn/tests/test_mode.py +++ b/brainpy/_src/dnn/tests/test_mode.py @@ -1,10 +1,12 @@ import pytest -import brainpy.math as bm -from absl.testing import parameterized from absl.testing import absltest +from absl.testing import parameterized + import brainpy as bp +import brainpy.math as bm from brainpy._src.dependency_check import import_taichi + if import_taichi(error_if_not_found=False) is None: pytest.skip('no taichi', allow_module_level=True)