home / github / pull_requests

Menu
  • GraphQL API
  • Search all tables

pull_requests: 807987394

This data as json

id node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
807987394 PR_kwDOAMm_X84wKOjC 6096 closed 0 Replace distutils.version with packaging.version 10194086 <!-- Feel free to remove check-list items aren't relevant to your change --> - [x] Closes #6092 - [x] Passes `pre-commit run --all-files` - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` One change is that it is no longer possible to compare to a string, i.e. `version.parse(xr.__version__) < "0.20.0"` errors. As mentioned in #6092 there are 3 options - if there is a preference I am happy to update this PR. ```python from distutils.version import LooseVersion from packaging import version LooseVersion(xr.__version__) version.parse(xr.__version__) version.Version(xr.__version__) # currently: if LooseVersion(mod.__version__) < LooseVersion(minversion): pass # options: if version.parse(mod.__version__) < version.parse(minversion): pass if version.Version(mod.__version__) < version.Version(minversion): pass if Version(mod.__version__) < Version(minversion): pass ``` 2021-12-22T00:51:21Z 2023-01-20T21:00:42Z 2021-12-24T14:50:48Z 2021-12-24T14:50:47Z a2d968b8fc5e0749f3db58862296716068ce934d     0 a2d8c6d615f73f975a790b776d5a72faddc181c8 ddc500aaf6d6ab47fbd983f56bba7b5cf52d51d0 MEMBER   13221727 https://github.com/pydata/xarray/pull/6096  

Links from other tables

  • 0 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 0.811ms