-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Numexpr 2.4.6 #15383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numexpr 2.4.6 #15383
Changes from 3 commits
ab79c54
ac62653
6e12e29
e45b742
8bd4ed1
f225598
3b6e58b
93f54aa
7a275ce
7575ba2
c1aae19
0d4ab9a
73f0319
c081199
e1b34a9
c417fe2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
.. _whatsnew_0200: | ||
|
||
v0.20.0 (????, 2016) | ||
v0.20.0 (????, 2017) | ||
-------------------- | ||
|
||
This is a major release from 0.19 and includes a small number of API changes, several new features, | ||
enhancements, and performance improvements along with a large number of bug fixes. We recommend that all | ||
users upgrade to this version. | ||
|
||
.. warning:: | ||
|
||
Due to important fixes and performance improvements, ``numexpr`` version is now required to be >= 2.4.6 and it will not be used at all if this requisite is not fullfilled (:issue:`15213`). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i would just move this to the other api changes section; just say 2.4.6 is now required There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You probably mean "Other enhancements" section (numexpr does not introduce any API change). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's an API change for pandas meaning if u has a version that is no longer supported then things will change - its also something to be aware of when upgrading |
||
|
||
Highlights include: | ||
|
||
- Building pandas for development now requires ``cython >= 0.23`` (:issue:`14831`) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,22 +7,13 @@ | |
try: | ||
import numexpr as ne | ||
ver = ne.__version__ | ||
_NUMEXPR_INSTALLED = ver >= LooseVersion('2.1') | ||
_NUMEXPR_INSTALLED = ver >= LooseVersion('2.4.6') | ||
|
||
# we specifically disallow 2.4.4 as | ||
# has some hard-to-diagnose bugs | ||
if ver == LooseVersion('2.4.4'): | ||
_NUMEXPR_INSTALLED = False | ||
warnings.warn( | ||
"The installed version of numexpr {ver} is not supported " | ||
"in pandas and will be not be used\n".format(ver=ver), | ||
UserWarning) | ||
|
||
elif not _NUMEXPR_INSTALLED: | ||
if not _NUMEXPR_INSTALLED: | ||
warnings.warn( | ||
"The installed version of numexpr {ver} is not supported " | ||
"in pandas and will be not be used\nThe minimum supported " | ||
"version is 2.1\n".format(ver=ver), UserWarning) | ||
"version is 2.4.6\n".format(ver=ver), UserWarning) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there is a test for this i think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep. Addressed in f225598. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and fixed a typo in 7a275ce |
||
|
||
except ImportError: # pragma: no cover | ||
pass | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need the recommended part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, IMO the improvements in https://github.com/pydata/numexpr/blob/master/RELEASE_NOTES.rst#changes-from-261-to-262 are worth a recommendation, but I can remove it if you insist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it may be but back compat is more important