Skip to content

Remove code used to support h5py<2.10.0 - #7334

Merged
mathause merged 1 commit into
pydata:mainfrom
hmaarrfk:h5py_cleanup
Nov 30, 2022
Merged

Remove code used to support h5py<2.10.0#7334
mathause merged 1 commit into
pydata:mainfrom
hmaarrfk:h5py_cleanup

Conversation

@hmaarrfk

Copy link
Copy Markdown
Contributor

It seems that the relevant issue was fixed in 2.10.0 h5py/h5py@466181b

I'm not sure how far back you want to fix things. I'm hoping to test this on the CI.

I found this since I've been auditing slowdowns in our codebase, which has caused me to review much of the reading pipeline.

Do you want to add a test for h5py>=2.10.0? Or can we assume that users won't install things together.
https://pypi.org/project/h5py/2.10.0/

I could for example set the backend to not be available if a version of h5py that is too old is detected.
One could alternatively, just keep the code here.

  • Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

It seems that the relevant issue was fixed in 2.10.0
h5py/h5py@466181b
I'm not sure how far back you want to fix things. I'm hoping to test
this on the CI.
I found this since I've been auditing slowdowns in our codebase, which
has caused me to review much of the reading pipeline.
@dcherian

Copy link
Copy Markdown
Contributor

I think this is good. It seems like 3.6 is the min-version we support (https://github.com/pydata/xarray/actions/runs/3577424529/jobs/6016410891)

@hmaarrfk
hmaarrfk marked this pull request as ready for review November 29, 2022 20:23
@dcheriandcherian added the plan to merge Final call for comments label Nov 29, 2022
@mathause
mathause merged commit 2fb22cf into pydata:mainNov 30, 2022
dcherian added a commit to dcherian/xarray that referenced this pull request Dec 2, 2022
* upstream/main: (39 commits)
Support the new compression argument in netCDF4 > 1.6.0 (pydata#6981)
Remove setuptools-scm-git-archive, require setuptools-scm>=7 (pydata#7253)
Fix mypy failures (pydata#7343)
Docs: add example of writing and reading groups to netcdf (pydata#7338)
Reset file pointer to 0 when reading file stream (pydata#7304)
Enable mypy warn unused ignores (pydata#7335)
Optimize some copying (pydata#7209)
Add parse_dims func (pydata#7051)
Fix coordinate attr handling in `xr.where(..., keep_attrs=True)` (pydata#7229)
Remove code used to support h5py<2.10.0 (pydata#7334)
[pre-commit.ci] pre-commit autoupdate (pydata#7330)
Fix PR number in what’s new (pydata#7331)
Enable `origin` and `offset` arguments in `resample` (pydata#7284)
fix doctests: supress urllib3 warning (pydata#7326)
fix flake8 config (pydata#7321)
implement Zarr v3 spec support (pydata#6475)
Fix polyval overloads (pydata#7315)
deprecate pynio backend (pydata#7301)
mypy - Remove some ignored packages and modules (pydata#7319)
Switch to T_DataArray in .coords (pydata#7285)
...
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ioplan to mergeFinal call for commentstopic-backends

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@hmaarrfk@dcherian@mathause