feat(build): version release résolue au build avec repli dev (P1-7)

Crée gui_v6/version.py (DEFAULT_VERSION + resolve_version()) qui tente
d'importer gui_v6._build_version (généré au build Windows, non commité).
Câble gui_v6.__version__ sur resolve_version(). Ajoute gui_v6/_build_version.py
au .gitignore et aux hiddenimports du spec PyInstaller. 4 tests TDD.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 11:02:57 +02:00
parent 8f9107a27f
commit 5f05ba0fb8
5 changed files with 64 additions and 1 deletions

4
.gitignore vendored
View File

@@ -49,6 +49,10 @@ models/
# build_info.py : régénéré automatiquement par scripts/rebuild_anon.ps1
# avec date/commit/branch. Ne pas versionner.
build_info.py
# gui_v6/_build_version.py : généré au build Windows par build_windows_oneclick.ps1
# (contient BUILD_VERSION = "2026.MM.JJ.HHMM"). Ne pas commiter.
gui_v6/_build_version.py
*.mp3
*.wav
*.mp4