html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/pull/5449#issuecomment-856543812,https://api.github.com/repos/pydata/xarray/issues/5449,856543812,MDEyOklzc3VlQ29tbWVudDg1NjU0MzgxMg==,5821660,2021-06-08T07:51:49Z,2021-06-08T07:51:49Z,MEMBER,"Thanks for the ping @dcherian. There is this test: https://github.com/pydata/xarray/blob/da0489f4c7c823915dbb52b681b867baa16bc6e3/xarray/tests/test_computation.py#L1314-L1330 which provides `dtype` in `meta`. Maybe these different tests have to be aligned/combined? Unfortunately memory gets hazy over time, so I can't say much more about it without a deeper dive into. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070 https://github.com/pydata/xarray/pull/5449#issuecomment-856529731,https://api.github.com/repos/pydata/xarray/issues/5449,856529731,MDEyOklzc3VlQ29tbWVudDg1NjUyOTczMQ==,10194086,2021-06-08T07:30:24Z,2021-06-08T07:30:24Z,MEMBER,No worries. I agree that only allowing one is cleaner. And definitively +1 on adding tests using meta.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070 https://github.com/pydata/xarray/pull/5449#issuecomment-856294922,https://api.github.com/repos/pydata/xarray/issues/5449,856294922,MDEyOklzc3VlQ29tbWVudDg1NjI5NDkyMg==,2448579,2021-06-07T22:05:55Z,2021-06-07T22:05:55Z,MEMBER,"> but without much knowledge of how downstream libraries were using these arguments. IIRC xarray doesn't actually use it. `xarray.apply_ufunc` is a convenient wrapper for `apply_gufunc` so we just pass along what the user provides. @kmuehlbauer added that test so maybe he can provide more context > Perhaps removing one of output_dtypes or meta from the test would be the best solution. OK good point! There are a few tests for `output_dtypes` but we don't actually test for providing `dtype` in `meta`, so perhaps we should do that. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070 https://github.com/pydata/xarray/pull/5449#issuecomment-856285749,https://api.github.com/repos/pydata/xarray/issues/5449,856285749,MDEyOklzc3VlQ29tbWVudDg1NjI4NTc0OQ==,3309802,2021-06-07T21:45:30Z,2021-06-07T21:45:30Z,NONE,"@mathause sorry for breaking things here. Note that passing `output_dtypes` [didn't work as it was supposed to before](https://github.com/dask/dask/pull/7669#discussion_r634811360), and also didn't cause a cast. [We went back and forth](https://github.com/dask/dask/pull/7669#issuecomment-849074257) on whether `output_types` should cause explicit casting, and whether it was sensible to provide both it and `meta`. Ultimately we decided they should be mutually exclusive, and should not cause casting, but without much knowledge of how downstream libraries were using these arguments. So maybe we should revisit that choice in dask? Also I think maybe this test should be changed rather than skipped. Saying `output_dtypes=[int]` and then `assert float == actual.dtype` just seems weird to me. Perhaps removing one of `output_dtypes` or `meta` from the test would be the best solution.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070 https://github.com/pydata/xarray/pull/5449#issuecomment-856285638,https://api.github.com/repos/pydata/xarray/issues/5449,856285638,MDEyOklzc3VlQ29tbWVudDg1NjI4NTYzOA==,11656932,2021-06-07T21:45:15Z,2021-06-07T21:45:15Z,CONTRIBUTOR,Apologies for the breaking change. I'm happy to make sure we ping an Xarray dev next time we have a significant change to `apply_gufunc` to avoid surprises like this in the future. ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070 https://github.com/pydata/xarray/pull/5449#issuecomment-856272615,https://api.github.com/repos/pydata/xarray/issues/5449,856272615,MDEyOklzc3VlQ29tbWVudDg1NjI3MjYxNQ==,41898282,2021-06-07T21:25:56Z,2021-06-07T21:25:56Z,CONTRIBUTOR,"## Unit Test Results 0 files  ±0  0 suites  ±0   0s :stopwatch: ±0s 0 tests ±0  0 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  Results for commit 34dc5771. ± Comparison against base commit 34dc5771. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070 https://github.com/pydata/xarray/pull/5449#issuecomment-856263319,https://api.github.com/repos/pydata/xarray/issues/5449,856263319,MDEyOklzc3VlQ29tbWVudDg1NjI2MzMxOQ==,5635139,2021-06-07T21:17:32Z,2021-06-07T21:17:32Z,MEMBER,Thanks @mathause !,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070 https://github.com/pydata/xarray/pull/5449#issuecomment-856256166,https://api.github.com/repos/pydata/xarray/issues/5449,856256166,MDEyOklzc3VlQ29tbWVudDg1NjI1NjE2Ng==,10194086,2021-06-07T21:04:38Z,2021-06-07T21:04:38Z,MEMBER,thanks for the review - let's merge soon,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,913830070