Skip to content

Commit

Permalink
Update Python version to 3.13 in Dockerfile, workflows, and issue tem…
Browse files Browse the repository at this point in the history
…plate (#542)

Signed-off-by: Jürgen Kreileder <[email protected]>
  • Loading branch information
jkreileder authored Oct 16, 2024
1 parent 15894f1 commit 017be14
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A clear and concise description of what you expected to happen.
**Environment (please complete the following information):**
- cf-ips-to-hcloud-fw version: [e.g. 1.0.12]
- Deployment method: [e.g. Docker, Python module]
- If Python module, Python Version: [e.g. 3.12]
- If Python module, Python Version: [e.g. 3.13]
- If Python module, OS: [e.g. MacOS 14.3]

**Additional context**
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"

steps:
- name: Harden runner
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
outputs:
hashes: ${{ steps.hash.outputs.hashes }}

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1.10.0@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5

FROM --platform=$BUILDPLATFORM python:3.12.5-slim-bookworm@sha256:59c7332a4a24373861c4a5f0eec2c92b87e3efeb8ddef011744ef9a751b1d11c AS builder
FROM --platform=$BUILDPLATFORM python:3.13.0-slim-bookworm@sha256:2ec5a4a5c3e919570f57675471f081d6299668d909feabd8d4803c6c61af666c AS builder

WORKDIR /usr/src/app

Expand Down Expand Up @@ -33,7 +33,7 @@ RUN --mount=target=src/cf_ips_to_hcloud_fw,source=/src/cf_ips_to_hcloud_fw \
EOF


FROM python:3.12.5-alpine3.20@sha256:c2f41e6a5a67bc39b95be3988dd19fbd05d1b82375c46d9826c592cca014d4de AS final-image
FROM python:3.13.0-alpine3.20@sha256:81362dd1ee15848b118895328e56041149e1521310f238ed5b2cdefe674e6dbf AS final-image

WORKDIR /usr/src/app

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet",
"Topic :: System :: Networking :: Firewalls",
Expand Down

0 comments on commit 017be14

Please sign in to comment.