mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Migrate from PyQT6 to PySide6
This commit is contained in:
@@ -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 . .
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -15,8 +15,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user