Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump poetry from 1.1.2 to 1.1.4 and refresh other conda/python dependencies #209

Merged
merged 4 commits into from
Dec 4, 2020

Conversation

weiji14
Copy link
Owner

@weiji14 weiji14 commented Dec 4, 2020

Much needed refresh to poetry 1.1.4 which generates the poetry.lock slightly differently compared to 1.1.2. Also taking the opportunity to bump up some other dependencies like gmt and pygmt. Supersedes #176.

TODO:

  • Update environment.yml file:
    • Bump poetry from 1.1.2 to 1.1.4, pip from 20.2.3 to 20.3.1 (9a16201)
    • Bump pygmt from 0.2.0+53.gc7c5e to 0.2.1 (22a137a)
  • Update Dockerfile:
    • Update miniconda version from 4.8.2 to 4.9.2 (acd08b8)
  • Update poetry.lock file:
    • Update dependencies in lock file by changing the ^ to == in pyproject.toml, running rm poetry.lock && poetry lock, change == back to ^, and then running poetry lock --no-update to update the hash (8e34722)

Note that bumping gmt from 6.2.0.dev4+92c5676 to 6.2.0.dev5+c94e83f cannot happen because it relies on gdal>3.1.0, but cuspatial requires gdal<3.1.0a so maybe wait for next RAPIDS AI release on 10 December 2020.

Bumps [poetry](https://github.com/python-poetry/poetry) from 1.1.2 to 1.1.4.
  - [Release notes](https://github.com/python-poetry/poetry/releases)
  - [Changelog](https://github.com/python-poetry/poetry/blob/master/CHANGELOG.md)
  - [Commits](python-poetry/poetry@1.1.2...1.1.4)
Bumps [pip](https://github.com/pypa/pip) from 20.2.3 to 20.3.1.
  - [Release notes](https://github.com/pypa/pip/releases/)
  - [Changelog](https://github.com/pypa/pip/blob/master/NEWS.rst)
  - [Commits](pypa/pip@20.2.3...20.3)

Also had to bump llvmlite from 0.34.0 to 0.35.0 and numba from 0.52.0 to 0.53.0 in the poetry.lock file to be in line with conda installed version and prevent "ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall". Similar business with cbd1541. The python version in pyproject.toml is now ~3.8 (>=3.8, <3.9) instead of ^3.8 to match numba's requirements. All in the fun of dependency management!
@weiji14 weiji14 added the dependencies Pull requests that update a dependency file label Dec 4, 2020
@weiji14 weiji14 added this to the v0.4.0 milestone Dec 4, 2020
@weiji14 weiji14 self-assigned this Dec 4, 2020
Just bulk updating a lot of dependencies by changing the ^ to == in pyproject.toml, running `rm poetry.lock && poetry lock`, change == back to ^, and then running `poetry lock --no-update` to update the hash. See previous refresh at 74a18b1. Fingers crossed that this won't break anything!

- attrs (20.2.0 -> 20.3.0)
- traitlets (5.0.4 -> 5.0.5)
- jupyter-core (4.6.3 -> 4.7.0)
- pyzmq (19.0.2 -> 20.0.0)
- tornado (6.0.4 -> 6.1)
- certifi (2020.6.20 -> 2020.11.8)
- nbformat (5.0.7 -> 5.0.8)
- nest-asyncio (1.4.1 -> 1.4.3)
- numpy (1.19.2 -> 1.19.4)
- packaging (20.4 -> 20.7)
- param (1.9.3 -> 1.10.0)
- pillow (7.2.0 -> 8.0.1)
- prompt-toolkit (3.0.7 -> 3.0.8)
- pygments (2.7.1 -> 2.7.2)
- urllib3 (1.25.10 -> 1.26.2)
- bokeh (2.2.1 -> 2.2.3)
- cffi (1.14.3 -> 1.14.4)
- ipython (7.18.1 -> 7.19.0)
- markdown (3.3 -> 3.3.3)
- multidict (4.7.6 -> 5.1.0)
- nbclient (0.5.0 -> 0.5.1)
- pandocfilters (1.4.2 -> 1.4.3)
- psutil (5.7.2 -> 5.7.3)
- pytz (2020.1 -> 2020.4)
- requests (2.24.0 -> 2.25.0)
- sortedcontainers (2.2.2 -> 2.3.0)
- cligj (0.5.0 -> 0.7.1)
- pandas (1.1.3 -> 1.1.4)
- panel (0.9.7 -> 0.10.2)
- prometheus-client (0.8.0 -> 0.9.0)
- toml (0.10.1 -> 0.10.2)
- yarl (1.6.0 -> 1.6.3)
- aiohttp (3.7.2 -> 3.7.3)
- cftime (1.2.1 -> 1.3.0)
- fiona (1.8.17 -> 1.8.18)
- holoviews (1.13.4 -> 1.14.0)
- kiwisolver (1.2.0 -> 1.3.1)
- scipy (1.5.2 -> 1.5.4)
- h5py (2.10.0 -> 3.1.0)
- hvplot (0.6.0 -> 0.7.0)
- pathspec (0.8.0 -> 0.8.1)
- regex (2020.9.27 -> 2020.11.13)
- zarr (2.5.0 -> 2.6.1)
@weiji14 weiji14 marked this pull request as ready for review December 4, 2020 09:46
@weiji14 weiji14 merged commit 565f22b into master Dec 4, 2020
@weiji14 weiji14 deleted the dependencies/poetry-1.1.4 branch December 4, 2020 10:16
@weiji14 weiji14 added the maintenance 🧰 Keeping things tidy label Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file maintenance 🧰 Keeping things tidy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant