-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstraints.txt
More file actions
64 lines (54 loc) · 1.4 KB
/
constraints.txt
File metadata and controls
64 lines (54 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Constraints to speed pip dependency resolution on CI / Render.
# These are conservative pinned versions known to work together on Python 3.11.
# Keep this file updated when you upgrade major libraries.
# Core web/runtime
fastapi==0.116.1
uvicorn==0.35.0
pydantic==2.11.7
## NOTE: fastapi 0.116.x requires starlette >=0.47.0,<0.48.0; pin to latest compatible 0.47.x
starlette==0.47.3
anyio==4.10.0
# HTTP
urllib3==2.5.0
charset-normalizer==3.4.3
idna==3.10
requests==2.32.5
# Data stack
pandas==2.3.2
matplotlib==3.10.5
seaborn==0.13.2
scikit-learn==1.7.1
statsmodels==0.14.5
numpy==2.3.1
# IO / scraping
beautifulsoup4==4.12.3
lxml==6.0.1
# Finance libs
yfinance==0.2.66
stockdex==1.2.1
yahoofinancials==1.20
alpha_vantage==3.0.0
pandas-datareader==0.10.0
fredapi==0.5.2
quantstats==0.0.77
# SQL / DB
sqlalchemy==2.0.43
alembic==1.16.5
psycopg2-binary==2.9.10
# Django
django==5.1.11
django-environ==0.12.0
# Servers
gunicorn==23.0.0
# Misc
pip-audit==2.9.0
pillow==11.3.0
redis==6.4.0
celery==5.5.3
# Notes:
# - When installing with constraints use: python -m pip install -r requirements.txt -c constraints.txt
# - Prefer using `requirements.lock` for deterministic builds in CI/Render. To regenerate:
# python -m venv .venv
# .venv/bin/python -m pip install --upgrade pip setuptools wheel
# .venv/bin/python -m pip install -r requirements.txt -c constraints.txt
# .venv/bin/python -m pip freeze > requirements.lock