Rebase on master - icon/logo fix already implemented#919
Conversation
Co-authored-by: amilcarlucas <24453563+amilcarlucas@users.noreply.github.com>
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
Test Results 2 files 2 suites 1m 47s ⏱️ For more details on these failures, see this check. Results for commit 7a57b3d. |
|
@copilot the original code has been improved in the master branch. It only supports python 3.9+ now. And it should only support python 3.10 in the near future. Please rebase your changes on top of master and review the code to make sure it fixes the bug without introducing regressions. |
Rebased on master (commit 1e2b900). The fix was already implemented in master commit b4ebeb8. The branch now has no additional changes - all functionality is already present in master with the correct Python 3.9+ approach (direct import without fallback). |
Status
This PR has been rebased on master and is now redundant - the fix for missing icons on Linux is already implemented in master branch (commit
b4ebeb8).Original Problem
When installing
ardupilot_methodic_configuratorfrom PyPI usingpip installoruv pip install, the application couldn't find its icon and logo files on Linux, resulting in:This was reported in #298 for version 2.0.3+.
Current Implementation (in master)
The master branch now includes the fix using Python's recommended
importlib.resourcesAPI. The implementation directly imports and usesimportlib.resources.files()without fallback code, which is correct since the project now requires Python 3.9+:Rebase Actions
After rebasing on master (commit 1e2b900):
The fix is already in production in the master branch and works correctly with all installation methods (pip, uv, editable installs, wheel packages).
Closes #298
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.