Skip to content

Commit

Permalink
Fix issues with sparse versions (#318)
Browse files Browse the repository at this point in the history
This should fix tracebacks in the doc notebooks.
  • Loading branch information
eric-wieser committed May 28, 2020
1 parent b385669 commit 9c26f72
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ If you are not using Anaconda, you can install ``clifford`` from PyPI using the

pip3 install clifford

.. note ::
The 1.3 release and older are not compatible with :mod:`numba` 0.50.0, and emit a
large number of warnings on 0.49.0. To avoid these warnings, install with::
pip3 install clifford "numba~=0.48.0" "sparse~=0.9.0"
If you want the development version of ``clifford`` you can ``pip install`` from the latest master with::

pip3 install git+https://github.com/pygae/clifford.git@master
Expand Down
7 changes: 6 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ nbsphinx
ipywidgets
sphinx>=2.4
sphinx_rtd_theme
numba==0.48.0

# while we support 0.49, it emits tonnes of warnings so we pin this back
numba ~= 0.48.0

# needed due to pypa/pip#988, sparse 0.10.0 requires numba 0.49.0
sparse ~= 0.9.0

-r ../requirements.txt

0 comments on commit 9c26f72

Please sign in to comment.