Merge pull request #304 from migrate-from-pyqt-to-pyside

Migrate from PyQT6 to PySide6
This commit is contained in:
Debanjum 2023-07-13 11:54:47 -07:00 committed by GitHub
commit b2718d330c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@ LABEL org.opencontainers.image.source https://github.com/khoj-ai/khoj
# Install System Dependencies
RUN apt update -y && \
apt -y install python3-pip python3-pyqt6 git
apt -y install python3-pip git
# Install Application
COPY . .

View file

@ -46,7 +46,7 @@ dependencies = [
"tenacity >= 8.2.2",
"pillow == 9.3.0",
"pydantic >= 1.10.10",
"pyqt6 == 6.3.1",
"pyside6 >= 6.5.1",
"pyyaml == 6.0",
"rich >= 13.3.1",
"schedule == 1.1.0",

View file

@ -2,8 +2,8 @@
import webbrowser
# External Packages
from PyQt6 import QtGui, QtWidgets
from PyQt6.QtCore import Qt
from PySide6 import QtGui, QtWidgets
from PySide6.QtCore import Qt
# Internal Packages
from khoj.utils import constants

View file

@ -2,7 +2,7 @@
import webbrowser
# External Packages
from PyQt6 import QtGui, QtWidgets
from PySide6 import QtGui, QtWidgets
# Internal Packages
from khoj.utils import constants, state

View file

@ -21,8 +21,8 @@ warnings.filterwarnings("ignore", message=r"legacy way to download files from th
# External Packages
import uvicorn
from fastapi import FastAPI
from PyQt6 import QtWidgets
from PyQt6.QtCore import QThread, QTimer
from PySide6 import QtWidgets
from PySide6.QtCore import QThread, QTimer
from rich.logging import RichHandler
import schedule