Skip to content

Commit 9f4529c

Browse files
committed
build: require Python>=3.12 and jax>=0.9.0; add Python 3.15 classifier
1 parent 77eadd7 commit 9f4529c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎pyproject.toml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "brainpy"
77
description = "BrainPy: Brain Dynamics Programming in Python"
88
readme = "README.md"
9-
requires-python = ">=3.11"
9+
requires-python = ">=3.12"
1010
authors = [
1111
{ name = "BrainPy Team", email = "chao.brain@qq.com" }
1212
]
@@ -15,10 +15,10 @@ classifiers = [
1515
"Operating System :: OS Independent",
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
2019
"Programming Language :: Python :: 3.13",
2120
"Programming Language :: Python :: 3.14",
21+
"Programming Language :: Python :: 3.15",
2222
"Intended Audience :: Science/Research",
2323
"License :: OSI Approved :: Apache Software License",
2424
"Topic :: Scientific/Engineering :: Bio-Informatics",
@@ -35,7 +35,7 @@ keywords = [
3535
]
3636
dependencies = [
3737
"numpy>=1.15",
38-
"jax",
38+
"jax>=0.9.0",
3939
"tqdm",
4040
"brainstate>=0.5.1",
4141
"brainunit>=0.2.0",
@@ -53,10 +53,10 @@ dynamic = ['version']
5353
"Source Code" = "https://github.com/brainpy/BrainPy"
5454

5555
[project.optional-dependencies]
56-
cpu = ["jax[cpu]", 'brainevent[cpu]']
57-
cuda12 = ["jax[cuda12]", 'brainevent[cuda12]']
58-
cuda13 = ["jax[cuda13]", 'brainevent[cuda13]']
59-
tpu = ["jax[tpu]", 'brainevent[tpu]']
56+
cpu = ["jax[cpu]>=0.9.0", 'brainevent[cpu]']
57+
cuda12 = ["jax[cuda12]>=0.9.0", 'brainevent[cuda12]']
58+
cuda13 = ["jax[cuda13]>=0.9.0", 'brainevent[cuda13]']
59+
tpu = ["jax[tpu]>=0.9.0", 'brainevent[tpu]']
6060

6161
[tool.setuptools]
6262
package-dir = { "" = "." }

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ brainevent>=0.0.7
44
braintools>=0.3.0
55
brainstate>=0.5.1
66
brainpy_state>=0.0.3
7-
jax
7+
jax>=0.9.0
88
tqdm

0 commit comments

Comments
 (0)