Skip to content

Commit 0d752df

Browse files
authored
Support Python 3.11 (#134)
1 parent 61bdee1 commit 0d752df

File tree

6 files changed

+121
-97
lines changed

6 files changed

+121
-97
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
POETRY_VERSION: "1.2.2"
12-
PYTHON_VERSION: "3.9"
12+
PYTHON_VERSION: "3.10"
1313

1414
jobs:
1515
deploy:

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on: [push, pull_request]
44

55
env:
66
POETRY_VERSION: "1.2.2"
7-
PYTHON_VERSION: "3.9"
7+
PYTHON_VERSION: "3.10"
88

99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [ "3.8", "3.9", "3.10" ]
14+
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
1515
steps:
1616
- uses: actions/checkout@v3
1717
- name: Install poetry

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# subtle errors when using MUSL.
99
# - These Python packages usually only provide binary wheels for GLIBC, so the packages
1010
# will need to be recompiled fully within the Docker images, increasing build times.
11-
FROM python:3.9-slim-bullseye AS python_builder
11+
FROM python:3.10-slim-bullseye AS python_builder
1212

1313
# Pin Poetry to a specific version to make Docker builds reproducible.
1414
ENV POETRY_VERSION 1.2.2
@@ -60,7 +60,7 @@ RUN poetry build && \
6060

6161
## Final Image
6262
# The image used in the final image MUST match exactly to the python_builder image.
63-
FROM python:3.9-slim-bullseye
63+
FROM python:3.10-slim-bullseye
6464

6565
ENV PYTHONDONTWRITEBYTECODE 1
6666
ENV PYTHONBUFFERED 1

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
nox.options.sessions = ["fmt_check", "lint", "type_check", "test", "docs"]
1010

1111

12-
@session(python=["3.8", "3.9", "3.10"])
12+
@session(python=["3.8", "3.9", "3.10", "3.11"])
1313
def test(s: Session) -> None:
1414
s.install(".", "pytest", "pytest-cov")
1515
s.run(

0 commit comments

Comments
 (0)