From 30a9b393673f65fa41efae0177f537f465110a60 Mon Sep 17 00:00:00 2001 From: Domi31tls Date: Tue, 17 Feb 2026 08:00:36 +0100 Subject: [PATCH] Fix build : retirer orderedset (incompatible Python 3.12 Windows) orderedset ne compile pas sur Windows/Python 3.12 (longintrepr.h manquant). C'est optionnel pour Nuitka. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/build-windows.yml | 2 +- build_windows.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index e33978b..27c2068 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -34,7 +34,7 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel pip install -r requirements.txt - pip install nuitka orderedset zstandard + pip install nuitka zstandard - name: Download NER model run: | diff --git a/build_windows.bat b/build_windows.bat index f85dd0a..8fd50fd 100644 --- a/build_windows.bat +++ b/build_windows.bat @@ -19,7 +19,7 @@ echo [build] Verification de Python... python --version || (echo Python introuvable & exit /b 1) echo [build] Installation de Nuitka si absent... -pip install nuitka orderedset zstandard 2>nul +pip install nuitka zstandard 2>nul echo [build] Telechargement du modele NER si absent... python -c "from ner_manager_onnx import NerModelManager; m=NerModelManager(cache_dir='models'); m.load('%MODEL_ID%'); print('Modele OK'); m.unload()"