From 626fa2b7f8b36b24b4b0337ee61fa30c1995f529 Mon Sep 17 00:00:00 2001 From: Johannes Friedrich Date: Mon, 6 Jan 2025 14:29:02 -0800 Subject: [PATCH 1/2] add CI tests for py3.13 --- .github/workflows/tests.yml | 4 ++-- README.md | 2 +- test_requirements.txt | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 18c86a8..ad9d7f9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 nose2 numpy scipy matplotlib cython cvxpy setuptools + pip install ecos flake8 nose2 numpy scipy matplotlib cython cvxpy setuptools - name: Compile run: python setup.py build_ext -i - name: Lint with flake8 diff --git a/README.md b/README.md index 3f26f43..4d47f3e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The code can be readily run on neural temporal fluorescence calcium imaging data

## Requirements -The scripts were tested on Linux and MacOS (some users successfully used Windows too) with a typical numerical/scientific Python 2.7 or 3.5-3.12 installation that included the following +The scripts were tested on Linux and MacOS (some users successfully used Windows too) with a typical numerical/scientific Python 2.7 or 3.5-3.13 installation that included the following - python >= 2.7.11 - matplotlib >= 1.5.1 diff --git a/test_requirements.txt b/test_requirements.txt index cafd3e0..e420e12 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1 +1,3 @@ +cvxpy +ecos nose2 From 0793fddee8c3c847c8d01b58526cde0f04e8ef46 Mon Sep 17 00:00:00 2001 From: Johannes Friedrich Date: Mon, 6 Jan 2025 14:37:08 -0800 Subject: [PATCH 2/2] use ubuntu-22.04 instead of ubuntu-latest to support py3.7 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ad9d7f9..7d26111 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ on: jobs: build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # ubuntu-latest does not support 3.7 anymore strategy: matrix: python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]