From 86f4d8dde143e0ffc1b3c54e7069699e32e8c0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Tue, 23 May 2023 21:51:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D`core=E9=87=8D?= =?UTF-8?q?=E5=90=AF`=E7=9A=84=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core_command/core_restart/restart.py | 2 +- poetry.lock | 28 ++----------------- requirements.txt | 5 ++-- 3 files changed, 6 insertions(+), 29 deletions(-) diff --git a/gsuid_core/plugins/core_command/core_restart/restart.py b/gsuid_core/plugins/core_command/core_restart/restart.py index f970568..2e4f577 100644 --- a/gsuid_core/plugins/core_command/core_restart/restart.py +++ b/gsuid_core/plugins/core_command/core_restart/restart.py @@ -7,7 +7,7 @@ from pathlib import Path from gsuid_core.utils.plugins_config.gs_config import core_plugins_config -bot_start = Path(__file__).parents[4] / 'core.py' +bot_start = Path(__file__).parents[3] / 'core.py' restart_sh_path = Path().cwd() / 'gs_restart.sh' update_log_path = Path(__file__).parent / 'update_log.json' diff --git a/poetry.lock b/poetry.lock index d7f5743..eb3cb9c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1844,27 +1844,6 @@ type = "legacy" url = "https://mirrors.bfsu.edu.cn/pypi/web/simple" reference = "mirrors" -[[package]] -name = "pytz-deprecation-shim" -version = "0.1.0.post0" -description = "Shims to make deprecation of pytz easier" -category = "main" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" -files = [ - {file = "pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl", hash = "sha256:8314c9692a636c8eb3bda879b9f119e350e93223ae83e70e80c31675a0fdc1a6"}, - {file = "pytz_deprecation_shim-0.1.0.post0.tar.gz", hash = "sha256:af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d"}, -] - -[package.dependencies] -"backports.zoneinfo" = {version = "*", markers = "python_version >= \"3.6\" and python_version < \"3.9\""} -tzdata = {version = "*", markers = "python_version >= \"3.6\""} - -[package.source] -type = "legacy" -url = "https://mirrors.bfsu.edu.cn/pypi/web/simple" -reference = "mirrors" - [[package]] name = "pyyaml" version = "6.0" @@ -2351,19 +2330,18 @@ reference = "mirrors" [[package]] name = "tzlocal" -version = "4.3" +version = "5.0.1" description = "tzinfo object for the local timezone" category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "tzlocal-4.3-py3-none-any.whl", hash = "sha256:b44c4388f3d34f25862cfbb387578a4d70fec417649da694a132f628a23367e2"}, - {file = "tzlocal-4.3.tar.gz", hash = "sha256:3f21d09e1b2aa9f2dacca12da240ca37de3ba5237a93addfd6d593afe9073355"}, + {file = "tzlocal-5.0.1-py3-none-any.whl", hash = "sha256:f3596e180296aaf2dbd97d124fe76ae3a0e3d32b258447de7b939b3fd4be992f"}, + {file = "tzlocal-5.0.1.tar.gz", hash = "sha256:46eb99ad4bdb71f3f72b7d24f4267753e240944ecfc16f25d2719ba89827a803"}, ] [package.dependencies] "backports.zoneinfo" = {version = "*", markers = "python_version < \"3.9\""} -pytz-deprecation-shim = "*" tzdata = {version = "*", markers = "platform_system == \"Windows\""} [package.extras] diff --git a/requirements.txt b/requirements.txt index afcdf34..028cf6c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -38,7 +38,6 @@ pillow==9.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pydantic==1.10.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pypng==0.20220715.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" python-multipart==0.0.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -pytz-deprecation-shim==0.1.0.post0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pytz==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" qrcode[pil]==7.4.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" setuptools==67.7.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" @@ -53,8 +52,8 @@ sqlmodel==0.0.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0. sqlmodelx==0.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" starlette==0.26.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" typing-extensions==4.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -tzdata==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -tzlocal==4.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +tzdata==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and platform_system == "Windows" +tzlocal==5.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" urllib3==1.26.15 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" uvicorn==0.22.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" websockets==10.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"