diff --git a/Dockerfile b/Dockerfile index a747e91..267b9d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12-slim-bookworm AS base +FROM python:3.13-slim-bookworm AS base RUN apt-get update \ && apt-get upgrade -y \ && apt-get install -y --no-install-recommends curl git build-essential \ @@ -10,7 +10,7 @@ FROM base AS install WORKDIR /home/code # allow controlling the poetry installation of dependencies via external args -ARG INSTALL_ARGS="--no-root" +ARG INSTALL_ARGS="--no-root --no-interaction --no-ansi" ENV POETRY_HOME="/opt/poetry" ENV PATH="$POETRY_HOME/bin:$PATH" COPY pyproject.toml poetry.lock ./ diff --git a/pyproject.toml b/pyproject.toml index 53b327d..cc241b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,19 +1,20 @@ [tool.poetry] name = "fastapi-sqlalchemy-asyncpg" -version = "0.0.16" +version = "0.0.17" description = "" authors = ["Jakub Miazek "] packages = [] license = "MIT" +package-mode = false [tool.poetry.dependencies] -python = "^3.12" +python = "^3.13" fastapi = {version = "^0.115.2", extras = ["all"]} pydantic = {version = "^2.9.2", extras = ["email"]} pydantic-settings = "^2.6.0" sqlalchemy = "^2.0.36" uvicorn = { version = "^0.32.0", extras = ["standard"]} -asyncpg = "^0.29.0" +asyncpg = "^0.30.0" alembic = "^1.13.3" httpx = "^0.27.2" pytest = "^8.3.3" @@ -34,6 +35,7 @@ polyfactory = "^2.17.0" granian = "^1.6.1" transformers = "^4.45.2" apscheduler = {version = "^4.0.0a5", extras = ["redis,sqlalchemy"]} +pendulum = {version = "^3.0.0"} [tool.poetry.group.dev.dependencies] devtools = { extras = ["pygments"], version = "^0.12.2" } @@ -58,8 +60,8 @@ lint.ignore = ["E501"] # Exclude a variety of commonly ignored directories. exclude = ["alembic",] -# Assume Python 3.12 -target-version = "py312" +# Assume Python 3.13 +target-version = "py313" [tool.ruff.lint.flake8-quotes] docstring-quotes = "double"