-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump min deps for 0.15 #3713
bump min deps for 0.15 #3713
Conversation
@@ -40,7 +40,7 @@ dependencies: | |||
- pytest-cov | |||
- pytest-env | |||
- rasterio=1.0 | |||
- scipy=1.0 # Policy allows for 1.2, but scipy>=1.1 breaks numpy=1.14 | |||
- scipy=1.2 # Policy allows for 1.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use 1.3 then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was getting segmentation faults locally. I'll bump once I fix the tests.
doc/whats-new.rst
Outdated
- scipy 1.3 | ||
- bottleneck 1.3 | ||
- h5py 2.10 | ||
- rasterio 1.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
py36-min-all-deps.yml should have matching changes for bottleneck, h5py, rasterio
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'm doing this incrementally since the env wasn't getting created locally.
doc/whats-new.rst
Outdated
- bottleneck 1.3 | ||
- h5py 2.10 | ||
- rasterio 1.1 | ||
- pseudonetcdf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about pseudonetcdf?
@dcherian Hope you don't mind me jumping in, but that is correct at the moment (see hgrecco/pint#981). It would be easy to add to Pint, though. |
as @jthielen said, it does not since I never realized we used |
This reverts commit d078cf1.
I changed it in this PR. But I guess I could just revert that bit |
I think it's fine if you mark the failing tests as |
Related: #3714 |
* 'master' of github.com:pydata/xarray: setuptools-scm and one-liner setup.py (pydata#3714)
* 'master' of github.com:pydata/xarray: apply_ufunc: Add meta kwarg + bump dask to 2.2 (pydata#3660)
This output is confusing to me. It hasn't been 6 months since bottleneck 1.3 was released. Why is that the "policy version". Similarly for zarr 2.4
|
Because NEP29 states support for all versions in the latest X months, not the most recent version released more than X months ago. |
bumping the following seems a little excessive to me.
Is anyone opposed to merging this PR in its current form and bumping up minimum versions at the next major release? |
I have no problems with supporting versions older than those mandated by the policy as long as there isn't any major benefit in dropping them... |
For sure no harm in keeping older ones for this release. But to the extent we can have a policy we agree on, then it's not a judgement call each release. Should we change the policy? |
We could increase the support window for seldom-updated packages (read: not dask) to 1 year. |
To me, this seems most sensible. EDIT: crusaderky's 1 year proposal sounds good too |
* 'master' of github.com:pydata/xarray: (27 commits) bump min deps for 0.15 (pydata#3713) setuptools-scm and isort tweaks (pydata#3720) Allow binned coordinates on 1D plots y-axis. (pydata#3685) apply_ufunc: Add meta kwarg + bump dask to 2.2 (pydata#3660) setuptools-scm and one-liner setup.py (pydata#3714) Feature/align in dot (pydata#3699) ENH: enable `H5NetCDFStore` to work with already open h5netcdf.File a… (pydata#3618) One-off isort run (pydata#3705) hardcoded xarray.__all__ (pydata#3703) Bump mypy to v0.761 (pydata#3704) remove DataArray and Dataset constructor deprecations for 0.15 (pydata#3560) Tests for variables with units (pydata#3654) Add an example notebook using apply_ufunc to vectorize 1D functions (pydata#3629) Use encoding['dtype'] over data.dtype when possible within CFMaskCoder.encode (pydata#3652) allow passing any iterable to drop when dropping variables (pydata#3693) Typo on DataSet/DataArray.to_dict documentation (pydata#3692) Fix mypy type checking tests failure in ds.merge (pydata#3690) Explicitly convert result of pd.to_datetime to a timezone-naive type (pydata#3688) ds.merge(da) bugfix (pydata#3677) fix docstring for combine_first: returns a Dataset (pydata#3683) ...
* master: Add support for CFTimeIndex in get_clean_interp_index (pydata#3631) sel with categorical index (pydata#3670) bump min deps for 0.15 (pydata#3713) setuptools-scm and isort tweaks (pydata#3720) Allow binned coordinates on 1D plots y-axis. (pydata#3685) apply_ufunc: Add meta kwarg + bump dask to 2.2 (pydata#3660) setuptools-scm and one-liner setup.py (pydata#3714) Feature/align in dot (pydata#3699) ENH: enable `H5NetCDFStore` to work with already open h5netcdf.File a… (pydata#3618) One-off isort run (pydata#3705) hardcoded xarray.__all__ (pydata#3703) Bump mypy to v0.761 (pydata#3704) remove DataArray and Dataset constructor deprecations for 0.15 (pydata#3560) Tests for variables with units (pydata#3654) Add an example notebook using apply_ufunc to vectorize 1D functions (pydata#3629) Use encoding['dtype'] over data.dtype when possible within CFMaskCoder.encode (pydata#3652)
black . && mypy . && flake8
whats-new.rst
for all changes andapi.rst
for new API