Skip to content

Commit cd4faee

Browse files
Bump python from 3.10.7 to 3.11.0 (#304)
* Bump python from 3.10.7 to 3.11.0 Bumps python from 3.10.7 to 3.11.0. --- updated-dependencies: - dependency-name: python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update Python compatible versions * Update uvloop to 0.17 Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mathieu Leplatre <[email protected]>
1 parent 954b5f6 commit cd4faee

File tree

3 files changed

+42
-25
lines changed

3 files changed

+42
-25
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Creating a python base with shared environment variables
2-
FROM python:3.10.7 as base
2+
FROM python:3.11.0 as base
33
ENV PIP_NO_CACHE_DIR=off \
44
PIP_DEFAULT_TIMEOUT=100 \
55
PIP_DISABLE_PIP_VERSION_CHECK=on \
@@ -21,7 +21,7 @@ COPY ./poetry.lock ./pyproject.toml ./
2121
RUN poetry install --no-dev --no-root
2222

2323
# `production` stage uses the dependencies downloaded in the `base` stage
24-
FROM python:3.10.7-slim as production
24+
FROM python:3.11.0-slim as production
2525
ENV PORT=8000 \
2626
PYTHONUNBUFFERED=1 \
2727
PYTHONDONTWRITEBYTECODE=1 \

poetry.lock

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["@mozilla/jbi-core"]
66
license = "MPL"
77

88
[tool.poetry.dependencies]
9-
python = ">=3.10 <3.11"
9+
python = ">=3.10 <3.12"
1010
fastapi = "^0.86.0"
1111
pydantic = {version = "^1.10.2", extras = ["dotenv", "email"]}
1212
uvicorn = {extras = ["standard"], version = "^0.19.0"}

0 commit comments

Comments
 (0)