Scanner: move to Python3.14 (#1253)

This commit is contained in:
acelinkio
2026-01-02 03:08:36 -08:00
committed by GitHub
parent 1651473b7b
commit 65784f38dd
5 changed files with 952 additions and 483 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.13
FROM python:3.14
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_PYTHON_DOWNLOADS=0
WORKDIR /app
+1 -1
View File
@@ -3,7 +3,7 @@ name: scanner
dev:
scanner:
imageSelector: ghcr.io/zoriya/kyoo_scanner
devImage: docker.io/astral/uv:python3.13-trixie
devImage: docker.io/astral/uv:python3.14-trixie
workingDir: /app
sync:
- path: .:/app
+2 -2
View File
@@ -1,5 +1,5 @@
{pkgs ? import <nixpkgs> {}}: let
python = pkgs.python313.withPackages (ps:
python = pkgs.python314.withPackages (ps:
with ps; [
fastapi
pydantic
@@ -22,5 +22,5 @@ in
];
UV_PYTHON_PREFERENCE = "only-system";
UV_PYTHON = pkgs.python313;
UV_PYTHON = pkgs.python314;
}
+947 -478
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -20,5 +20,5 @@ pkgs.mkShell {
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH
'';
UV_PYTHON_PREFERENCE = "only-system";
UV_PYTHON = pkgs.python313;
UV_PYTHON = pkgs.python314;
}