Skip to content

Commit

Permalink
Updates to Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture committed Jun 15, 2024
1 parent bbdde75 commit a38cfe8
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: abatilo/actions-poetry@v3.0.0

- id: echo-version
Expand All @@ -47,7 +47,7 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: abatilo/actions-poetry@v3.0.0

- run: poetry build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maintenance-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: abatilo/actions-poetry@v3.0.0

- run: poetry update --lock
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
ref: main
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: abatilo/actions-poetry@v3.0.0

- id: bump
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
ref: ${{ inputs.ref || github.sha }}
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
7 changes: 5 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
version: 2

build:
image: latest
os: ubuntu-22.04
tools:
python: "3.12"

formats: all

python:
version: 3.11
install:
- path: .
method: pip

...
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/python:3.11-alpine
FROM docker.io/python:3.12-alpine

MAINTAINER Frank Sachsenheim <funkyfuture@riseup.net>

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/python:3.11-alpine
FROM docker.io/python:3.12-alpine

CMD ["deck-chores"]
LABEL org.label-schema.name="deck-chores"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ deck-chores = "deck_chores.main:main"
# the Dockerfile{-dev} have these values too
# .readthedocs.yml must be in parity with the Python version
# it's also all over the Github workflows
python = "^3.11"
python = "^3.12"
apscheduler = "^3.6"
cerberus = "^1.3.4"
docker = {version = "^7", extras = ["ssh"]}
Expand Down

0 comments on commit a38cfe8

Please sign in to comment.