mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Migrate from PyQT6 to PySide6
This commit is contained in:
parent
83ed8561ee
commit
9c76150895
5 changed files with 7 additions and 7 deletions
|
@ -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 . .
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue