Skip to content

Commit

Permalink
⬆️ Update python-telegram-bot requirement to 21.10
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Jan 5, 2025
1 parent 66dc8ee commit f4481ed
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 112 deletions.
2 changes: 1 addition & 1 deletion gram_core
Submodule gram_core updated 1 files
+2 −2 application.py
4 changes: 2 additions & 2 deletions modules/action_log/date.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from datetime import datetime, timedelta

from pytz import timezone
from zoneinfo import ZoneInfo

TZ = timezone("Asia/Shanghai")
TZ = ZoneInfo("Asia/Shanghai")


class DateUtils:
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"httpx<1.0.0,>=0.28.0",
"ujson<6.0.0,>=5.9.0",
"Jinja2<4.0.0,>=3.1.2",
"python-telegram-bot[ext,rate-limiter]<22.0,>=21.7",
"python-telegram-bot[ext,rate-limiter]<22.0,>=21.10",
"sqlmodel<1.0.0,>=0.0.22",
"colorlog<7.0.0,>=6.8.0",
"fakeredis<3.0.0,>=2.19.0",
Expand All @@ -33,7 +33,7 @@ dependencies = [
"lxml<6.0.0,>=5.0.0",
"arko-wrapper==0.3.0",
"fastapi<1.0.0,>=0.115.0",
"uvicorn[standard]<1.0.0,>=0.32.0",
"uvicorn[standard]<1.0.0,>=0.33.0",
"sentry-sdk<3.0.0,>=2.7.0",
"GitPython<4.0.0,>=3.1.30",
"openpyxl<4.0.0,>=3.1.1",
Expand All @@ -57,7 +57,7 @@ readme = "README.md"
license = {text = "AGPL-3.0"}

[project.optional-dependencies]
pyro = ["TgCrypto<2.0.0,>=1.2.5", "Pyrogram<3.0.0,>=2.0.102"]
pyro = ["PyroTgCrypto<2.0.0,>=1.2.7", "Pyrogram @ git+https://github.com/TeamPGM/pyrogram"]
test = ["pytest<9.0.0,>=8.2.2", "pytest-asyncio<1.0.0,>=0.23.2", "flaky<4.0.0,>=3.7.0"]

[tool.pytest.ini_options]
Expand Down
25 changes: 12 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ aiosignal==1.3.2
aiosqlite==0.20.0
alembic==1.14.0
annotated-types==0.7.0
anyio==4.7.0
apscheduler==3.10.4
anyio==4.8.0
apscheduler==3.11.0
arko-wrapper==0.3.0
async-lru==2.0.4
async-timeout==5.0.1 ; python_full_version < '3.11.3'
Expand All @@ -32,8 +32,8 @@ fakeredis==2.26.2
fastapi==0.115.6
flaky==3.8.1
frozenlist==1.5.0
gitdb==4.0.11
gitpython==3.1.43
gitdb==4.0.12
gitpython==3.1.44
greenlet==3.1.1
h11==0.14.0
httpcore==1.0.7
Expand Down Expand Up @@ -64,27 +64,27 @@ pyaes==1.6.1
pycparser==2.22 ; platform_python_implementation != 'PyPy'
pydantic==2.10.4
pydantic-core==2.27.2
pydantic-settings==2.7.0
pydantic-settings==2.7.1
pyee==12.0.0
pygments==2.18.0
pyrogram==2.0.106
pygments==2.19.0
pyrogram @ git+https://github.com/TeamPGM/pyrogram@233b3b80f50f50553598fde7959d7d4f664e7f8c
pyrotgcrypto==1.2.7
pysocks==1.7.1
pytest==8.3.4
pytest-asyncio==0.25.0
pytest-asyncio==0.25.1
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-telegram-bot==21.9
pytz==2024.2
python-telegram-bot==21.10
pyyaml==6.0.2
rapidfuzz==3.11.0
reactivex==4.0.4
redis==5.2.1
rich==13.9.4
sentry-sdk==2.19.2
setuptools==75.6.0
simnet @ git+https://github.com/PaiGramTeam/SIMNet@7f4f6c79d34700db5811ddeb386dc084b461156b
simnet @ git+https://github.com/PaiGramTeam/SIMNet@fa37bc072e647c46171c3572a75a12c9ce985ff9
six==1.17.0
smmap==5.0.1
smmap==5.0.2
sniffio==1.3.1
sortedcontainers==2.4.0
soupsieve==2.6
Expand All @@ -94,7 +94,6 @@ starlette==0.41.3
starrail-damage-cal==2.0.0
starrailrelicscore @ git+https://github.com/PaiGramTeam/StarRailRelicScore@e13ce94d738f85cbde641535dc80b8cecc2e3eac
starrailres @ git+https://github.com/PaiGramTeam/starrailres.py@b4641973bb8804ec52e0ebf1d3670ea8cc69165f
tgcrypto==1.2.5
thefuzz==0.22.1
tomli==2.2.1 ; python_full_version < '3.11'
tornado==6.4.2
Expand Down
Loading

0 comments on commit f4481ed

Please sign in to comment.