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-1148370109,https://api.github.com/repos/pydata/xarray/issues/6659,1148370109,IC_kwDOAMm_X85Ecry9,14808389,2022-06-07T08:37:02Z,2022-06-07T08:37:02Z,MEMBER,"it finally works: https://test.pypi.org/project/xarray/#history Thanks a lot for the help, @kmuehlbauer!","{""total_count"": 1, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 1, ""eyes"": 0}",,1258338848 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-1147972460,https://api.github.com/repos/pydata/xarray/issues/6659,1147972460,IC_kwDOAMm_X85EbKts,14808389,2022-06-06T21:55:29Z,2022-06-06T21:55:29Z,MEMBER,"apparently, `local_scheme = ""no-local-scheme""` is broken when using `setuptools>=60`. I'll pin `setuptools<60` in CI, hopefully that helps","{""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-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-1145765288,https://api.github.com/repos/pydata/xarray/issues/6659,1145765288,IC_kwDOAMm_X85ESv2o,14808389,2022-06-03T09:13:31Z,2022-06-03T09:20:53Z,MEMBER,"ooh, that looks great! 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`.","{""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