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:
2
.github/workflows/build-windows.yml
vendored
2
.github/workflows/build-windows.yml
vendored
@@ -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: |
|
||||||
|
|||||||
@@ -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()"
|
||||||
|
|||||||
Reference in New Issue
Block a user