Skip to content

Upgrade pyinstaller - #2016

Open
amilcarlucas wants to merge 2 commits into
masterfrom
upgrade_pyinstaller
Open

Upgrade pyinstaller#2016
amilcarlucas wants to merge 2 commits into
masterfrom
upgrade_pyinstaller

Conversation

@amilcarlucas

Copy link
Copy Markdown
Collaborator

Description

Upgrade pyinstaller and remove an outdated test

Checklist

  • Run pre-commit checks locally
  • Verified by a human programmer
  • All commits are signed off (use git commit --signoff)
  • Code follows our coding standards
  • Documentation updated if needed
  • No breaking changes or properly documented

Testing

Describe how you tested these changes:

  • Unit tests pass
  • Integration tests pass
  • Manual testing performed
  • Tested on flight controller hardware

Copilot AI lite review requested due to automatic review settings September 2, 2026 10:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Upgrades the pinned PyInstaller toolchain versions and removes a Tcl/Tk bundling workaround + corresponding CI assertion used when building the Windows/macOS distributables.

Changes:

  • Bump pyinstaller to 6.22.2 and pyinstaller-hooks-contrib to 2026.7 for win/mac/linux build dependency groups.
  • Remove custom Tcl/Tk discovery + TCL_LIBRARY/TK_LIBRARY environment setup from the Windows .spec file.
  • Remove the CI step that asserted Tcl/Tk data files were present in the built Windows artifact.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
windows/ardupilot_methodic_configurator.spec Removes explicit Tcl/Tk environment setup previously used to ensure Tk data bundling.
pyproject.toml Updates pinned PyInstaller and hooks-contrib versions for distribution dependency groups.
.github/workflows/build_windows_macos.yml Removes a build-time assertion verifying bundled Tcl/Tk library data presence.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 4 to 6
from PyInstaller.utils.hooks import collect_submodules
import certifi
import os
throw "PyInstaller did not bundle the Tcl/Tk library data."
}
del ardupilot_methodic_configurator.spec

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.

2 participants