Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/api-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.14"
python-version: "3.13"

- name: Install uv
run: pip install uv
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.14
FROM python:3.13

RUN mkdir /app
COPY . /app
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PYTHON := python3.14
PYTHON := python3.13
VENV := .venv
BIN := $(VENV)/bin
UV := uv
Expand Down
2 changes: 1 addition & 1 deletion app/types/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_extra(self, key, default=None):
return getattr(self, "__pydantic_extra__", {}).get(key, default)

@classmethod
def normalize_dt(cls, dt: datetime | None) -> datetime | None:
def normalize_dt(cls, dt: datetime) -> datetime:
"""Normalize datetime to UTC-aware."""
# Convert naive datetimes into UTC-aware versions
if dt is None:
Expand Down
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ persistent=yes

# Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint.
py-version=3.14
py-version=3.13

# Discover python modules and packages in the file system subtree.
recursive=no
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "iri-api-python"
version = "0.1.0"
requires-python = ">=3.14,<3.15"
requires-python = ">=3.13,<3.14"
dependencies = [
"fastapi[standard]>=0.128.0,<0.129.0",
"uvicorn[standard]>=0.40.0,<0.41.0",
Expand Down