Skip to content

Commit

Permalink
Remove Numba as a dependency (#2841)
Browse files Browse the repository at this point in the history
* Remove Numba as a dependency

* Continue removing Numba

* Remove global substitution for |Numba|

* Continue removing Numba

* Remove check against py_func

* Edit changelog: 2841.internal.rst

* nox -s requirements
  • Loading branch information
namurphy authored Sep 9, 2024
1 parent 1385eb4 commit 02ac744
Show file tree
Hide file tree
Showing 31 changed files with 270 additions and 384 deletions.
1 change: 1 addition & 0 deletions changelog/2841.internal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed Numba as a project dependency. Consequently, `~plasmapy.formulary.frequencies.plasma_frequency_lite` and `~plasmapy.formulary.speeds.thermal_speed_lite` are no longer just-in-time compiled by Numba.
37 changes: 16 additions & 21 deletions ci_requirements/all-3.12-linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ arrow==1.3.0
# via isoduration
asteval==1.0.2
# via lmfit
astropy==6.1.2
astropy==6.1.3
# via plasmapy (pyproject.toml)
astropy-iers-data==0.2024.8.27.10.28.29
astropy-iers-data==0.2024.9.2.0.33.23
# via astropy
asttokens==2.4.1
# via stack-data
Expand All @@ -35,9 +35,9 @@ beautifulsoup4==4.12.3
# sphinx-codeautolink
bleach==6.1.0
# via nbconvert
certifi==2024.7.4
certifi==2024.8.30
# via requests
cffi==1.17.0
cffi==1.17.1
# via argon2-cffi-bindings
cfgv==3.4.0
# via pre-commit
Expand Down Expand Up @@ -78,19 +78,19 @@ docutils==0.20.1
# sphinxcontrib-bibtex
execnet==2.1.1
# via pytest-xdist
executing==2.0.1
executing==2.1.0
# via stack-data
fastjsonschema==2.20.0
# via nbformat
filelock==3.15.4
filelock==3.16.0
# via virtualenv
fonttools==4.53.1
# via matplotlib
fqdn==1.5.1
# via jsonschema
h5py==3.11.0
# via plasmapy (pyproject.toml)
hypothesis==6.111.2
hypothesis==6.112.0
# via plasmapy (pyproject.toml)
identify==2.6.0
# via pre-commit
Expand All @@ -105,7 +105,7 @@ iniconfig==2.0.0
# via pytest
ipykernel==6.29.5
# via plasmapy (pyproject.toml)
ipython==8.26.0
ipython==8.27.0
# via
# ipykernel
# ipywidgets
Expand Down Expand Up @@ -164,12 +164,10 @@ jupyterlab-server==2.27.3
# via voila
jupyterlab-widgets==3.0.13
# via ipywidgets
kiwisolver==1.4.5
kiwisolver==1.4.7
# via matplotlib
latexcodec==3.0.0
# via pybtex
llvmlite==0.43.0
# via numba
lmfit==1.3.2
# via plasmapy (pyproject.toml)
markupsafe==2.1.5
Expand Down Expand Up @@ -213,17 +211,14 @@ nodeenv==1.9.1
# via pre-commit
nox==2024.4.15
# via plasmapy (pyproject.toml)
numba==0.60.0
# via plasmapy (pyproject.toml)
numpy==2.0.2
numpy==2.1.1
# via
# plasmapy (pyproject.toml)
# astropy
# contourpy
# h5py
# lmfit
# matplotlib
# numba
# pandas
# pyerfa
# scipy
Expand Down Expand Up @@ -262,7 +257,7 @@ pillow==10.4.0
# plasmapy (pyproject.toml)
# matplotlib
# sphinx-gallery
platformdirs==4.2.2
platformdirs==4.3.2
# via
# jupyter-core
# virtualenv
Expand Down Expand Up @@ -372,7 +367,7 @@ scipy==1.14.1
# lmfit
send2trash==1.8.3
# via jupyter-server
setuptools==74.0.0
setuptools==74.1.2
# via plasmapy (pyproject.toml)
six==1.16.0
# via
Expand Down Expand Up @@ -419,7 +414,7 @@ sphinx-copybutton==0.5.2
# via plasmapy (pyproject.toml)
sphinx-gallery==0.17.1
# via plasmapy (pyproject.toml)
sphinx-hoverxref==1.4.0
sphinx-hoverxref==1.4.1
# via plasmapy (pyproject.toml)
sphinx-issues==4.1.0
# via plasmapy (pyproject.toml)
Expand Down Expand Up @@ -493,7 +488,7 @@ traitlets==5.14.3
# nbformat
# nbsphinx
# voila
types-python-dateutil==2.9.0.20240821
types-python-dateutil==2.9.0.20240906
# via arrow
typing-extensions==4.12.2
# via mypy
Expand All @@ -507,7 +502,7 @@ uri-template==1.3.0
# via jsonschema
urllib3==2.2.2
# via requests
virtualenv==20.26.3
virtualenv==20.26.4
# via
# nox
# pre-commit
Expand All @@ -523,7 +518,7 @@ webencodings==0.5.1
# tinycss2
websocket-client==1.8.0
# via jupyter-server
websockets==13.0
websockets==13.0.1
# via voila
widgetsnbextension==4.0.13
# via ipywidgets
Expand Down
37 changes: 16 additions & 21 deletions ci_requirements/all-3.12-macos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ arrow==1.3.0
# via isoduration
asteval==1.0.2
# via lmfit
astropy==6.1.2
astropy==6.1.3
# via plasmapy (pyproject.toml)
astropy-iers-data==0.2024.8.27.10.28.29
astropy-iers-data==0.2024.9.2.0.33.23
# via astropy
asttokens==2.4.1
# via stack-data
Expand All @@ -37,9 +37,9 @@ beautifulsoup4==4.12.3
# sphinx-codeautolink
bleach==6.1.0
# via nbconvert
certifi==2024.7.4
certifi==2024.8.30
# via requests
cffi==1.17.0
cffi==1.17.1
# via argon2-cffi-bindings
cfgv==3.4.0
# via pre-commit
Expand Down Expand Up @@ -80,19 +80,19 @@ docutils==0.20.1
# sphinxcontrib-bibtex
execnet==2.1.1
# via pytest-xdist
executing==2.0.1
executing==2.1.0
# via stack-data
fastjsonschema==2.20.0
# via nbformat
filelock==3.15.4
filelock==3.16.0
# via virtualenv
fonttools==4.53.1
# via matplotlib
fqdn==1.5.1
# via jsonschema
h5py==3.11.0
# via plasmapy (pyproject.toml)
hypothesis==6.111.2
hypothesis==6.112.0
# via plasmapy (pyproject.toml)
identify==2.6.0
# via pre-commit
Expand All @@ -107,7 +107,7 @@ iniconfig==2.0.0
# via pytest
ipykernel==6.29.5
# via plasmapy (pyproject.toml)
ipython==8.26.0
ipython==8.27.0
# via
# ipykernel
# ipywidgets
Expand Down Expand Up @@ -166,12 +166,10 @@ jupyterlab-server==2.27.3
# via voila
jupyterlab-widgets==3.0.13
# via ipywidgets
kiwisolver==1.4.5
kiwisolver==1.4.7
# via matplotlib
latexcodec==3.0.0
# via pybtex
llvmlite==0.43.0
# via numba
lmfit==1.3.2
# via plasmapy (pyproject.toml)
markupsafe==2.1.5
Expand Down Expand Up @@ -215,17 +213,14 @@ nodeenv==1.9.1
# via pre-commit
nox==2024.4.15
# via plasmapy (pyproject.toml)
numba==0.60.0
# via plasmapy (pyproject.toml)
numpy==2.0.2
numpy==2.1.1
# via
# plasmapy (pyproject.toml)
# astropy
# contourpy
# h5py
# lmfit
# matplotlib
# numba
# pandas
# pyerfa
# scipy
Expand Down Expand Up @@ -264,7 +259,7 @@ pillow==10.4.0
# plasmapy (pyproject.toml)
# matplotlib
# sphinx-gallery
platformdirs==4.2.2
platformdirs==4.3.2
# via
# jupyter-core
# virtualenv
Expand Down Expand Up @@ -374,7 +369,7 @@ scipy==1.14.1
# lmfit
send2trash==1.8.3
# via jupyter-server
setuptools==74.0.0
setuptools==74.1.2
# via plasmapy (pyproject.toml)
six==1.16.0
# via
Expand Down Expand Up @@ -421,7 +416,7 @@ sphinx-copybutton==0.5.2
# via plasmapy (pyproject.toml)
sphinx-gallery==0.17.1
# via plasmapy (pyproject.toml)
sphinx-hoverxref==1.4.0
sphinx-hoverxref==1.4.1
# via plasmapy (pyproject.toml)
sphinx-issues==4.1.0
# via plasmapy (pyproject.toml)
Expand Down Expand Up @@ -495,7 +490,7 @@ traitlets==5.14.3
# nbformat
# nbsphinx
# voila
types-python-dateutil==2.9.0.20240821
types-python-dateutil==2.9.0.20240906
# via arrow
typing-extensions==4.12.2
# via mypy
Expand All @@ -509,7 +504,7 @@ uri-template==1.3.0
# via jsonschema
urllib3==2.2.2
# via requests
virtualenv==20.26.3
virtualenv==20.26.4
# via
# nox
# pre-commit
Expand All @@ -525,7 +520,7 @@ webencodings==0.5.1
# tinycss2
websocket-client==1.8.0
# via jupyter-server
websockets==13.0
websockets==13.0.1
# via voila
widgetsnbextension==4.0.13
# via ipywidgets
Expand Down
Loading

0 comments on commit 02ac744

Please sign in to comment.