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/7752#issuecomment-1509228401,https://api.github.com/repos/pydata/xarray/issues/7752,1509228401,IC_kwDOAMm_X85Z9P9x,14371165,2023-04-14T20:38:08Z,2023-04-14T20:38:59Z,MEMBER,"The mypy 3.9 CI keeps installing the old version which hinders installing a new version with `python -m pip install mypy`.
``` INSTALLED VERSIONS ------------------ commit: c6eeaa6faa0f3d084f98bb5c9bad777533f07a40 python: 3.9.16 | packaged by conda-forge | (main, Feb 1 2023, 21:39:03) [GCC 11.3.0] python-bits: 64 OS: Linux OS-release: 5.15.0-1035-azure machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: C.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.12.2 libnetcdf: 4.9.1 xarray: 2023.3.1.dev56+gc6eeaa6f pandas: 2.0.0 numpy: 1.23.5 scipy: 1.10.1 netCDF4: 1.6.3 pydap: installed h5netcdf: 1.1.0 h5py: 3.8.0 Nio: None zarr: 2.14.2 cftime: 1.6.2 nc_time_axis: 1.4.1 PseudoNetCDF: 3.2.2 iris: 3.4.1 bottleneck: 1.3.7 dask: 2023.3.2 distributed: 2023.3.2.1 matplotlib: 3.7.1 cartopy: 0.21.1 seaborn: 0.12.2 numbagg: 0.2.2 fsspec: 2023.4.0 cupy: None pint: 0.20.1 sparse: 0.14.0 flox: 0.6.10 numpy_groupies: 0.9.20 setuptools: 67.6.1 pip: 23.0.1 conda: 23.3.1 pytest: 7.3.0 mypy: 0.982 IPython: None sphinx: None ```
Using `python -m pip install mypy --force-reinstall` seems to do the trick.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1665260014 https://github.com/pydata/xarray/pull/7752#issuecomment-1505965953,https://api.github.com/repos/pydata/xarray/issues/7752,1505965953,IC_kwDOAMm_X85ZwzeB,14371165,2023-04-12T21:21:40Z,2023-04-12T21:21:40Z,MEMBER,"Before: ``` xarray/core/utils.py:116: error: Unused ""type: ignore"" comment xarray/core/combine.py:374: error: Unused ""type: ignore"" comment xarray/core/rolling.py:379: error: Unused ""type: ignore"" comment xarray/core/rolling.py:756: error: Unused ""type: ignore"" comment xarray/tests/test_plot.py:2045: error: Argument ""col"" has incompatible type ""str""; expected ""None"" [arg-type] xarray/tests/test_plot.py:2054: error: Argument ""col"" has incompatible type ""str""; expected ""None"" [arg-type] xarray/tests/test_variable.py:65: error: ""staticmethod"" expects 2 type arguments, but 1 given [type-arg] xarray/tests/test_concat.py:543: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] Generated Cobertura report: /home/runner/work/xarray/xarray/mypy_report/cobertura.xml Installing missing stub packages: /home/runner/micromamba-root/envs/xarray-tests/bin/python -m pip install types-PyYAML types-Pygments types-babel types-colorama types-paramiko types-psutil types-pytz types-pywin32 types-setuptools types-urllib3 Generated Cobertura report: /home/runner/work/xarray/xarray/mypy_report/cobertura.xml Found 7 errors in 5 files (checked 138 source files) ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1665260014