Migrate from PyQT6 to PySide6

This commit is contained in:
Debanjum Singh Solanky 2023-07-11 18:43:44 -07:00
parent 83ed8561ee
commit 9c76150895
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 # Install System Dependencies
RUN apt update -y && \ RUN apt update -y && \
apt -y install python3-pip python3-pyqt6 git apt -y install python3-pip git
# Install Application # Install Application
COPY . . COPY . .

View file

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

View file

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

View file

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

View file

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