fmab777 commited on
Commit
2ebc056
·
verified ·
1 Parent(s): f55e243

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -11
requirements.txt CHANGED
@@ -1,35 +1,32 @@
1
  # Telegram Bot Library
2
- python-telegram-bot[httpx]>=21.0,<22.0 # PTB v21 is recommended
3
 
4
  # HTTPX (explicitly, for Limits and direct use)
5
- httpx>=0.25.0,<0.28.0
6
 
7
  # ASGI Framework (Core)
8
- starlette>=0.35.0,<0.38.0 # Ensure compatibility with PTB/HTTPX async nature
9
-
10
- # HTTP Requests Library (for sync fallback or specific APIs if needed)
11
- # requests>=2.28,<2.33 # Keep if any sync code still uses it, otherwise optional
12
 
13
  # Web Scraping (HTML Parsing)
14
  beautifulsoup4>=4.11,<4.13
15
- lxml>=4.9.0,<6.0.0 # Often faster parser for BS4, good practice
16
 
17
  # YouTube Transcript Library
18
  youtube-transcript-api>=0.6,<0.7
19
 
20
  # Apify Client (Optional)
21
- apify-client>=1.0,<1.3 # If using Apify
22
 
23
  # WSGI/ASGI Servers & Adapter
24
  gunicorn>=21.0,<23.0
25
- uvicorn[standard]>=0.27.0,<0.30.0 # Use standard for websockets, http/2 etc.
26
 
27
  # Async Utilities / Dependencies
28
- anyio>=3.6,<5.0 # Explicitly add anyio, often helps resolve conflicts
29
  asgiref>=3.5,<3.9
30
 
31
  # Retry Logic
32
  tenacity>=8.0,<9.0
33
 
34
- # Optional: For better encoding detection if needed
35
  # chardet>=4.0.0,<6.0.0
 
1
  # Telegram Bot Library
2
+ python-telegram-bot[httpx]>=21.0,<22.0
3
 
4
  # HTTPX (explicitly, for Limits and direct use)
5
+ httpx[http2]>=0.25.0,<0.28.0 # Add http2 extra
6
 
7
  # ASGI Framework (Core)
8
+ starlette>=0.35.0,<0.38.0
 
 
 
9
 
10
  # Web Scraping (HTML Parsing)
11
  beautifulsoup4>=4.11,<4.13
12
+ lxml>=4.9.0,<6.0.0 # Add lxml for faster parsing
13
 
14
  # YouTube Transcript Library
15
  youtube-transcript-api>=0.6,<0.7
16
 
17
  # Apify Client (Optional)
18
+ apify-client>=1.0,<1.3
19
 
20
  # WSGI/ASGI Servers & Adapter
21
  gunicorn>=21.0,<23.0
22
+ uvicorn[standard]>=0.27.0,<0.30.0
23
 
24
  # Async Utilities / Dependencies
25
+ anyio>=3.6,<5.0
26
  asgiref>=3.5,<3.9
27
 
28
  # Retry Logic
29
  tenacity>=8.0,<9.0
30
 
31
+ # Optional: For better encoding detection if needed (httpx handles basics)
32
  # chardet>=4.0.0,<6.0.0