Repository navigation
Conversation
For compatibility with Neo 0.7.0
|
Hello @jpgill86! Thanks for updating the PR.
Comment last updated on December 02, 2018 at 19:34 Hours UTC |
|
Unless a more clever approach is taken in which the method called is determined dynamically depending on which version of Neo is installed, |
|
Actually, I think there will be many more changes needed if elephant is going to support Neo 0.7.0 fully, which changed a lot more than the name of this one method. |
|
Cool, thanks for the quick response to this breaking issue. I can confirm your fix passes the corresponding tests on my machine with the upcoming Neo 0.7 code. As you expect, there are a few other issues that arise, in particular an issue in the instantaneous rate, spike train correlation, as well as in the |
|
The |
|
To handle the breaking change described here (Neo's Since Neo 0.7.0 is live on PyPI, I'm going to, for now, try the simpler thing in this PR and just bump the Neo requirement to 0.7.0, and then we can see how the Travis tests fare. |
|
Yes, the version number must be fixed. I think this is reasonable, since Neo and Elephant are coupled so strongly, that "hot fixes" will not be a good idea at this stage. However, we considered to make matching releases of the next major versions, i.e., fixing Elephant to use such that the future Neo releases up to Neo 1.0.0 (which are likely to have considerable enhancements) will not break Elephant. |
|
Alright, that sounds reasonable. I'm going to remove the change to |
736f567 to
ee5a28d
Compare
|
Ok, yes, that makes sense. Will merge this fix as is. |
|
Neo 0.7.1 was released today and added This means that the latest release of elephant (0.6.0) works again with the latest Neo (0.7.1) with respect to this particular function (though other compatibility issues still exist, see #192). The alias is deprecated and may be removed in a future release of Neo, so the changes proposed in this PR should still be merged into elephant to ensure future compatibility. Doing so will break backwards compatibility with Neo < 0.7.0, but, as I understand it, that's acceptable since the plan is for elephant and Neo to have matched releases. |
|
This PR was merged and extended into cumulativ fix #203 to test CI pass. |
|
Neo Version number of upcoming 0.6.1 will be fixed to >=0.7.0 and <0.8.0 to prevent similar breaks on 0.8.0 release. |
For compatibility with Neo 0.7.0 (soon to be released)