Skip to content

Commit 564adc5

Browse files
committed
Downgrade Python requirement from 3.11 to 3.9 and update dependencies
1 parent 0e9ae41 commit 564adc5

File tree

6 files changed

+3351
-367
lines changed

6 files changed

+3351
-367
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
# Byte-compiled / optimized / DLL files
66
__pycache__/
77
*.py[cod]
8+
myenv/
89
*$py.class
910
.idea
1011
# C extensions
1112
*.so
13+
.env
1214

1315
# Distribution / packaging
1416
.Python

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
rev: v3.16.0
3131
hooks:
3232
- id: pyupgrade
33-
args: [--py311-plus]
33+
args: [--py39-plus]
3434

3535
- repo: local
3636
hooks:

notebook/poc.ipynb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,21 @@
1010
],
1111
"metadata": {
1212
"kernelspec": {
13-
"display_name": "Python 3",
13+
"display_name": "Python 3 (ipykernel)",
1414
"language": "python",
1515
"name": "python3"
1616
},
1717
"language_info": {
18+
"codemirror_mode": {
19+
"name": "ipython",
20+
"version": 3
21+
},
22+
"file_extension": ".py",
23+
"mimetype": "text/x-python",
1824
"name": "python",
19-
"version": "3.11.10"
25+
"nbconvert_exporter": "python",
26+
"pygments_lexer": "ipython3",
27+
"version": "3.11.0rc1"
2028
}
2129
},
2230
"nbformat": 4,

pyproject.toml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,26 @@ description = "A template for a Python FastAPI service with uv & Devcontainer"
55
authors = [{ name = "Shakil Mosharrof", email = "shakilmrf8@gmail.com" }]
66
license = "MIT"
77
readme = "README.md"
8-
requires-python = ">=3.11"
8+
requires-python = ">=3.9"
99
dependencies = [
10+
"agno>=1.2.6",
11+
"duckdb>=1.2.1",
1012
"fastapi[standard]>=0.115.8",
1113
"fireducks>=1.2.5",
14+
"ipykernel>=6.29.5",
15+
"jupyter>=1.1.1",
16+
"langchain>=0.3.22",
17+
"langgraph>=0.3.21",
18+
"numpy>=2.0.2",
19+
"openai>=1.69.0",
20+
"openai-agents>=0.0.7",
21+
"pandas>=2.2.3",
22+
"pandas-stubs>=2.2.2.240807",
23+
"phi>=0.6.7",
24+
"phidata>=2.7.10",
25+
"pre-commit>=4.1.0",
1226
"pydantic-ai[logfire]>=0.0.46",
27+
"streamlit>=1.44.1",
1328
]
1429

1530

