From 9a0c7780cb934f80c916e802fce3fc932e87a66c Mon Sep 17 00:00:00 2001 From: David Cooper Date: Wed, 16 Oct 2024 11:02:52 -0400 Subject: [PATCH] Move to Python 3.13 --- .github/workflows/docs.yml | 4 ++-- client/package-lock.json | 8 ++++---- client/package.json | 2 +- server/Dockerfile | 2 +- server/poetry.lock | 7 +++---- server/pyproject.toml | 3 ++- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 94e31c2..097bde9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,10 +30,10 @@ jobs: # Get a full clone so there's a local copy of gh-pages to commit to fetch-depth: 0 - - name: Setup Python 3.12 + name: Setup Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Deploy docs run: | diff --git a/client/package-lock.json b/client/package-lock.json index 52723eb..b672cac 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -30,7 +30,7 @@ "esbuild-style-plugin": "^1.6.3", "esbuild-svelte": "^0.8.2", "eslint": "^8.57.1", - "eslint-plugin-svelte": "^2.44.1", + "eslint-plugin-svelte": "^2.45.0", "eventemitter3": "^5.0.1", "fs-extra": "^11.2.0", "material-ui-colors": "^1.0.0", @@ -5411,9 +5411,9 @@ } }, "node_modules/eslint-plugin-svelte": { - "version": "2.44.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.44.1.tgz", - "integrity": "sha512-w6wkoJPw1FJKFtM/2oln21rlu5+HTd2CSkkzhm32A+trNoW2EYQqTQAbDTU6k2GI/6Vh64rBHYQejqEgDld7fw==", + "version": "2.45.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.45.0.tgz", + "integrity": "sha512-8wOaRUCq0M+8yiR5bXrwKzemp6aIzt+19LoB+LcrizkyyIIIk8F24KuY3paQS2haGet5JPFJVuYgvkX2uy3Uiw==", "dev": true, "license": "MIT", "dependencies": { diff --git a/client/package.json b/client/package.json index 8aefbab..3e7af4b 100644 --- a/client/package.json +++ b/client/package.json @@ -58,7 +58,7 @@ "esbuild-style-plugin": "^1.6.3", "esbuild-svelte": "^0.8.2", "eslint": "^8.57.1", - "eslint-plugin-svelte": "^2.44.1", + "eslint-plugin-svelte": "^2.45.0", "eventemitter3": "^5.0.1", "fs-extra": "^11.2.0", "material-ui-colors": "^1.0.0", diff --git a/server/Dockerfile b/server/Dockerfile index 2dad82c..472dc92 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,6 +1,6 @@ ARG DEBIAN_VERSION=bookworm ARG NODE_VERSION=22 -ARG PYTHON_VERSION=3.12 +ARG PYTHON_VERSION=3.13 # Install and build node-related files for front-end diff --git a/server/poetry.lock b/server/poetry.lock index 9ae6551..0fd46dc 100644 --- a/server/poetry.lock +++ b/server/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "anyio" @@ -476,7 +476,6 @@ prompt-toolkit = ">=3.0.41,<3.1.0" pygments = ">=2.4.0" stack-data = "*" traitlets = ">=5.13.0" -typing-extensions = {version = ">=4.6", markers = "python_version < \"3.12\""} [package.extras] all = ["ipython[black,doc,kernel,matplotlib,nbconvert,nbformat,notebook,parallel,qtconsole]", "ipython[test,test-extra]"] @@ -1279,5 +1278,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.11" -content-hash = "4bd57ce51dcf3a67210961f6ce70aafba64216f15f52367d74dff554b84b9dc1" +python-versions = "^3.12" +content-hash = "4b9e4abb394e4047029c0de9f968cdb1f09b0d220edd7a75cf5954a0f5c8e3ef" diff --git a/server/pyproject.toml b/server/pyproject.toml index eca1cb0..f775c95 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -8,7 +8,7 @@ readme = "../README.md" package-mode = false [tool.poetry.dependencies] -python = "^3.11" +python = "^3.12" django = "^5.1.2" django-admin-logs = "^1.3.0" django-admin-notice = "^3.1.0" @@ -24,6 +24,7 @@ psycopg = "^3.2.3" python-dotenv = "^1.0.1" schema = "^0.7.7" starlette = "^0.41.0" +typing-extensions = "^4.12.2" # For Python 3.13 + pgtrigger uvicorn = {extras = ["standard"], version = "^0.32.0"} wait-for-it = "^2.3.0"