Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RPi pandas import error when using auto generated tubs
When using
AUTO_CREATE_NEW_TUB = True
, we import the legacydatastore.py
module for theTubHandler
class. However, that module specifies apandas
import at module level. We don't installpandas
on RPi by default to keep the python package smaller. This behaviour has been reported in #1010.This is fixed by:
Move the pandas import from module level into the
Tub
andTubGroup
classes as otherwise we have an import error on RPi when the configAUTO_CREATE_NEW_TUB
is set to True.Bump the version.