From 8264c5a6da46b11fe82c0ed4b639b79316f18a24 Mon Sep 17 00:00:00 2001 From: Gergo Jedlicska Date: Mon, 17 Nov 2025 20:51:46 +0100 Subject: [PATCH 1/2] bump dependencies --- mise.toml | 2 ++ pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 mise.toml diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..23f7d3a --- /dev/null +++ b/mise.toml @@ -0,0 +1,2 @@ +[tools] +python = '3.13' diff --git a/pyproject.toml b/pyproject.toml index 8e85cd9..9a4fcdb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "speckle-automate-function" version = "0.1.0" -requires-python = ">=3.11" +requires-python = ">=3.13" authors = [{ name = "Speckle Systems", email = "hello@speckle.systems" }] maintainers = [{ name = "Speckle Systems", email = "hello@speckle.systems" }] description = "A Speckle Automate function template using specklepy" @@ -9,7 +9,7 @@ readme = "README.md" license = "Apache-2.0" keywords = ["speckle", "automate", "bim", "aec"] -dependencies = ["specklepy==3.0.0"] +dependencies = ["specklepy==3.1.0"] [project.optional-dependencies] dev = [ From 08d79e86737802509842df8dd34a19baef904da9 Mon Sep 17 00:00:00 2001 From: Gergo Jedlicska Date: Tue, 18 Nov 2025 12:15:12 +0100 Subject: [PATCH 2/2] chore: bump python in more places --- .github/workflows/main.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ea0902..b0e8cab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v5.0.0 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.13" - name: Install dependencies run: | pip install .[dev] diff --git a/Dockerfile b/Dockerfile index 7663c3f..555b9ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # We use the official Python 3.11 image as our base image and will add our code to it. For more details, see https://hub.docker.com/_/python -FROM python:3.11-slim +FROM python:3.13-slim # We set the working directory to be the /home/speckle directory; all of our files will be copied here. WORKDIR /home/speckle @@ -13,4 +13,4 @@ RUN pip install --no-cache-dir . # Copy all of our code and assets from the local directory into the /home/speckle directory of the container. # We also ensure that the user 'speckle' owns these files, so it can access them # This assumes that the Dockerfile is in the same directory as the rest of the code -COPY . /home/speckle \ No newline at end of file +COPY . /home/speckle