Skip to content
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

Add dev dependencies to pyproject.toml #8661

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

max-sixty
Copy link
Collaborator

No description provided.

@max-sixty
Copy link
Collaborator Author

Running pip install .[dev] almost gets all tests to pass:

============================================================================ short test summary info =============================================================================
FAILED xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[zstd] - AssertionError: assert dict_items([('chunksizes', (20, 40)), ('original_shape', (20, 80)), ('fletcher32', False), ('zstd', True), ('shuffle', False)]) <= dict_items([('dtype...
FAILED xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4hc] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zlib] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zstd] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4ViaDaskData::test_compression_encoding[zstd] - AssertionError: assert dict_items([('chunksizes', (20, 40)), ('original_shape', (20, 80)), ('fletcher32', False), ('zstd', True), ('shuffle', False)]) <= dict_items([('dtype...
FAILED xarray/tests/test_backends.py::TestNetCDF4ViaDaskData::test_compression_encoding[blosc_lz] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4ViaDaskData::test_compression_encoding[blosc_lz4] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4ViaDaskData::test_compression_encoding[blosc_lz4hc] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4ViaDaskData::test_compression_encoding[blosc_zlib] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNetCDF4ViaDaskData::test_compression_encoding[blosc_zstd] - RuntimeError: NetCDF: Filter error: undefined filter encountered: (variable 'var2', group '/')
FAILED xarray/tests/test_backends.py::TestNCZarr::test_open_nczarr - packaging.version.InvalidVersion: Invalid version: '4.9.3-development'
FAILED xarray/tests/test_backends.py::TestNCZarr::test_overwriting_nczarr - packaging.version.InvalidVersion: Invalid version: '4.9.3-development'
FAILED xarray/tests/test_backends.py::TestNCZarr::test_raise_writing_to_nczarr[a] - packaging.version.InvalidVersion: Invalid version: '4.9.3-development'
FAILED xarray/tests/test_backends.py::TestNCZarr::test_raise_writing_to_nczarr[r+] - packaging.version.InvalidVersion: Invalid version: '4.9.3-development'

Not actually sure where the gap is. There are no packages with versions anything like '4.9.3-development'!

@max-sixty max-sixty merged commit 6801e27 into pydata:main Jan 25, 2024
29 checks passed
@max-sixty max-sixty deleted the pyproject-dev-deps branch January 25, 2024 06:24
andersy005 added a commit to TomNicholas/xarray that referenced this pull request Jan 30, 2024
* main: (153 commits)
  Add overloads to get_axis_num (pydata#8547)
  Fix CI: temporary pin pytest version to 7.4.* (pydata#8682)
  Bump the actions group with 1 update (pydata#8678)
  [namedarray] split `.set_dims()` into `.expand_dims()` and `broadcast_to()` (pydata#8380)
  Add chunk-friendly code path to `encode_cf_datetime` and `encode_cf_timedelta` (pydata#8575)
  Fix NetCDF4 C version detection (pydata#8675)
  groupby: Don't set `method` by default on flox>=0.9 (pydata#8657)
  Fix automatic broadcasting when wrapping array api class (pydata#8669)
  Fix unstack method when wrapping array api class (pydata#8668)
  Fix `variables` arg typo in `Dataset.sortby()` docstring (pydata#8670)
  dt.weekday_name - removal of function (pydata#8664)
  Add `dev` dependencies to `pyproject.toml` (pydata#8661)
  CI: Pin scientific-python/upload-nightly-action to release sha (pydata#8662)
  Update HOW_TO_RELEASE.md by clarifying where RTD build can be found (pydata#8655)
  ruff: use extend-exclude (pydata#8649)
  new whats-new section (pydata#8652)
  xfail another test on windows (pydata#8648)
  use first element of residual in _nonpolyfit_1d (pydata#8647)
  whatsnew for v2024.01.1
  implement `isnull` using `full_like` instead of `zeros_like` (pydata#7395)
  ...
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