@@ -41,7 +56,7 @@ testpaths = [
4156

4257
[tool.black]
4358
line-length = 100
44-
target-version = ['py311']
59+
target-version = ['py39']
4560
include = '\.pyi$'
4661
exclude = '''
4762
/(

requirements.txt

Lines changed: 164 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,132 +1,234 @@
1-
alembic==1.15.2
1+
agno==1.2.6
2+
altair==5.5.0
23
annotated-types==0.7.0
4+
anthropic==0.49.0
35
anyio==4.9.0
4-
argcomplete==3.5.3
6+
argcomplete==3.6.1
7+
argon2-cffi==23.1.0
8+
argon2-cffi-bindings==21.2.0
9+
arrow==1.3.0
10+
asttokens==3.0.0
11+
async-lru==2.0.5
12+
async-timeout==4.0.3
13+
attrs==25.3.0
14+
babel==2.17.0
15+
beautifulsoup4==4.13.3
16+
black==25.1.0
17+
bleach==6.2.0
518
blinker==1.9.0
6-
boto3==1.37.23
7-
botocore==1.37.23
19+
boto3==1.37.26
20+
botocore==1.37.26
821
cachetools==5.5.2
922
certifi==2025.1.31
23+
cffi==1.17.1
24+
cfgv==3.4.0
1025
charset-normalizer==3.4.1
1126
click==8.1.8
12-
cloudpickle==3.1.1
27+
cohere==5.14.2
1328
colorama==0.4.6
14-
commitizen==4.4.1
15-
contourpy==1.3.1
16-
cycler==0.12.1
17-
databricks-sdk==0.49.0
18-
decli==0.6.2
29+
comm==0.2.2
30+
coverage==7.8.0
31+
debugpy==1.8.13
32+
decorator==5.2.1
33+
defusedxml==0.7.1
1934
deprecated==1.2.18
35+
distlib==0.3.9
36+
distro==1.9.0
2037
dnspython==2.7.0
21-
docker==7.1.0
38+
docstring-parser==0.16
39+
duckdb==1.2.1
2240
email-validator==2.2.0
41+
eval-type-backport==0.2.2
42+
exceptiongroup==1.2.2
43+
executing==2.2.0
2344
fastapi==0.115.12
2445
fastapi-cli==0.0.7
46+
fastavro==1.10.0
47+
fastjsonschema==2.21.1
2548
filelock==3.18.0
26-
flask==3.1.0
27-
fonttools==4.56.0
28-
fsspec==2025.3.0
49+
fireducks==1.2.5
50+
firefw==1.2.5
51+
fqdn==1.5.1
52+
fsspec==2025.3.2
2953
gitdb==4.0.12
3054
gitpython==3.1.44
3155
google-auth==2.38.0
32-
graphene==3.4.3
33-
graphql-core==3.2.6
34-
graphql-relay==3.2.0
56+
googleapis-common-protos==1.69.2
3557
greenlet==3.1.1
36-
gunicorn==23.0.0
58+
griffe==1.7.2
59+
groq==0.21.0
3760
h11==0.14.0
3861
httpcore==1.0.7
3962
httptools==0.6.4
4063
httpx==0.28.1
64+
httpx-sse==0.4.0
65+
huggingface-hub==0.30.1
66+
identify==2.6.9
4167
idna==3.10
4268
importlib-metadata==8.6.1
43-
itsdangerous==2.2.0
69+
iniconfig==2.1.0
70+
ipykernel==6.29.5
71+
ipython==8.18.1
72+
ipywidgets==8.1.5
73+
isoduration==20.11.0
74+
isort==6.0.1
75+
jedi==0.19.2
4476
jinja2==3.1.6
77+
jiter==0.9.0
4578
jmespath==1.0.1
46-
joblib==1.4.2
47-
kiwisolver==1.4.8
48-
mako==1.3.9
49-
markdown==3.7
79+
json5==0.11.0
80+
jsonpatch==1.33
81+
jsonpointer==3.0.0
82+
jsonschema==4.23.0
83+
jsonschema-specifications==2024.10.1
84+
jupyter==1.1.1
85+
jupyter-client==8.6.3
86+
jupyter-console==6.6.3
87+
jupyter-core==5.7.2
88+
jupyter-events==0.12.0
89+
jupyter-lsp==2.2.5
90+
jupyter-server==2.15.0
91+
jupyter-server-terminals==0.5.3
92+
jupyterlab==4.3.6
93+
jupyterlab-pygments==0.3.0
94+
jupyterlab-server==2.27.3
95+
jupyterlab-widgets==3.0.13
96+
langchain==0.3.22
97+
langchain-core==0.3.50
98+
langchain-text-splitters==0.3.7
99+
langgraph==0.3.23
100+
langgraph-checkpoint==2.0.23
101+
langgraph-prebuilt==0.1.7
102+
langgraph-sdk==0.1.60
103+
langsmith==0.3.23
104+
logfire==3.12.0
105+
logfire-api==3.12.0
50106
markdown-it-py==3.0.0
51107
markupsafe==3.0.2
52-
matplotlib==3.10.1
108+
matplotlib-inline==0.1.7
53109
mdurl==0.1.2
54-
metaflow==2.15.7
55-
mlflow==2.21.2
56-
mlflow-skinny==2.21.2
57-
mpmath==1.3.0
110+
mistralai==1.6.0
111+
mistune==3.1.3
58112
mypy==1.15.0
59113
mypy-extensions==1.0.0
60-
networkx==3.4.2
114+
narwhals==1.33.0
115+
nbclient==0.10.2
116+
nbconvert==7.16.6
117+
nbformat==5.10.4
118+
nest-asyncio==1.6.0
61119
nodeenv==1.9.1
62-
numpy==2.2.4
63-
nvidia-cublas-cu12==12.4.5.8
64-
nvidia-cuda-cupti-cu12==12.4.127
65-
nvidia-cuda-nvrtc-cu12==12.4.127
66-
nvidia-cuda-runtime-cu12==12.4.127
67-
nvidia-cudnn-cu12==9.1.0.70
68-
nvidia-cufft-cu12==11.2.1.3
69-
nvidia-curand-cu12==10.3.5.147
70-
nvidia-cusolver-cu12==11.6.1.9
71-
nvidia-cusparse-cu12==12.3.1.170
72-
nvidia-cusparselt-cu12==0.6.2
73-
nvidia-nccl-cu12==2.21.5
74-
nvidia-nvjitlink-cu12==12.4.127
75-
nvidia-nvtx-cu12==12.4.127
120+
notebook==7.3.3
121+
notebook-shim==0.2.4
122+
numpy==2.0.2
123+
openai==1.70.0
124+
openai-agents==0.0.7
76125
opentelemetry-api==1.31.1
126+
opentelemetry-exporter-otlp-proto-common==1.31.1
127+
opentelemetry-exporter-otlp-proto-http==1.31.1
128+
opentelemetry-instrumentation==0.52b1
129+
opentelemetry-proto==1.31.1
77130
opentelemetry-sdk==1.31.1
78131
opentelemetry-semantic-conventions==0.52b1
132+
orjson==3.10.16
133+
ormsgpack==1.9.1
134+
overrides==7.7.0
79135
packaging==24.2
80136
pandas==2.2.3
81-
pdoc==15.0.1
137+
pandas-stubs==2.2.2.240807
138+
pandocfilters==1.5.1
139+
parso==0.8.4
140+
pathspec==0.12.1
141+
pexpect==4.9.0
142+
phi==0.6.7
143+
phidata==2.7.10
82144
pillow==11.1.0
145+
pip==23.0.1
146+
platformdirs==4.3.7
147+
pluggy==1.5.0
148+
pre-commit==4.2.0
149+
prometheus-client==0.21.1
83150
prompt-toolkit==3.0.50
84151
protobuf==5.29.4
152+
psutil==7.0.0
153+
ptyprocess==0.7.0
154+
pure-eval==0.2.3
85155
pyarrow==19.0.1
86156
pyasn1==0.6.1
87157
pyasn1-modules==0.4.2
88-
pydantic==2.11.0
158+
pycparser==2.22
159+
pydantic==2.11.1
160+
pydantic-ai==0.0.49
161+
pydantic-ai-slim==0.0.49
89162
pydantic-core==2.33.0
163+
pydantic-evals==0.0.49
164+
pydantic-graph==0.0.49
165+
pydantic-settings==2.8.1
166+
pydeck==0.9.1
90167
pygments==2.19.1
91-
pyparsing==3.2.3
92-
pyright==1.1.398
168+
pytest==8.3.5
169+
pytest-cov==6.1.0
93170
python-dateutil==2.9.0.post0
94171
python-dotenv==1.1.0
95-
# python-fastapi-template @ file:///home/user/getChief-assignment
172+
python-json-logger==3.3.0
96173
python-multipart==0.0.20
97174
pytz==2025.2
98175
pyyaml==6.0.2
99-
questionary==2.1.0
176+
pyzmq==26.3.0
177+
referencing==0.36.2
100178
requests==2.32.3
101-
rich==13.9.4
102-
rich-toolkit==0.14.0
179+
requests-toolbelt==1.0.0
180+
rfc3339-validator==0.1.4
181+
rfc3986-validator==0.1.1
182+
rich==14.0.0
183+
rich-toolkit==0.14.1
184+
rpds-py==0.24.0
103185
rsa==4.9
186+
ruff==0.11.2
104187
s3transfer==0.11.4
105-
scikit-learn==1.6.1
106-
scipy==1.15.2
188+
send2trash==1.8.3
189+
setuptools==78.1.0
107190
shellingham==1.5.4
108191
six==1.17.0
109192
smmap==5.0.2
110193
sniffio==1.3.1
194+
soupsieve==2.6
111195
sqlalchemy==2.0.40
112-
sqlparse==0.5.3
196+
stack-data==0.6.3
113197
starlette==0.46.1
114-
sympy==1.13.1
115-
termcolor==2.5.0
116-
threadpoolctl==3.6.0
117-
tomlkit==0.13.2
118-
torch==2.6.0
119-
triton==3.2.0
198+
streamlit==1.44.1
199+
tenacity==9.1.2
200+
terminado==0.18.1
201+
tinycss2==1.4.0
202+
tokenizers==0.21.1
203+
toml==0.10.2
204+
tomli==2.2.1
205+
tornado==6.4.2
206+
tqdm==4.67.1
207+
traitlets==5.14.3
120208
typer==0.15.2
209+
types-python-dateutil==2.9.0.20241206
210+
types-pytz==2025.2.0.20250326
211+
types-requests==2.31.0.6
212+
types-urllib3==1.26.25.14
121213
typing-extensions==4.13.0
122214
typing-inspection==0.4.0
123215
tzdata==2025.2
124-
urllib3==2.3.0
216+
uri-template==1.3.0
217+
urllib3==1.26.20
218+
uv==0.6.11
125219
uvicorn==0.34.0
126220
uvloop==0.21.0
221+
virtualenv==20.30.0
222+
watchdog==6.0.0
127223
watchfiles==1.0.4
128224
wcwidth==0.2.13
225+
webcolors==24.11.1
226+
webencodings==0.5.1
227+
websocket-client==1.8.0
129228
websockets==15.0.1
130-
werkzeug==3.1.3
229+
wheel==0.45.1
230+
widgetsnbextension==4.0.13
131231
wrapt==1.17.2
232+
xxhash==3.5.0
132233
zipp==3.21.0
234+
zstandard==0.23.0

0 commit comments

Comments
 (0)