8000 Don't check for numpy version if no numpy · seperman/deepdiff@410019e · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 410019e

Browse files
committed
Don't check for numpy version if no numpy
1 parent cfa0fba commit 410019e

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# DeepDiff Change log
22

3+
- v6-4-1
4+
- Bugfix: Keep Numpy Optional
35
- v6-4-0
46
- [Add Ignore List Order Option to DeepHash](https://github.com/seperman/deepdiff/pull/403) by
57
[Bobby Morck](https://github.com/bmorck)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Tested on Python 3.7+ and PyPy3.
2323

2424
Please check the [ChangeLog](CHANGELOG.md) file for the detailed information.
2525

26-
DeepDiff 6-4-0
26+
DeepDiff 6-4-1
2727

2828
- [Add Ignore List Order Option to DeepHash](https://github.com/seperman/deepdiff/pull/403) by
2929
[Bobby Morck](https://github.com/bmorck)

deepdiff/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def get_semvar_as_integer(version):
155155
pypy3 = py3 and hasattr(sys, "pypy_translation_info")
156156

157157

158-
if get_semvar_as_integer(np.__version__) < 1019000:
158+
if np and get_semvar_as_integer(np.__version__) < 1019000:
159159
sys.exit('The minimum required Numpy version is 1.19.0. Please upgrade your Numpy package.')
160160

161161
strings = (str, bytes) # which are both basestring

docs/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Changelog
55

66
DeepDiff Changelog
77

8+
- v6-4-1
9+
10+
- Bugfix: Keep Numpy Optional
11+
812
- v6-4-0
913

1014
- `Add Ignore List Order Option to

requirements-dev.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
-r requirements.txt
22
-r requirements-cli.txt
33
bump2version==1.0.1
4-
jsonpickle==3.0.0
4+
jsonpickle==3.0.2
55
coverage==6.5.0
6-
ipdb==0.13.9
7-
numpy==1.23.5
8-
pytest==7.2.0
9-
pytest-cov==4.0.0
6+
ipdb==0.13.13
7+
numpy==1.25.2
8+
pytest==7.4.0
9+
pytest-cov==4.1.0
1010
python-dotenv==0.21.0
1111
watchdog==2.2.0
1212
Sphinx==5.3.0

0 commit comments

Comments
 (0)
0