id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 281552158,MDExOlB1bGxSZXF1ZXN0MTU3OTUwMzcy,1777,Respect PEP 440,500246,closed,0,,,4,2017-12-12T21:59:18Z,2017-12-15T07:26:33Z,2017-12-15T07:26:24Z,CONTRIBUTOR,,0,pydata/xarray/pulls/1777,"Change unreleased version numbers as to respect PEP 440. Rather than `0.10.0-9-g89a1a98` we will have `0.10.0+dev9.g89a1a98`. This means automated setuptools requirements can be respected. Closes #1300. - [x] Closes #1300 (remove if there is no corresponding issue, which should only be the case for minor changes) - [ ] Tests added (for all bug fixes or enhancements) - [ ] Tests passed (for all non-documentation changes) - [x] Passes ``git diff upstream/master **/*py | flake8 --diff`` (remove if you did not edit any Python files) - [ ] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later) ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1777/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull 212501628,MDU6SXNzdWUyMTI1MDE2Mjg=,1300,git version label yields version in violation of PEP 440,500246,closed,0,,,2,2017-03-07T17:23:00Z,2017-12-15T07:26:24Z,2017-12-15T07:26:24Z,CONTRIBUTOR,,,,"When an `xarray` installation does not match a released version ,it has a version number like `0.9.1-28-g769f120`. This violates [PEP 440](https://www.python.org/dev/peps/pep-0440/), which leads to multiple problems: * `pip install --update` will revert `xarray` back to `0.9.1`, because it does not recognise that `0.9.1-28-g769f120 > 0.9.1` * packages with an `xarray` dependencies will be considered not satisfied. Running a script through `setuptools` `load_entry_point` fails with `pkg_resources.ContextualVersionConflict: (xarray 0.9.1-28-g769f120 (/dev/shm/gerrit/venv/stable-3.5/lib/python3.5/site-packages), Requirement.parse('xarray>=0.8')` Instead, the version number above should be written as `0.9.1+r10345` or so, which would satisfy PEP 440 and not cause problems with `pip` or `setuptools`.","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1300/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue