Skip to content

Commit

Permalink
moved from python 3.11 to 3.12 for vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkersigirci committed Dec 14, 2024
1 parent dde63bf commit 40ae21f
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 912 deletions.
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11.7
3.12.8
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ docker-build: ## Build docker image
docker build --tag ${DOCKER_IMAGE} --file docker/Dockerfile --target ${DOCKER_TARGET} .

export-requirements: ## Export requirements to requirements.txt
uv export --format requirements-txt > requirements.txt
@uv export --frozen --no-hashes --only-group dev --format requirements-txt --output-file requirements.txt

run-fasthtml: ## Run fasthtml app
uv run python src/movie_guess/fasthtml_app.py
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG DEV_IMAGE=ghcr.io/astral-sh/uv:bookworm-slim
ARG PROD_IMAGE=ghcr.io/astral-sh/uv:python3.11-bookworm-slim
ARG PROD_IMAGE=ghcr.io/astral-sh/uv:python3.12-bookworm-slim
ARG UID=1000
ARG GID=1000

Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "movie_guess"
version = "0.0.0"
version = "0.0.1"
description = "Guess the movie from its posters and banners"

# NOTE: Overwrites .python-version
requires-python = ">=3.11,<3.13"
requires-python = ">=3.12,<3.13"

authors = [
{name = "İlker SIĞIRCI", email = "[email protected]"},
Expand All @@ -29,7 +29,6 @@ classifiers = [
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

Expand Down
Loading

0 comments on commit 40ae21f

Please sign in to comment.