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 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 08:00:36 +01:00
parent 24b6fae5b0
commit 30a9b39367
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ jobs:
run: | run: |
python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt pip install -r requirements.txt
pip install nuitka orderedset zstandard pip install nuitka zstandard
- name: Download NER model - name: Download NER model
run: | run: |

View File

@@ -19,7 +19,7 @@ echo [build] Verification de Python...
python --version || (echo Python introuvable & exit /b 1) python --version || (echo Python introuvable & exit /b 1)
echo [build] Installation de Nuitka si absent... 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... 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()" python -c "from ner_manager_onnx import NerModelManager; m=NerModelManager(cache_dir='models'); m.load('%MODEL_ID%'); print('Modele OK'); m.unload()"