From 06f5000581839db8c9b13718414af8290ba14787 Mon Sep 17 00:00:00 2001 From: "@darshanmandge" Date: Thu, 19 Mar 2026 23:00:22 +0100 Subject: [PATCH] =?UTF-8?q?Add=20Python=203.14=20support=20-=20Add=20Pytho?= =?UTF-8?q?n=203.14=20to=20pyproject.toml=20-=20Bump=20numpy=20upper=20bou?= =?UTF-8?q?nd=20from=20<2.4=20to=20<2.5=20for=203.14=20wheel=20availabilit?= =?UTF-8?q?y=20-=20Add=20Python=203.14=20to=20CI=20in=20GitHub=20Actions?= =?UTF-8?q?=20-=20Remove=20upper=20bounds=20on=20pytest=20and=20coverage?= =?UTF-8?q?=20in=20tox.ini=20to=20allow=20versions=20that=20support=20Pyth?= =?UTF-8?q?on=203.14=20(pytest=208.x,=20coverage=207.6+)=20No=20source=20c?= =?UTF-8?q?ode=20changes=20needed=20=E2=80=94=20the=20codebase=20is=20alre?= =?UTF-8?q?ady=20compatible=20with=20Python=203.14=20(no=20removed=20APIs?= =?UTF-8?q?=20used,=20PEP=20649=20deferred=20annotations=20compatible=20wi?= =?UTF-8?q?th=20existing=20'from=20=5F=5Ffuture=5F=5F=20import=20annotatio?= =?UTF-8?q?ns'=20usage).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- pyproject.toml | 3 ++- tox.ini | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 282b4dab..9003b4a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 65b545e0..6abf7f04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,7 @@ classifiers = [ "Operating System :: POSIX", "Topic :: Scientific/Engineering", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.14", "Topic :: Utilities", ] keywords = [ @@ -29,7 +30,7 @@ keywords = [ ] dependencies = [ "NEURON>=8.0.2", - "numpy>=2.0.0,<2.4", + "numpy>=2.0.0,<2.5", "matplotlib>=3.0.0,<4.0.0", "pandas>=1.0.0,<3.0.0", "bluepysnap>=3.0.0,<4.0.0", diff --git a/tox.ini b/tox.ini index 27621d68..02a1a67a 100644 --- a/tox.ini +++ b/tox.ini @@ -11,8 +11,8 @@ envdir = py3: {toxworkdir}/py3 package = wheel deps = - pytest>=7.3.1,<8.0.0 - coverage>=7.5,<7.6 + pytest>=7.3.1 + coverage>=7.5 pytest-cov>=4.1.0 pytest-timeout>=2.1.0 pytest-xdist>=3.3.1 # multiprocessing