Skip to content

Commit 208621b

Browse files
build: Set default Python version to use to 3.12.1 (#110)
As well as start using `-bookworm` flavored images. On top of that update pip, pipx, and other Python dev tools to latest versions.
1 parent a3987c8 commit 208621b

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11.3-slim-bullseye as python-base
1+
FROM python:3.12.1-slim-bookworm as python-base
22

33
LABEL maintainer="Igor Davydenko <iam@igordavydenko.com>"
44
LABEL description="Add poetry, pre-commit and tox installed via pipx as well as other system dev tools to official Python slim Docker image."
@@ -38,12 +38,12 @@ ENV PATH="${PIPX_BIN_DIR}:${PATH}"
3838
# ./scripts/pip-latest-release.sh pip pipx poetry pre-commit tox virtualenv
3939
# ```
4040
#
41-
ENV PIP_VERSION="22.3.1"
42-
ENV PIPX_VERSION="1.1.0"
43-
ENV POETRY_VERSION="1.3.1"
44-
ENV PRE_COMMIT_VERSION="2.21.0"
45-
ENV TOX_VERSION="4.2.6"
46-
ENV VIRTUALENV_VERSION="20.17.1"
41+
ENV PIP_VERSION="23.3.2"
42+
ENV PIPX_VERSION="1.4.3"
43+
ENV POETRY_VERSION="1.7.1"
44+
ENV PRE_COMMIT_VERSION="3.6.0"
45+
ENV TOX_VERSION="4.12.1"
46+
ENV VIRTUALENV_VERSION="20.25.0"
4747

4848
RUN python3 -m pip install --no-cache-dir pip==${PIP_VERSION} pipx==${PIPX_VERSION} virtualenv==${VIRTUALENV_VERSION} \
4949
&& python3 -m pipx install --pip-args=--no-cache-dir poetry==${POETRY_VERSION} \

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ FROM playpauseandstop/docker-python:6.2.0
1313

1414
### Included dev-tools
1515

16-
- [pip](https://pip.pypa.io) 22.3.1
17-
- [pipx](https://pypa.github.io/pipx/) 1.1.0
18-
- [poetry](https://python-poetry.org) 1.3.1
19-
- [pre-commit](https://pre-commit.com) 2.21.0
20-
- [tox](https://tox.readthedocs.io/) 4.2.6
21-
- [virtualenv](https://virtualenv.pypa.io) 20.17.1
22-
- [curl](https://curl.haxx.se) 7.74.0
23-
- [gcc & g++](https://gcc.gnu.org) 10.2.1
24-
- [git](https://git-scm.com) 2.30.2
16+
- [pip](https://pip.pypa.io) 23.3.2
17+
- [pipx](https://pypa.github.io/pipx/) 1.4.3
18+
- [poetry](https://python-poetry.org) 1.7.1
19+
- [pre-commit](https://pre-commit.com) 3.6.0
20+
- [tox](https://tox.readthedocs.io/) 4.12.1
21+
- [virtualenv](https://virtualenv.pypa.io) 20.25.0
22+
- [curl](https://curl.haxx.se) 7.88.1
23+
- [gcc & g++](https://gcc.gnu.org) 12.2.0
24+
- [git](https://git-scm.com) 2.39.2
2525
- [locales](https://packages.debian.org/stretch/locales) &
2626
[locales-all](https://packages.debian.org/stretch/locales-all)
2727
- [make](https://www.gnu.org/software/make) 4.3
28-
- [nano](https://www.nano-editor.org) 5.4
28+
- [nano](https://www.nano-editor.org) 7.2
2929
- [gettext](https://www.gnu.org/software/gettext) 0.21
3030
- [openssh-client](https://packages.debian.org/stretch/openssh-client) 8.4p1
31-
- [rsync](https://rsync.samba.org) 3.2.3
31+
- [rsync](https://rsync.samba.org) 3.2.7
3232

3333
### Python versions
3434

0 commit comments

Comments
 (0)