diff --git a/changelog.d/20250819_142137_salome.voltz_scrt_5808_pyinstaller_deprecation_warning.md b/changelog.d/20250819_142137_salome.voltz_scrt_5808_pyinstaller_deprecation_warning.md new file mode 100644 index 0000000000..6fa5208563 --- /dev/null +++ b/changelog.d/20250819_142137_salome.voltz_scrt_5808_pyinstaller_deprecation_warning.md @@ -0,0 +1,42 @@ + + + + + + + +### Fixed + +- Remove PyInstaller's pkg_resources deprecation warning when running PyInstaller-based ggshield. + diff --git a/scripts/build-os-packages/build-os-packages b/scripts/build-os-packages/build-os-packages index 2be2484d10..5508114ce1 100755 --- a/scripts/build-os-packages/build-os-packages +++ b/scripts/build-os-packages/build-os-packages @@ -178,7 +178,7 @@ step_build() { extra_args="--strip" fi - pyinstaller ggshield/__main__.py --name ggshield --noupx $extra_args + pyinstaller ggshield/__main__.py --name ggshield --exclude-module pkg_resources --noupx $extra_args if [ "$HUMAN_OS" != Windows ] ; then # Libraries do not need to be executable