Skip to content

Commit

Permalink
Updated requirements for near numba release
Browse files Browse the repository at this point in the history
  • Loading branch information
david-zwicker committed Feb 2, 2024
1 parent 659a124 commit e4c7c4d
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion docs/source/_static/requirements_main.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package,Minimal version,Usage
matplotlib,3.1,Visualizing results
numba,0.56,Just-in-time compilation to accelerate numerics
numba,0.59,Just-in-time compilation to accelerate numerics
numpy,1.22,Handling numerical data
scipy,1.10,Miscellaneous scientific functions
sympy,1.9,Dealing with user-defined mathematical expressions
Expand Down
10 changes: 5 additions & 5 deletions pde/tools/resources/requirements_basic.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# These are the basic requirements for the package
matplotlib>=3.1.0
numba>=0.56.0
numpy>=1.22.0
scipy>=1.10.0
sympy>=1.9.0
matplotlib>=3.1
numba>=0.59
numpy>=1.22
scipy>=1.10
sympy>=1.9
tqdm>=4.60
10 changes: 5 additions & 5 deletions pde/tools/resources/requirements_full.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# These are the full requirements used to test all functions
h5py>=2.10
matplotlib>=3.1.0
numba>=0.56.0
numpy>=1.22.0
matplotlib>=3.1
numba>=0.59
numpy>=1.22
pandas>=1.2
pyfftw>=0.12
rocket-fft>=0.2
scipy>=1.10.0
sympy>=1.9.0
scipy>=1.10
sympy>=1.9
tqdm>=4.60
10 changes: 5 additions & 5 deletions pde/tools/resources/requirements_mpi.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# These are requirements for supporting multiprocessing
h5py>=2.10
matplotlib>=3.1.0
matplotlib>=3.1
mpi4py>=3
numba>=0.56.0
numba>=0.59
numba-mpi>=0.22
numpy>=1.22.0
numpy>=1.22
pandas>=1.2
scipy>=1.10.0
sympy>=1.9.0
scipy>=1.10
sympy>=1.9
tqdm>=4.60
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [
]

# Requirements for setuptools
dependencies = ["matplotlib>=3.1.0", "numba>=0.56.0", "numpy>=1.22.0", "scipy>=1.10.0", "sympy>=1.9.0", "tqdm>=4.60"]
dependencies = ["matplotlib>=3.1", "numba>=0.59", "numpy>=1.22", "scipy>=1.10", "sympy>=1.9", "tqdm>=4.60"]

[project.optional-dependencies]
hdf = ["h5py>=2.10"]
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
matplotlib>=3.1.0
numba>=0.56.0
numpy>=1.22.0
scipy>=1.10.0
sympy>=1.9.0
matplotlib>=3.1
numba>=0.59
numpy>=1.22
scipy>=1.10
sympy>=1.9
tqdm>=4.60
10 changes: 5 additions & 5 deletions scripts/create_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,31 +59,31 @@ def line(self, relation: str = ">=") -> str:
# essential requirements
Requirement(
name="matplotlib",
version_min="3.1.0",
version_min="3.1",
usage="Visualizing results",
essential=True,
),
Requirement(
name="numba",
version_min="0.56.0",
version_min="0.59",
usage="Just-in-time compilation to accelerate numerics",
essential=True,
),
Requirement(
name="numpy",
version_min="1.22.0",
version_min="1.22",
usage="Handling numerical data",
essential=True,
),
Requirement(
name="scipy",
version_min="1.10.0",
version_min="1.10",
usage="Miscellaneous scientific functions",
essential=True,
),
Requirement(
name="sympy",
version_min="1.9.0",
version_min="1.9",
usage="Dealing with user-defined mathematical expressions",
essential=True,
),
Expand Down
10 changes: 5 additions & 5 deletions tests/requirements_full.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# These are the full requirements used to test all functions
h5py>=2.10
matplotlib>=3.1.0
numba>=0.56.0
numpy>=1.22.0
matplotlib>=3.1
numba>=0.59
numpy>=1.22
pandas>=1.2
pyfftw>=0.12
rocket-fft>=0.2
scipy>=1.10.0
sympy>=1.9.0
scipy>=1.10
sympy>=1.9
tqdm>=4.60
10 changes: 5 additions & 5 deletions tests/requirements_min.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# These are the minimal requirements used to test compatibility
matplotlib~=3.1.0
numba~=0.56.0
numpy~=1.22.0
scipy~=1.10.0
sympy~=1.9.0
matplotlib~=3.1
numba~=0.59
numpy~=1.22
scipy~=1.10
sympy~=1.9
tqdm~=4.60
10 changes: 5 additions & 5 deletions tests/requirements_mpi.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# These are requirements used to test multiprocessing
h5py>=2.10
matplotlib>=3.1.0
matplotlib>=3.1
mpi4py>=3
numba>=0.56.0
numba>=0.59
numba-mpi>=0.22
numpy>=1.22.0
numpy>=1.22
pandas>=1.2
scipy>=1.10.0
sympy>=1.9.0
scipy>=1.10
sympy>=1.9
tqdm>=4.60

0 comments on commit e4c7c4d

Please sign in to comment.