diff --git a/.github/workflows/core-test.yml b/.github/workflows/core-test.yml index 1e214a20f..922ba21f3 100644 --- a/.github/workflows/core-test.yml +++ b/.github/workflows/core-test.yml @@ -7,7 +7,7 @@ on: paths: - 'neo/core/**' - 'pyproject.toml' - - '.github/workflows/*.yml' + - '.github/workflows/**' # run checks on any change of master, including merge of PRs push: @@ -25,26 +25,14 @@ jobs: fail-fast: true matrix: os: ["ubuntu-latest", "windows-latest", "macos-latest"] - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] - numpy-version: ['1.25.2', '1.26.4', '2.0.2','2.1.3', '2.2.6', '2.3.3', '2.4.4'] - # 1.25: 3.11, 1.26: 3.12 + python-version: ['3.11', '3.12', '3.13', '3.14'] + numpy-version: ['2.0.2','2.1.3', '2.2.6', '2.3.3', '2.4.4', '2.5.4'] + # 2.5: 3.12 exclude: - - python-version: '3.10' - numpy-version: '2.3.3' - - python-version: '3.10' - numpy-version: '2.4.4' - - python-version: '3.12' - numpy-version: '1.25.2' - - python-version: '3.13' - numpy-version: '1.25.2' - - python-version: '3.13' - numpy-version: '1.26.4' + - python-version: '3.11' + numpy-vesion: '2.5.4' - python-version: '3.13' numpy-version: '2.0.2' - - python-version: '3.14' - numpy-version: '1.25.2' - - python-version: '3.14' - numpy-version: '1.26.4' - python-version: '3.14' numpy-version: '2.0.2' - python-version: '3.14' @@ -54,12 +42,12 @@ jobs: steps: - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install numpy ${{ matrix.numpy-version }} run: | diff --git a/.github/workflows/io-test.yml b/.github/workflows/io-test.yml index 68a741680..7c8aed923 100644 --- a/.github/workflows/io-test.yml +++ b/.github/workflows/io-test.yml @@ -18,13 +18,13 @@ jobs: strategy: fail-fast: true matrix: - python-version: ['3.10', '3.14'] - numpy-version: ['1.26', '2.3.3'] + python-version: ['3.11', '3.14'] + numpy-version: ['2.0.2', '2.3.3', '2.5.4'] exclude: - - python-version: '3.10' - numpy-version: '2.3.3' + - python-version: '3.11' + numpy-version: '2.5.4' - python-version: '3.14' - numpy-version: '1.26' + numpy-version: '2.0.2' defaults: # by default run in bash mode (required for conda usage) run: @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Get current year-month id: date diff --git a/.github/workflows/publish-to-pypi-test.yml b/.github/workflows/publish-to-pypi-test.yml index 6a7124641..41bd619a4 100644 --- a/.github/workflows/publish-to-pypi-test.yml +++ b/.github/workflows/publish-to-pypi-test.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.10 - uses: actions/setup-python@v4 + - uses: actions/checkout@v7 + - name: Set up Python 3.14 + uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.14" - name: Install Tools run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index f898f2e49..8599f5294 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.10 - uses: actions/setup-python@v4 + - uses: actions/checkout@v7 + - name: Set up Python 3.14 + uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.14" - name: Install Tools run: | python -m pip install --upgrade pip diff --git a/pyproject.toml b/pyproject.toml index 4334dd179..539df2a6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "neo" -version = "0.14.6" +version = "0.15.0dev" authors = [{name = "Neo authors and contributors"}] description = "Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats" readme = "README.rst" -requires-python = ">=3.10" +requires-python = ">=3.11" license = "BSD-3-Clause" classifiers = [ "Development Status :: 4 - Beta", @@ -13,7 +13,6 @@ classifiers = [ "Intended Audience :: Science/Research", "Natural Language :: English", "Topic :: Scientific/Engineering", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", @@ -23,7 +22,7 @@ classifiers = [ dependencies = [ "packaging", - "numpy>=1.25.2", + "numpy>=2.0", "quantities>=0.16.4" ]