Skip to content

Be lazier about importing h5py#2096

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
ksunden:lazy_h5py
Nov 15, 2021
Merged

Be lazier about importing h5py#2096
j9ac9k merged 1 commit intopyqtgraph:masterfrom
ksunden:lazy_h5py

Conversation

@ksunden
Copy link
Copy Markdown
Contributor

@ksunden ksunden commented Nov 15, 2021

We discovered recently bad interactions between pytables and h5py resulting in the inability to import one after the other had been imported. This takes a step towards pyqtgraph not being a confounding variable in that situation when it doesn't need to be. Note that h5py is still imported in MetaArray, so until that is removed, this doesn't actually solve the issue of h5py being loaded when pyqtgraph is imported, but once metaarray is removed as planned, this is the only remaing library (non-example) code that uses h5py directly.

We discovered recently bad interactions between pytables and h5py resulting in the inability to import one after the other had been imported. This takes a step towards pyqtgraph not being a confounding variable in that situation when it doesn't need to be. Note that h5py is still imported in MetaArray, so until that is removed, this doesn't actually solve the issue of h5py being loaded when pyqtgraph is imported, but once metaarray is removed as planned, this is the only remaing library (non-example) code that uses h5py directly.
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Nov 15, 2021

Thanks @ksunden ! Merging!

EDIT: merging after CI finishes.

@j9ac9k j9ac9k merged commit 72c8723 into pyqtgraph:master Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants