Skip to content

Commit

Permalink
[1.5.1] restrict pandas to <2.0 (#1074)
Browse files Browse the repository at this point in the history
* [1.5.1] restrict pandas to <2.0

this fixes a bug in the latest NM 1.5 supported transformers datasets that is incompatible with pandas 2.0. Future releases will support later datasets versions

* bump version to 1.5.1
  • Loading branch information
bfineran committed Jun 20, 2023
1 parent bec8728 commit 9d4bc0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def _parse_requirements_file(file_path):
"datasets<=1.18.4",
"scikit-learn",
"seqeval",
"pandas>=0.25.0,<2.0",
]

# haystack dependencies are installed from a requirements file to avoid
Expand Down
2 changes: 1 addition & 1 deletion src/deepsparse/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from deepsparse.generated_version import is_enterprise, is_release, splash, version
except Exception:
# otherwise, fall back to version info in this file
version = "1.5.0"
version = "1.5.1"
is_release = False
is_enterprise = False
splash = (
Expand Down

0 comments on commit 9d4bc0b

Please sign in to comment.