Skip to content

Commit 91d4f7b

Browse files
authored
Update to Python 3.13 (#50)
* Upgrading * Update dockerfile and poetry lock file
1 parent bb41201 commit 91d4f7b

File tree

6 files changed

+94
-70
lines changed

6 files changed

+94
-70
lines changed

.github/workflows/docker-build.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build Docker image
2+
3+
on:
4+
pull_request:
5+
6+
env:
7+
IMAGE_NAME: graphedexcel
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
push:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
18+
steps:
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
21+
- name: Build image
22+
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"

.github/workflows/python-app.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
strategy:
3030
matrix:
31-
python-version: ["3.10", "3.11", "3.12"]
31+
python-version: ["3.10", "3.11", "3.13"]
3232

3333
steps:
3434
# 1. Check out the repository

.python-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12.5
1+
3.13

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim@sha256:5148c0e4bbb64271bca1d3322360ebf4bfb7564507ae32dd639322e4952a6b16 AS builder
1+
FROM python:3.13-slim@sha256:751d8bece269ba9e672b3f2226050e7e6fb3f3da3408b5dcb5d415a054fcb061 AS builder
22

33

44
RUN pip install --no-cache-dir poetry==1.8.4
@@ -16,7 +16,7 @@ COPY . .
1616
RUN poetry install --only main --no-interaction --no-ansi
1717

1818
# Runtime stage
19-
FROM python:3.11-slim@sha256:5148c0e4bbb64271bca1d3322360ebf4bfb7564507ae32dd639322e4952a6b16
19+
FROM python:3.13-slim@sha256:751d8bece269ba9e672b3f2226050e7e6fb3f3da3408b5dcb5d415a054fcb061
2020

2121
LABEL org.opencontainers.image.source=https://github.com/dalager/graphedexcel
2222
LABEL org.opencontainers.image.description="Graphedexcel will take an Excel file and create a graph datastructure and a visualisation of the graph."

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![current release version](https://img.shields.io/github/release/dalager/graphedexcel.svg?style=flat-square)](https://github.com/dalager/graphedexcel/releases)
44
[![pypi version](https://img.shields.io/pypi/v/graphedexcel.svg?style=flat-square)](https://pypi.python.org/pypi/graphedexcel)
5-
![Python Version](https://img.shields.io/badge/python-3.10%3A3.12-blue?style=flat-square)
5+
![Python Version](https://img.shields.io/badge/python-3.10%3A3.13-blue?style=flat-square)
66
[![codecov](https://codecov.io/github/dalager/graphedexcel/branch/main/graph/badge.svg?token=CJM0EAUF9M)](https://codecov.io/github/dalager/graphedexcel)
77
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9620/badge)](https://www.bestpractices.dev/projects/9620)
88

0 commit comments

Comments
 (0)