Commit History
15 days ago
-
fix(deps): fixer pyarrow à 17.0.0 et installer requirements.txt en CI
pyarrow n'était pas fixé : pip installait la 26, qui exige NumPy 2, alors que le projet fixe numpy==1.26.3. Résultat : st.dataframe plantait (onglets Carte et Statistiques) sur toute installation neuve, Docker et HF Spaces compris. Trouvé par le test de fumée Streamlit AppTest. Versions 17 à 25 vérifiées compatibles avec numpy 1.26.3. - requirements.txt et requirements-hf.txt : pyarrow==17.0.0 - CI : installe requirements.txt au lieu d'une liste non fixée, pour tester les mêmes versions qu'en production Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>c1abe3b
-
fix(critical): align saison/peak_hour encoding + restore TensorFlow on HF
cheikhaidev-ui +1: Claude Sonnet 4.6- utils_simple.create_time_features(): fix saison from binary {0,1} to 3-season Dakar encoding {0,1,2} matching data_generator.get_season() - utils_simple.create_time_features(): fix is_peak_hour to include 7-9h morning peak matching data_generator.is_peak_hour() - requirements-hf.txt: restore tensorflow-cpu==2.17.1 so LSTM loads on HF Spaces (previously removed to avoid build timeout) - Dockerfile: remove outdated comment about missing TensorFlow - CLAUDE.md: document correct saison and is_peak_hour invariants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>554fba2
-
fix(docker): remove tensorflow from HF build to fix 30min timeout
cheikhaidev-ui- Add requirements-hf.txt without tensorflow for Docker/HF deployment - Make keras/tensorflow import optional in utils_simple.py - LightGBM-only mode when TF unavailable (graceful degradation) - Local dev keeps tensorflow-cpu==2.17.1 via requirements.txtc27655a