-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
COMPAT: Ignore numexpr <= v2 (at least for now) #5855
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
Comments
Also should raise warning when using query/eval that require numexpr. #5969. |
Hm .. |
that's the second thing that happens when you call |
@cpcloud let's create a sep issue for query/eval (and do a PR for 0.13.1) |
you mean for #5969? |
yep...I think #5969 got closed , but the non-installed numexpr was causing it (or can just reopen that one), and see if you can repro |
ok repopening ... |
Just as a note to self: Somehow, without |
i can do this weekend |
Yes, just need to figure out why this one test fails. |
trying to repro now ... |
@jreback So for frame/series ops check ne version and ignore it and for eval raise? |
@jtratner Do you want me to take this? |
I think just have to make so yes I would raise if you try to eval, but just falls back like for evaluate) |
i don't think it should fall back for |
oh i c ... that's wat u said .. .misread it |
@cpcloud I wouldn't even attempt to use the Python eval...just raise the ImportError (for In fact you can just import |
I can't repro @twiecki's issue ... tried with all past versions of numexpr ... |
that said, the |
ok...let's just add an install of say numexpr 1.4 on say the 2.6 build...and just have the tests check that eval/query raise....no biggie yeh < 2.0 should be effectively not installed if yu want to get fancy you can raise a different message and say your numexpr is too old...(and of course if the import fails entirely say you need it) |
also i have gotten similar weirdness with modules importing but not having certain attributes before. some issue with importing |
yep....sort of like import but require this version, otherwise raise...I think you have to do it sort of manually |
ok...you are doing a new PR for this I assume? going to close @jtratner one....(as I think he tried to refactor a lot) |
le checklist:
|
heh, I just got this to work I think. |
#6109 looks fine..and ready to go...don't worry about it... |
Earlier versions of numexpr don't work with pandas because of API changes. For now we should not use numexpr if version too low and then revisit whether we can easily support it later.
The text was updated successfully, but these errors were encountered: