fix: migrate chatbot module from PyQt5 to PyQt6 and resolve merge con…#573
Open
apurvafx wants to merge 2 commits into
Conversation
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.
Related Issues
Chatbot module was using PyQt5 which causes import errors on systems with only PyQt6 installed. Also resolved merge conflicts between local and remote branch.
Purpose
Migrate the eSim AI Chatbot module from PyQt5 to PyQt6 to ensure compatibility with modern PyQt6-based environments and resolve branch merge conflicts.
Approach
from PyQt5imports withfrom PyQt6in chatbot module filesexec_()→exec()(PyQt6 removed the underscore version)QActionimport path (moved fromQtWidgetstoQtGuiin PyQt6)chatbot_thread.py— retained PyQt6 import while preservingsearch_knowledgeimportFiles Changed
src/chatbot/chatbot_thread.pysrc/chatbot/image_handler.pysrc/frontEnd/Chatbot.pyTesting
Tested on Windows 10, Python 3.10 — chatbot module imports successfully with no PyQt6-related errors.