Skip to content

Commit

Permalink
⬆️ Set python version to 3.12
Browse files Browse the repository at this point in the history
🚧 probably breaking everything

Signed-off-by: ff137 <ff137@proton.me>
  • Loading branch information
ff137 committed Apr 26, 2024
1 parent 1a4b710 commit 890305f
Show file tree
Hide file tree
Showing 14 changed files with 435 additions and 437 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/python-3/.devcontainer/base.Dockerfile
ARG VARIANT="3.9"
ARG VARIANT="3.12"
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

ARG POETRY_VERSION="1.4"
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"VARIANT": "3.9-bullseye",
"VARIANT": "3.12-bullseye",
"POETRY_VERSION": "1.7.1"
}
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/blackformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.12"
- name: Black Code Formatter Check
# The version of black should be adjusted at the same time dev
# dependencies are updated.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nigthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10"]
python-version: ["3.10", "3.11", "3.12"]
uses: ./.github/workflows/tests.yml
with:
python-version: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
name: Tests
uses: ./.github/workflows/tests.yml
with:
python-version: "3.9"
python-version: "3.12"
os: "ubuntu-latest"
2 changes: 1 addition & 1 deletion .github/workflows/publish-indy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9']
python-version: ['3.9', '3.12']

name: Publish ACA-Py Image (Indy)
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9']
python-version: ['3.9', '3.12']

name: Publish ACA-Py Image
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: "ubuntu-20.04"
tools:
python: "3.9"
python: "3.12"

sphinx:
builder: dirhtml
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG python_version=3.9.18
ARG python_version=3.12.3
FROM python:${python_version}-slim-bullseye AS build

WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.indy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG python_version=3.9.18
ARG python_version=3.12.3
ARG rust_version=1.46

# This image could be replaced with an "indy" image from another repo,
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.run
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG python_version=3.9.16
FROM python:3.9-slim-bullseye
ARG python_version=3.12.3
FROM python:3.12-slim-bullseye

RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG python_version=3.9.18
ARG python_version=3.12.3
FROM python:${python_version}-slim-bullseye

RUN apt-get update -y && \
Expand Down
844 changes: 421 additions & 423 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repository = "https://github.com/hyperledger/aries-cloudagent-python"


[tool.poetry.dependencies]
python = "^3.9"
python = "^3.12"
aiohttp="~3.9.4"
aiohttp-apispec="~2.2.1"
aiohttp-cors="~0.7.0"
Expand Down

0 comments on commit 890305f

Please sign in to comment.