Skip to content

Commit

Permalink
[Issue 2385] upgrade to python version 3.13.0 (#2541)
Browse files Browse the repository at this point in the history
## Summary
Fixes #{[2385](#2385)}

### Time to review: __5mins__

## Changes proposed
Upgrade python version for API to 3.13.0

## Context for reviewers
New version of python(3.13) was recently released.
  • Loading branch information
babebe authored Oct 22, 2024
1 parent eb804cc commit f27e988
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 94 deletions.
2 changes: 1 addition & 1 deletion .dockleconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DOCKLE_ACCEPT_FILES="file1,path/to/file2,file3/path,etc"
# https://github.com/goodwithtech/dockle#accept-suspicious-environment-variables--files--file-extensions
# The apiflask/settings file is a stub file that apiflask creates, and has no sensitive data in. We are ignoring it since it is unused
DOCKLE_ACCEPT_FILES=api/.venv/lib/python3.12/site-packages/apiflask/settings.py,analytics/.venv/lib/python3.12/site-packages/jedi/settings.py
DOCKLE_ACCEPT_FILES=api/.venv/lib/python3.13/site-packages/apiflask/settings.py,analytics/.venv/lib/python3.12/site-packages/jedi/settings.py
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# The build stage that will be used to deploy to the various environments
# needs to be called `release` in order to integrate with the repo's
# top-level Makefile
FROM python:3.12-slim AS base
FROM python:3.13-slim AS base
# See /documentation/api/package-depedency-management.md#Upgrading Python
# for details on upgrading your Python version

Expand Down
94 changes: 3 additions & 91 deletions api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Nava Engineering <[email protected]>"]
[tool.poetry.dependencies]
# See /documentation/api/package-depedency-management.md#Upgrading Python
# for details on upgrading your Python version
python = "~3.12"
python = "~3.13"
SQLAlchemy = { version = "^2.0.21", extras = ["mypy"] }
alembic = "^1.12.0"
python-dotenv = "^1.0.0"
Expand Down

0 comments on commit f27e988

Please sign in to comment.