Skip to content

Raise the packaging pin so PyInstaller resolves to a current release - #197

Open
OneSixForensics wants to merge 1 commit into
abrignoni:mainfrom
OneSixForensics:fix/packaging-pin-blocks-pyinstaller
Open

Raise the packaging pin so PyInstaller resolves to a current release#197
OneSixForensics wants to merge 1 commit into
abrignoni:mainfrom
OneSixForensics:fix/packaging-pin-blocks-pyinstaller

Conversation

@OneSixForensics

Copy link
Copy Markdown

The problem

requirements.txt pins packaging==20.1. PyInstaller 6.x requires packaging>=22.0, so pip cannot take it, backtracks, and lands on the newest release that carries no packaging constraint at all — 4.5.1, from 2021:

pip install -r requirements.txt pyinstaller
  packaging    20.1
  pyinstaller  4.5.1      <- no error, no warning

4.5.1 predates Python 3.14 and does not support the hide_console option scripts/pyinstaller/vleappGUI.spec uses, so a build from a clean environment fails in ways that point nowhere near this pin. You only notice if you happen to check which PyInstaller you actually got.

The change

packaging is not imported anywhere in VLEAPP — nothing here reads it.

24.1 is the value iLEAPP already carries, so this matches an existing core rather than inventing a version. From the same clean resolution:

  packaging    24.1
  pyinstaller  6.22.2

Verified

pip dry-run resolution against this repo's own requirements.txt, both ways, changing nothing but this line: 20.1 → PyInstaller 4.5.1, 24.1 → PyInstaller 6.22.2.

The same one-line change is going to the other affected cores; it was found while building DLEAPP, where it is #124. iLEAPP is already on 24.1 and is unaffected.

requirements.txt pinned packaging==20.1. PyInstaller 6.x requires
packaging>=22.0, so pip cannot take it and backtracks to the newest release
carrying no packaging constraint at all: 4.5.1, from 2021.

    pip install -r requirements.txt pyinstaller
      packaging    20.1
      pyinstaller  4.5.1     <- silent, no error

4.5.1 predates Python 3.14 and does not support the hide_console option that
scripts/pyinstaller/vleappGUI.spec uses, so a build from a clean environment
fails for reasons that point nowhere near this pin.

packaging is not imported anywhere in VLEAPP; the pin predates the current
requirements and nothing here reads it.
24.1 is the value iLEAPP already carries, so this brings the two into line
rather than inventing a version. With the bump, from the same clean resolution:

      packaging    24.1
      pyinstaller  6.22.2

Verified by dry-run resolution against this repo's own requirements.txt, both
ways, changing nothing but this line.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant