From 37491546603752fb3aed60f74984f250d86b975b Mon Sep 17 00:00:00 2001
From: Markus Heiser <markus.heiser@darmarit.de>
Date: Sat, 23 Nov 2024 11:44:42 +0100
Subject: [PATCH] [mod] add support for Python 3.13

Python 3.13 has been released [1]

- fasttext-predict supports py3.13 from version 0.9.2.3 [2]

[1] https://www.python.org/downloads/release/python-3130/
[2] https://github.com/searxng/fasttext-predict/commit/f2da9cd173

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
---
 .github/workflows/checker.yml     | 2 +-
 .github/workflows/integration.yml | 2 +-
 requirements.txt                  | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/checker.yml b/.github/workflows/checker.yml
index 707433b67..c021b179d 100644
--- a/.github/workflows/checker.yml
+++ b/.github/workflows/checker.yml
@@ -19,7 +19,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v5
         with:
-          python-version: '3.11'
+          python-version: '3.13'
           architecture: 'x64'
 
       - name: Install Python dependencies
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index d7390c068..0d243a201 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -16,7 +16,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-20.04]
-        python-version: ["3.9", "3.10", "3.11", "3.12"]
+        python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
     steps:
       - name: Checkout
         uses: actions/checkout@v4
diff --git a/requirements.txt b/requirements.txt
index 1cd693273..7cf84f002 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -17,6 +17,5 @@ markdown-it-py==3.0.0
 fasttext-predict==0.9.2.4
 tomli==2.0.2; python_version < '3.11'
 msgspec-python313-pre
-eval_type_backport; python_version < '3.9'
 typer-slim==0.15.1
 isodate==0.7.2