Skip to content

Commit 672c90e

Browse files
authored
Fix Numpy Version (#24)
Fixes #21 and #23
1 parent aec80ef commit 672c90e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

docs/releases.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v0.3.3
2+
- Update numpy to "numpy>=1.20.0" to prevent [this](https://github.com/MaartenGr/PolyFuzz/issues/23) and this [issue](https://github.com/MaartenGr/PolyFuzz/issues/21)
3+
- Update pytorch to "torch>=1.4.0,<1.7.1" to prevent save_state_warning error
4+
15
v0.3.2
26
- Fix exploding memory usage when using `top_n`
37

polyfuzz/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
from .polyfuzz import PolyFuzz
2-
__version__ = "0.3.2"
2+
__version__ = "0.3.3"

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414

1515
base_packages = [
16-
"numpy>= 1.18.5,<=1.19.4",
16+
"numpy>=1.20.0",
1717
"scipy>= 1.3.1",
1818
"pandas>= 0.25.3",
1919
"tqdm>=4.41.1",
@@ -25,7 +25,7 @@
2525
]
2626

2727
fast_cosine = ["sparse_dot_topn>=0.2.9"]
28-
embeddings_packages = ["torch>=1.2.0", "flair>= 0.7"]
28+
embeddings_packages = ["torch>=1.4.0,<1.7.1", "flair>= 0.7"]
2929

3030
extra_packages = embeddings_packages + fast_cosine
3131

@@ -37,7 +37,7 @@
3737
setup(
3838
name="polyfuzz",
3939
packages=find_packages(exclude=["notebooks", "docs"]),
40-
version="0.3.2",
40+
version="0.3.3",
4141
author="Maarten Grootendorst",
4242
author_email="maartengrootendorst@gmail.com",
4343
description="PolyFuzz performs fuzzy string matching, grouping, and evaluation.",

0 commit comments

Comments
 (0)