sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 214d9417eb525ff10cc3ef90d9838fc42eef5b64,"Option to not auto-create index during expand_dims (#8960) * test expand_dims doesn't create Index * add option to not create 1D index in expand_dims * refactor tests to consider data variables and coordinate variables separately * fix bug causing new test to fail * test index auto-creation when iterable passed as new coordinate values * make test for iterable pass * added kwarg to dataarray * whatsnew * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update tests to use private versions of assertions * create_1d_index->create_index * Update doc/whats-new.rst Co-authored-by: Deepak Cherian * warn if create_index=True but no index created because dimension variable was a data var not a coord * add string marks in warning message --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deepak Cherian ",2024-04-27T16:48:24Z,2024-04-27T16:48:24Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 b004af5174a4b0e32519df792a4f625d5548a9f0,"Correct save_mfdataset docstring (#8934) * correct docstring * get type hint right",2024-04-14T11:14:42Z,2024-04-14T11:14:42Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 6de99369502901374438583eba9f9818929885ed,"New empty whatsnew entry (#8899) * new empty whatsnew entry * Update doc/whats-new.rst Co-authored-by: Deepak Cherian --------- Co-authored-by: Deepak Cherian ",2024-04-01T17:49:06Z,2024-04-01T17:49:06Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 2120808bbe45f3d4f0b6a01cd43bac4df4039092,"Allow multidimensional variable with same name as dim when constructing dataset via coords (#8886) * regression test * remove unnecessary check * whatsnew * remove outdated test",2024-03-28T16:28:09Z,2024-03-28T16:28:09Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 aaf3b7e572dc9ee422aac7b2c2454b653e7be2bb,"Opt out of auto creating index variables (#8711) * as_variable: deprecate converting to IndexVariable * fix multi-index edge case * Better default behavior of the Coordinates constructor (#8107) * ``Coordinates.__init__`` create default indexes ... for any input dimension coordinate, if ``indexes=None``. Also, if another ``Coordinates`` object is passed, extract its indexes and raise if ``indexes`` is not None (no align/merge supported here). * add docstring examples * fix doctests * fix tests * update what's new * fix deprecation warning after unintentionally reverted a valid previous change. * avoid unnecessary auto-creation of index to avoid userwarning * catch expected FutureWarnings in test_as_variable * check for coercion to IndexVariable * whatsnew --------- Co-authored-by: Benoit Bovy ",2024-03-26T13:50:14Z,2024-03-26T13:50:14Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 d64460795e406bc4a998e2ddae0054a1029d52a9,"Move parallelcompat and chunkmanagers to NamedArray (#8319) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anderson Banihirwe <13301940+andersy005@users.noreply.github.com> Co-authored-by: Anderson Banihirwe ",2024-02-12T22:09:23Z,2024-02-12T22:09:23Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 870450172477e3fccc5495ee9356813fa6187594,"Fix automatic broadcasting when wrapping array api class (#8669) * test automatic broadcasting * fix bug * whatsnew * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>",2024-01-26T16:41:29Z,2024-01-26T16:41:29Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 f5d22a699715e022101d8322162271c2c3ccefa9,"Fix unstack method when wrapping array api class (#8668) * add test for unstacking * fix bug with unstack * some other occurrences of reshape * whatsnew",2024-01-26T16:06:00Z,2024-01-26T16:06:00Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 d639d6e151bdeba070127aa7e286c5bfa6048194,Update HOW_TO_RELEASE.md by clarifying where RTD build can be found (#8655),2024-01-24T21:46:00Z,2024-01-24T21:46:00Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 0a61f0ed62293fda0e26561d74705b3fe00912cf,"Pin sphinx-book-theme to 1.0.1 to try to deal with #8619 (#8632) Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>",2024-01-23T18:28:35Z,2024-01-23T18:28:35Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 072f44c8af7a4891c0d6d3ab28bd69e35f215c56,"Release summary for release v2024.01.0 (#8617) * release summary * move misplaced entries to be under new release * highlight new cumulative aggregation in release summary * thank contributors * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update doc/whats-new.rst --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kai Mühlbauer ",2024-01-17T19:21:11Z,2024-01-17T19:21:11Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 766da3480f50d7672fe1a7c1cdf3aa32d8181fcf,"Generalize cumulative reduction (scan) to non-dask types (#8019) * add scan to ChunkManager ABC * implement scan for dask using cumreduction * generalize push to work for non-dask chunked arrays * whatsnew * fix importerror * Allow arbitrary kwargs Co-authored-by: Deepak Cherian * Type hint return value of T_ChunkedArray Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> * Type hint return value of Dask array * ffill -> bfill in doc/whats-new.rst Co-authored-by: Deepak Cherian * hopefully fix docs warning --------- Co-authored-by: Deepak Cherian Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>",2023-12-18T19:30:18Z,2023-12-18T19:30:18Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 299abd6276a4c10a84cb8081fb157cabfba070f6,"Deprecate ds.dims returning dict (#8500) * raise FutureWarning * change some internal instances of ds.dims -> ds.sizes * improve clarity of which unexpected errors were raised * whatsnew * return a class which warns if treated like a Mapping * fix failing tests * avoid some warnings in the docs * silence warning caused by #8491 * fix another warning * typing of .get * fix various uses of ds.dims in tests * fix some warnings * add test that FutureWarnings are correctly raised * more fixes to avoid warnings * update tests to avoid warnings * yet more fixes to avoid warnings * also warn in groupby.dims * change groupby tests to match * update whatsnew to include groupby deprecation * filter warning when we actually test ds.dims * remove error I used for debugging --------- Co-authored-by: Deepak Cherian ",2023-12-06T17:52:23Z,2023-12-06T17:52:23Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 ce1af977b1330fd8e60660777e864325c2b1f198,"Remove PR labeler bot (#8525) * remove labeler bot config * remove labeler workflows * revert #7431",2023-12-06T02:45:41Z,2023-12-06T02:45:41Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 ab6a2553e142e1d6f90548bba66b7f8ead483dca,"Hypothesis strategy for generating Variable objects (#8404) * copied files defining strategies over to this branch * placed testing functions in their own directory * moved hypothesis strategies into new testing directory * begin type hinting strategies * renamed strategies for consistency with hypothesis conventions * added strategies to public API (with experimental warning) * strategies for chunking patterns * rewrote variables strategy to have same signature as Variable constructor * test variables strategy * fixed most tests * added helpers so far to API docs * add hypothesis to docs CI env * add todo about attrs * draft of new user guide page on testing * types for dataarrays strategy * draft for chained chunking example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * only accept strategy objects * fixed failure with passing in two custom strategies that must be compatible * syntax error in example * allow sizes dict as argument to variables * copied subsequences_of strategy * coordinate_variables generates non-dimensional coords * dataarrays strategy given nothing working! * improved docstrings * datasets strategy works (given nothing) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * pass dims or data to dataarrays() strategy * importorskip hypothesis in tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * added warning about inefficient example generation * remove TODO about deterministic examples in docs * un-restrict names strategy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removed convert kwarg * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * avoid using subsequences_of * refactored into separate function for unique subset of dims * removed subsequences_of * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix draw(st.booleans()) * remove all references to chunking until chunks strategy merged upstream in dask * added example of complicated strategy for dims dict * remove superfluous utils file * removed elements strategy * removed np_arrays strategy from public API * min_ndims -> min_dims * forbid non-matching dims and data completely * simple test for data_variables strategy * passing arguments to datasets strategy * whatsnew * add attrs strategy * autogenerate attrs for all objects * attempt to make attrs strategy quicker * extend deadline * attempt to speed up attrs strategy * promote all strategies to be functions * valid_dtypes -> numeric_dtypes * changed hypothesis error type * make all strategies keyword-arg only * min_length -> min_side * correct error type * remove coords kwarg * test different types of coordinates are sometimes generated * zip dict Co-authored-by: Zac Hatfield-Dodds * add dim_names kwarg to dimension_sizes strategy * return a dict from _alignable_variables * add coord_names arg to coordinate_variables strategy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * change typing of dims arg * support dims as list to datasets strat when data not given * put coord and data var generation in optional branch to try to improve shrinking * improve simple test example * add documentation on creating duck arrays * okexcept for sparse examples * fix sparse dataarrays example * todo about building a duck array dataset * fix imports and cross-links * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add hypothesis library to intersphinx mapping * fix many links * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixed all local mypy errors * move numpy strategies import * reduce sizes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix some api links in docs * remove every strategy beyond variables * variable strategy now accepts callable generating array strategies * use only readable unicode characters in names * examples * only use unicode characters that docs can deal with * docs: dataarrays -> variables * update tests for variables strategy * test values in attrs dict * duck array type examples * altered whatsnew * maybe fix mypy * fix some mypy errors * more typing changes * fix import * skip doctests in docstrings * fix link to duckarrays page * don't actually try to run cupy in docs env * missed a skip * okwarning * just remove the cupy example * ensure shape is always passed to array_strategy_fn * test using make_strategies_namespace * test catching array_strategy_fn that returns different dtype * test catching array_strategy_fn that returns different shape * generalise test of attrs strategy * remove misguided comments * save working version of test_mean * expose unique_subset_of * generalize unique_subset_of to handle iterables * type hint unique_subset_of using overloads * use iterables in test_mean example * test_mean example in docs now uses iterable of dimension_names * fix some warnings in docs build * example of passing list to unique_subset_of * fix import in docs page * try to satisfy sphinx * Minor corrections to docs * Add supported_dtypes to list of public strategies in docs * Generate number of dimensions in test_given_arbitrary_dims_list Co-authored-by: Zac Hatfield-Dodds * Update minimum version of hypothesis Co-authored-by: Zac Hatfield-Dodds * fix incorrect indentation in autosummary * link to docs page on testing * use warning imperative for array API non-compliant dtypes * fix bugs in sparse examples * add tag for array API standard info * move no-dependencies-on-other-values-inputs to given decorator * generate everything that can be generated * fix internal link to page on strategies * split up TypeError messages for each arg * use hypothesis.errors.InvalidArgument * generalize tests for generating specific number of dimensions * fix some typing errors * test that reduction example in docs actually works * fix typing errors * simply generation of sparse arrays in example * fix impot in docs example * correct type hints in sparse example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use .copy in convert_to_sparse Co-authored-by: Justus Magin * Use st.builds in sparse example Co-authored-by: Justus Magin * correct intersphinx link in whatsnew * rename module containing assertion functions * clarify sentence * add general ImportError if hypothesis not installed * add See Also link to strategies docs page from docstring of every strategy * typo in ImportError message * remove extra blank lines in examples * remove smallish_arrays --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Zac Hatfield-Dodds Co-authored-by: Justus Magin ",2023-12-05T22:45:56Z,2023-12-05T22:45:56Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447 d46c5b66463dfb0fed7e105514dda07e7ef4b5ef,"Warn on repeated dimension names during construction (#8491) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>",2023-12-01T00:40:18Z,2023-12-01T00:40:18Z,1b5999ce7e4a14248f94d7405c686b0fa5ad5979,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,35968931,19864447