From 7a0a1f6047cdc150afdb92bbae65b85439d819bc Mon Sep 17 00:00:00 2001 From: Xarvex <60973030+xarvex@users.noreply.github.com> Date: Sun, 28 Jun 2026 01:23:03 -0500 Subject: [PATCH] fix(pyproject): allow Python 3.13 to function (#1047) * fix(pyproject): allow Python 3.13 to function * chore(nix): use Python 3.13 * fix(nix): add forgotten `audioop-lts` --- flake.nix | 2 +- nix/package/default.nix | 1 + pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index ffde5e2e..ee789bb3 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ perSystem = { pkgs, ... }: let - python3 = pkgs.python312; + python3 = pkgs.python313; in { packages = diff --git a/nix/package/default.nix b/nix/package/default.nix index b609e5f9..080e9ee0 100644 --- a/nix/package/default.nix +++ b/nix/package/default.nix @@ -95,6 +95,7 @@ python3Packages.buildPythonApplication { dependencies = with python3Packages; [ + audioop-lts chardet ffmpeg-python humanfriendly diff --git a/pyproject.toml b/pyproject.toml index 3649e620..610af9a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,8 +12,9 @@ description = "A User-Focused Photo & File Management System." version = "9.5.7" license = "GPL-3.0-only" readme = "README.md" -requires-python = ">=3.12,<3.13" +requires-python = ">=3.12,<3.14" dependencies = [ + "audioop-lts; python_version >= '3.13'", "chardet~=5.2", "ffmpeg-python~=0.2", "humanfriendly==10.*",