refactor: Update Python version support and reorganize requirements files...#63
Merged
duartebarbosadev merged 2 commits intomainfrom Nov 16, 2025
Merged
Conversation
…iles; Add smoke test functionality and update CI workflow for startup regression checks
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request refactors dependency management, adds smoke test functionality for CI startup regression checks, and updates documentation to reflect current Python version support. The changes remove unused dependencies (mediapipe, pyiqa) that are no longer required by the application.
- Added headless smoke test capability with
--smoke-testand--smoke-delay-mscommand-line arguments to catch startup regressions in CI - Reorganized requirements files (alphabetically) and removed unused dependencies (
mediapipe,pyiqa, and transitive dependenciestransformers,safetensors) - Updated documentation to clarify Python 3.12 as the tested version without referencing removed dependencies
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/main.py | Added smoke test command-line arguments and auto-exit timer for CI validation |
| requirements.txt | Reorganized alphabetically, removed pyiqa and mediapipe, added openai as explicit dependency |
| requirements-cuda.txt | Same reorganization as requirements.txt with onnxruntime-gpu instead of onnxruntime |
| README.md | Updated Python version note to remove MediaPipe reference and clarify 3.12 support |
| .github/workflows/release-build.yml | Removed PyInstaller hidden imports and data collection for removed packages |
| .github/workflows/ci.yml | Added smoke test step to catch startup regressions in headless mode |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ackage importability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
...;Add smoke test functionality and update CI workflow for startup regression checks
This pull request introduces a new smoke test capability for CI and updates dependency handling and documentation to reflect current support and packaging requirements. The main changes are the addition of a headless smoke test to catch startup regressions, removal of unused dependencies (notably
mediapipeandpyiqa), and an update to documentation clarifying Python version support.CI and Testing Improvements
.github/workflows/ci.yml), which briefly launches the app in offscreen mode to catch startup regressions. This is triggered via the new--smoke-testand--smoke-delay-mscommand-line arguments insrc/main.pyand is controlled by a new environment variable. [1] [2] [3]Dependency and Packaging Updates
mediapipeandpyiqafrom the requirements and packaging scripts (requirements-cuda.txt,.github/workflows/release-build.yml) to reflect that these are no longer needed for builds or runtime. [1] [2] [3] [4] [5]Documentation Updates
mediapipeis required for interpreter choice.