Files
docker-stacks/docs/contributing/packages.md
Ayaz Salikhov 9fa1a586fc Apply suggestions from code review
Co-authored-by: Tania Allard <taniar.allard@gmail.com>
2022-02-02 16:18:28 +03:00

29 lines
1006 B
Markdown

# Package Updates
As a general rule, we do not pin package versions in our `Dockerfile`s.
The dependencies resolution is a difficult thing to do.
This means that packages might have old versions.
Images are rebuilt weekly, so usually, packages receive updates quite frequently.
```{note}
We pin major.minor version of python, so this will stay the same even after invoking the `mamba update` command.
```
## Outdated packages
In order to help identifying packages that can be updated you can use the following helper tool.
It will list all the packages installed in the `Dockerfile` that can be updated -- dependencies are
filtered to focus only on requested packages.
```bash
make check-outdated/base-notebook
# INFO test_outdated:test_outdated.py:80 3/8 (38%) packages could be updated
# INFO test_outdated:test_outdated.py:82
# Package Current Newest
# ---------- --------- --------
# conda 4.7.12 4.8.2
# jupyterlab 1.2.5 2.0.0
# python 3.7.4 3.8.2
```