Skip to content

Commit

Permalink
Remove dependency on repoze.lru (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandrenkov authored Nov 1, 2021
1 parent be0339e commit bf6679e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### New features

### Improvements
* Python installation no longer requires [`repoze.lru`](https://pypi.org/project/repoze.lru/). [#293](https://github.com/XanaduAI/thewalrus/pull/293)

### Bug fixes

Expand All @@ -12,6 +13,8 @@

This release contains contributions from (in alphabetical order):

Mikhail Andrenkov

---

# Version 0.16.2
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ cython>=0.20
numba>=0.49.1
numpy>=1.9
sympy>=1.5.1
repoze.lru>=0.7
scipy>=1.2.1
breathe==4.29.0
Jinja2==2.11.3
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ numba>=0.48.0
pytest>=5.4.1
flaky>=3.7.0
sympy>=1.5.1
repoze.lru>=0.7
cython
dask[delayed]
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def get_version():
"numba>=0.49.1,<0.54",
"scipy>=1.2.1",
"sympy>=1.5.1",
"repoze.lru>=0.7",
],
"setup_requires": ["cython", "numpy"],
"ext_modules": build_extensions(),
Expand Down
2 changes: 1 addition & 1 deletion thewalrus/_low_rank_haf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
Algorithms for hafnians of low-rank matrices.
"""

from functools import lru_cache
from itertools import product
import numpy as np
from sympy import symbols, expand
from scipy.special import factorial2
from repoze.lru import lru_cache


@lru_cache(maxsize=1000000)
Expand Down

0 comments on commit bf6679e

Please sign in to comment.