Skip to content

Commit 237f6e1

Browse files
authored
feat: Upgrade python version to 3.13 (#2504)
* feat: Upgrade python version to 3.13 Signed-off-by: jamshale <jamiehalebc@gmail.com> * Try dfferent technique for getting correct python Signed-off-by: jamshale <jamiehalebc@gmail.com> * Update lock file / Add some logging Signed-off-by: jamshale <jamiehalebc@gmail.com> * fix: askar list error with upgraded python Signed-off-by: jamshale <jamiehalebc@gmail.com> * Update lock files Signed-off-by: jamshale <jamiehalebc@gmail.com> * Update oid4vc pydantic to python 3.13 compatible version Signed-off-by: jamshale <jamiehalebc@gmail.com> * fix: Add small wait for rev reg creation Signed-off-by: jamshale <jamiehalebc@gmail.com> * Rebase and update acapy-agent ref Signed-off-by: jamshale <jamiehalebc@gmail.com> * Update lock file Signed-off-by: jamshale <jamiehalebc@gmail.com> * Update acapy-agent refs Signed-off-by: jamshale <jamiehalebc@gmail.com> * Update refs Signed-off-by: jamshale <jamiehalebc@gmail.com> --------- Signed-off-by: jamshale <jamiehalebc@gmail.com>
1 parent 4bf06bf commit 237f6e1

143 files changed

Lines changed: 2559 additions & 2365 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/create-release-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
#----------------------------------------------
4545
- uses: actions/setup-python@v6
4646
with:
47-
python-version: '3.12'
47+
python-version: '3.13'
4848
#----------------------------------------------
4949
# Install poetry
5050
#----------------------------------------------

.github/workflows/create-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# ----------------------------------------------
3030
- uses: actions/setup-python@v6
3131
with:
32-
python-version: '3.12'
32+
python-version: '3.13'
3333
#----------------------------------------------
3434
# Check the latest version from plugins_global lock file
3535
#----------------------------------------------

.github/workflows/pr-linting-and-unit-tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ jobs:
2424
#----------------------------------------------
2525
# Install python and poetry with cache
2626
#----------------------------------------------
27-
- name: Install poetry
28-
run: pipx install poetry==2.1.2
29-
id: setup-poetry
3027
- uses: actions/setup-python@v6
3128
with:
32-
python-version: "3.12"
33-
cache: "poetry"
29+
python-version: "3.13"
30+
- name: Install poetry
31+
run: pipx install poetry==2.1.2 --python python3.13
32+
id: setup-poetry
3433
#----------------------------------------------
3534
# Get changed files
3635
#----------------------------------------------
@@ -72,6 +71,7 @@ jobs:
7271
for dir in ${{ steps.changed-plugins.outputs.changed-plugins }}; do
7372
echo "Installing dependencies for $dir"
7473
cd $dir
74+
echo "Installing dependencies for $dir"
7575
poetry install --no-interaction --no-root --all-extras
7676
cd ..
7777
done

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ["3.12"]
23+
python-version: ["3.13"]
2424
arch: ["amd64", "arm64"]
2525
include:
2626
- arch: amd64

basicmessage_storage/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/python-3/.devcontainer/base.Dockerfile
2-
ARG VARIANT="3.12"
2+
ARG VARIANT="3.13"
33
FROM mcr.microsoft.com/devcontainers/python:${VARIANT}
44

55
ARG POETRY_VERSION="2.1.2"

basicmessage_storage/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dockerfile": "Dockerfile",
77
"context": "..",
88
"args": {
9-
"VARIANT": "3.12-bookworm",
9+
"VARIANT": "3.13-bookworm",
1010
"POETRY_VERSION": "2.1.2"
1111
}
1212
},

basicmessage_storage/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim-bookworm AS base
1+
FROM python:3.13-slim-bookworm AS base
22
WORKDIR /usr/src/app
33

44
# Install and configure poetry
@@ -19,7 +19,7 @@ ARG install_flags='--with integration --extras aca-py'
1919
RUN poetry install ${install_flags}
2020
USER $user
2121

22-
FROM python:3.12-bookworm
22+
FROM python:3.13-bookworm
2323
WORKDIR /usr/src/app
2424
COPY --from=base /usr/src/app/.venv /usr/src/app/.venv
2525
ENV PATH="/usr/src/app/.venv/bin:$PATH"

basicmessage_storage/integration/Dockerfile.test.runner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim-bookworm
1+
FROM python:3.13-slim-bookworm
22
WORKDIR /usr/src/app
33

44
# install poetry

basicmessage_storage/integration/poetry.lock

Lines changed: 2 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

basicmessage_storage/integration/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = []
66
package-mode = false
77

88
[tool.poetry.dependencies]
9-
python = "^3.12"
9+
python = "^3.13"
1010
pytest = "^8.3.5"
1111
pytest-asyncio = "^1.2.0"
1212
requests = "^2.32.0"

0 commit comments

Comments
 (0)