AllenInstitute / visual_behavior_analysis

Python package for analyzing behavioral data for Brain Observatory: Visual Behavior
Other
21 stars 6 forks source link

major refactor of AllenSDK 2.4.0 #696

Closed dougollerenshaw closed 3 years ago

dougollerenshaw commented 3 years ago

AllenSDK rc2.4.0 has what appears to be some fairly substantial refactoring that breaks VBA.

So far, I've noted:

@wbwakeman or @njmei : do you know if there is (or will be) documentation of these changes in the release notes? That'd make fixes here more tractable. Also, any suggestions on how to implement changes to adapt to the new import syntax and still allow backward compatibility for older versions of the AllenSDK?

For reference, here's a screenshot of allensdk/internal/api in rc/2.3.2: image

And the same in rc/2.4.0:

image

@matchings, @alexpiet, @yavorska-iryna: This will require some attention relatively soon to allow VBA users to stay up to date on the AllenSDK

njmei commented 3 years ago

Hi @dougollerenshaw ,

Here is a summary of changes made in the refactor

Changed imports:

I would be happy to go through these changes with you in a teams meeting if there are any other questions and/or comments.

dougollerenshaw commented 3 years ago

Thanks @njmei! That's extremely helpful!

Is there a timeline for when 2.4.0 will become the default pip version? We may need to pin the SDK at <=2.3.2 to avoid trouble until we're sure we've accounted for all of these import changes.

njmei commented 3 years ago

@dougollerenshaw 2.4.0 will probably be merged into master and released on pypi in the next week or two.

I've left a comment in the associated issue (https://github.com/AllenInstitute/AllenSDK/issues/1745) so that the dev who takes that on will contact you.

dougollerenshaw commented 3 years ago

Thanks @njmei!

dougollerenshaw commented 3 years ago

fixed in #701