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/issues/6659#issuecomment-1148285401,https://api.github.com/repos/pydata/xarray/issues/6659,1148285401,IC_kwDOAMm_X85EcXHZ,5821660,2022-06-07T07:15:38Z,2022-06-07T07:15:38Z,MEMBER,@keewis `git restore -SW .` will remove the changes to `pyproject.toml`.,"{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1258338848
https://github.com/pydata/xarray/issues/6659#issuecomment-1145773168,https://api.github.com/repos/pydata/xarray/issues/6659,1145773168,IC_kwDOAMm_X85ESxxw,5821660,2022-06-03T09:23:01Z,2022-06-03T09:23:01Z,MEMBER,"> To make updating `pyproject.toml` less of a hack (the `setuptools_scm` section might not be the last section in the future) we can probably read the file with `tomli`, add that setting and write it back using `tomli_w`.
That's for sure more reliable. Didn't think about that in the first place.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1258338848
https://github.com/pydata/xarray/issues/6659#issuecomment-1145622185,https://api.github.com/repos/pydata/xarray/issues/6659,1145622185,IC_kwDOAMm_X85ESM6p,5821660,2022-06-03T06:14:57Z,2022-06-03T06:14:57Z,MEMBER,"It's more a workaround. Maybe it's suitable for xarray.
In a project I maintain I'm doing the following before creation of tarball and wheels when uploading to TestPyPI.
```bash
# remove local appendix (+gXXXXXXXX)
$ echo 'local_scheme = ""no-local-version""' >> pyproject.toml
# prevent dirty-flag
$ git update-index --assume-unchanged pyproject.toml
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1258338848