Skip to content

Commit 4040e97

Browse files
committed
pin fastapi to 0.112.3
1 parent f6ee228 commit 4040e97

File tree

6 files changed

+79
-72
lines changed

6 files changed

+79
-72
lines changed

pccommon/pccommon/middleware.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def add_timeout(app: FastAPI, timeout_seconds: float) -> None:
8484
depends=depends, path=route.path_format
8585
),
8686
)
87+
# TODO: `get_body_field` was updated after fastapi==0.112.4
88+
# https://github.com/fastapi/fastapi/blob/999eeb6c76ff37f94612dd140ce8091932f56c54/fastapi/dependencies/utils.py#L830-L832 # noqa: E501
8789
route.body_field = get_body_field(
8890
dependant=route.dependant, name=route.unique_id
8991
)

pccommon/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"azure-identity>=1.16.1",
1414
"azure-storage-blob>=12.20.0",
1515
"cachetools~=5.3",
16-
"fastapi-slim>=0.111.0",
16+
"fastapi==0.112.3",
1717
"html-sanitizer>=2.4.4",
1818
"idna>=3.7.0",
1919
"lxml_html_clean>=0.1.0",

pccommon/requirements.txt

Lines changed: 59 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -6,168 +6,173 @@
66
#
77
annotated-types==0.7.0
88
# via pydantic
9-
anyio==4.4.0
9+
anyio==4.9.0
1010
# via starlette
1111
async-timeout==5.0.1
1212
# via redis
13-
azure-core==1.30.2
13+
azure-core==1.34.0
1414
# via
1515
# azure-data-tables
1616
# azure-identity
1717
# azure-storage-blob
1818
# opencensus-ext-azure
19-
azure-data-tables==12.5.0
19+
azure-data-tables==12.7.0
2020
# via pccommon (pccommon/pyproject.toml)
21-
azure-identity==1.16.1
21+
azure-identity==1.23.0
2222
# via
2323
# opencensus-ext-azure
2424
# pccommon (pccommon/pyproject.toml)
25-
azure-storage-blob==12.20.0
25+
azure-storage-blob==12.25.1
2626
# via pccommon (pccommon/pyproject.toml)
27-
beautifulsoup4==4.12.3
27+
beautifulsoup4==4.13.4
2828
# via html-sanitizer
29-
cachetools==5.3.3
29+
cachetools==5.5.2
3030
# via
3131
# google-auth
3232
# pccommon (pccommon/pyproject.toml)
33-
certifi==2024.7.4
33+
certifi==2025.6.15
3434
# via requests
35-
cffi==1.16.0
35+
cffi==1.17.1
3636
# via cryptography
37-
charset-normalizer==3.3.2
37+
charset-normalizer==3.4.2
3838
# via requests
39-
cryptography==42.0.8
39+
cryptography==45.0.4
4040
# via
4141
# azure-identity
4242
# azure-storage-blob
4343
# msal
4444
# pyjwt
4545
exceptiongroup==1.3.0
4646
# via anyio
47-
fastapi-slim==0.111.0
47+
fastapi==0.112.3
4848
# via pccommon (pccommon/pyproject.toml)
49-
google-api-core==2.19.0
49+
google-api-core==2.25.1
5050
# via opencensus
51-
google-auth==2.30.0
51+
google-auth==2.40.3
5252
# via google-api-core
53-
googleapis-common-protos==1.63.1
53+
googleapis-common-protos==1.70.0
5454
# via google-api-core
55-
html-sanitizer==2.4.4
55+
html-sanitizer==2.5.0
5656
# via pccommon (pccommon/pyproject.toml)
57-
idna==3.7
57+
idna==3.10
5858
# via
5959
# anyio
6060
# pccommon (pccommon/pyproject.toml)
6161
# requests
6262
# yarl
63-
isodate==0.6.1
63+
isodate==0.7.2
6464
# via
6565
# azure-data-tables
6666
# azure-storage-blob
67-
lxml==5.2.2
67+
lxml==5.4.0
6868
# via
6969
# html-sanitizer
7070
# lxml-html-clean
71-
lxml-html-clean==0.1.0
71+
lxml-html-clean==0.4.2
7272
# via
7373
# html-sanitizer
7474
# pccommon (pccommon/pyproject.toml)
75-
msal==1.28.1
75+
msal==1.32.3
7676
# via
7777
# azure-identity
7878
# msal-extensions
79-
msal-extensions==1.1.0
79+
msal-extensions==1.3.1
8080
# via azure-identity
81-
multidict==6.0.5
81+
multidict==6.5.0
8282
# via yarl
8383
opencensus==0.11.4
8484
# via
8585
# opencensus-ext-azure
8686
# opencensus-ext-logging
8787
opencensus-context==0.1.3
8888
# via opencensus
89-
opencensus-ext-azure==1.1.13
89+
opencensus-ext-azure==1.1.15
9090
# via pccommon (pccommon/pyproject.toml)
9191
opencensus-ext-logging==0.1.1
9292
# via pccommon (pccommon/pyproject.toml)
93-
orjson==3.10.5
93+
orjson==3.10.18
9494
# via pccommon (pccommon/pyproject.toml)
95-
packaging==24.1
96-
# via msal-extensions
97-
portalocker==2.8.2
98-
# via msal-extensions
99-
proto-plus==1.23.0
95+
propcache==0.3.2
96+
# via yarl
97+
proto-plus==1.26.1
10098
# via google-api-core
101-
protobuf==4.25.3
99+
protobuf==6.31.1
102100
# via
103101
# google-api-core
104102
# googleapis-common-protos
105103
# proto-plus
106-
psutil==5.9.8
104+
psutil==7.0.0
107105
# via opencensus-ext-azure
108-
pyasn1==0.6.0
106+
pyasn1==0.6.1
109107
# via
110108
# pyasn1-modules
111109
# rsa
112-
pyasn1-modules==0.4.0
110+
pyasn1-modules==0.4.2
113111
# via google-auth
114112
pycparser==2.22
115113
# via cffi
116-
pydantic==2.7.4
114+
pydantic==2.11.7
117115
# via
118-
# fastapi-slim
116+
# fastapi
119117
# pccommon (pccommon/pyproject.toml)
120118
# pydantic-settings
121-
pydantic-core==2.18.4
119+
pydantic-core==2.33.2
122120
# via pydantic
123-
pydantic-settings==2.3.3
121+
pydantic-settings==2.9.1
124122
# via pccommon (pccommon/pyproject.toml)
125-
pyhumps==3.5.3
123+
pyhumps==3.8.0
126124
# via pccommon (pccommon/pyproject.toml)
127-
pyjwt[crypto]==2.8.0
125+
pyjwt[crypto]==2.10.1
128126
# via msal
129-
python-dotenv==1.0.1
127+
python-dotenv==1.1.0
130128
# via pydantic-settings
131-
redis==4.6.0
129+
redis==6.2.0
132130
# via pccommon (pccommon/pyproject.toml)
133-
requests==2.32.3
131+
requests==2.32.4
134132
# via
135133
# azure-core
136134
# google-api-core
137135
# msal
138136
# opencensus-ext-azure
139137
# pccommon (pccommon/pyproject.toml)
140-
rsa==4.9
138+
rsa==4.9.1
141139
# via google-auth
142-
six==1.16.0
140+
six==1.17.0
143141
# via
144142
# azure-core
145-
# isodate
146143
# opencensus
147144
sniffio==1.3.1
148145
# via anyio
149-
soupsieve==2.5
146+
soupsieve==2.7
150147
# via beautifulsoup4
151-
starlette==0.37.2
148+
starlette==0.38.6
152149
# via
153-
# fastapi-slim
150+
# fastapi
154151
# pccommon (pccommon/pyproject.toml)
155-
types-cachetools==4.2.9
152+
types-cachetools==6.0.0.20250525
156153
# via pccommon (pccommon/pyproject.toml)
157-
typing-extensions==4.12.2
154+
typing-extensions==4.14.0
158155
# via
159156
# anyio
160157
# azure-core
161158
# azure-data-tables
159+
# azure-identity
162160
# azure-storage-blob
161+
# beautifulsoup4
163162
# exceptiongroup
164-
# fastapi-slim
163+
# fastapi
164+
# multidict
165165
# pydantic
166166
# pydantic-core
167167
# starlette
168-
urllib3==2.2.2
168+
# typing-inspection
169+
typing-inspection==0.4.1
170+
# via
171+
# pydantic
172+
# pydantic-settings
173+
urllib3==2.4.0
169174
# via
170175
# pccommon (pccommon/pyproject.toml)
171176
# requests
172-
yarl==1.9.4
177+
yarl==1.20.1
173178
# via azure-data-tables

pctiler/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Planetary Computer API - Tiler."
99
license = { text = "MIT" }
1010
requires-python = ">=3.9"
1111
dependencies = [
12-
"fastapi==0.115.12",
12+
"fastapi==0.112.3",
1313
"geojson-pydantic==2.0.0",
1414
"idna>=3.7.0",
1515
"jinja2==3.1.5",

pctiler/requirements-dev.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ attrs==25.3.0
2020
# rasterio
2121
# referencing
2222
# rio-tiler
23-
cachetools==6.0.0
23+
cachetools==6.1.0
2424
# via
2525
# cogeo-mosaic
2626
# rio-tiler
27-
certifi==2025.4.26
27+
certifi==2025.6.15
2828
# via
2929
# httpcore
3030
# httpx
@@ -58,11 +58,11 @@ cycler==0.12.1
5858
# via matplotlib
5959
exceptiongroup==1.3.0
6060
# via anyio
61-
fastapi==0.115.12
61+
fastapi==0.112.3
6262
# via
6363
# pctiler (pctiler/pyproject.toml)
6464
# titiler-core
65-
fonttools==4.58.1
65+
fonttools==4.58.4
6666
# via matplotlib
6767
geojson-pydantic==2.0.0
6868
# via
@@ -198,7 +198,7 @@ requests==2.32.3
198198
# pctiler (pctiler/pyproject.toml)
199199
# planetary-computer
200200
# pystac-client
201-
rio-tiler==7.8.0
201+
rio-tiler==7.8.1
202202
# via
203203
# cogeo-mosaic
204204
# titiler-core
@@ -214,7 +214,7 @@ six==1.17.0
214214
# via python-dateutil
215215
sniffio==1.3.1
216216
# via anyio
217-
starlette==0.46.2
217+
starlette==0.38.6
218218
# via fastapi
219219
supermorecado==0.1.2
220220
# via cogeo-mosaic
@@ -229,7 +229,7 @@ titiler-mosaic==0.22.1
229229
# titiler-pgstac
230230
titiler-pgstac==1.8.0
231231
# via pctiler (pctiler/pyproject.toml)
232-
types-requests==2.32.0.20250602
232+
types-requests==2.32.4.20250611
233233
# via pctiler (pctiler/pyproject.toml)
234234
typing-extensions==4.14.0
235235
# via
@@ -251,7 +251,7 @@ urllib3==2.4.0
251251
# via
252252
# requests
253253
# types-requests
254-
zipp==3.22.0
254+
zipp==3.23.0
255255
# via
256256
# importlib-metadata
257257
# importlib-resources

pctiler/requirements-server.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ attrs==25.3.0
2121
# rasterio
2222
# referencing
2323
# rio-tiler
24-
cachetools==6.0.0
24+
cachetools==6.1.0
2525
# via
2626
# cogeo-mosaic
2727
# rio-tiler
28-
certifi==2025.4.26
28+
certifi==2025.6.15
2929
# via
3030
# httpcore
3131
# httpx
@@ -60,11 +60,11 @@ cycler==0.12.1
6060
# via matplotlib
6161
exceptiongroup==1.3.0
6262
# via anyio
63-
fastapi==0.115.12
63+
fastapi==0.112.3
6464
# via
6565
# pctiler (pctiler/pyproject.toml)
6666
# titiler-core
67-
fonttools==4.58.1
67+
fonttools==4.58.4
6868
# via matplotlib
6969
geojson-pydantic==2.0.0
7070
# via
@@ -207,7 +207,7 @@ requests==2.32.3
207207
# pctiler (pctiler/pyproject.toml)
208208
# planetary-computer
209209
# pystac-client
210-
rio-tiler==7.8.0
210+
rio-tiler==7.8.1
211211
# via
212212
# cogeo-mosaic
213213
# titiler-core
@@ -223,7 +223,7 @@ six==1.17.0
223223
# via python-dateutil
224224
sniffio==1.3.1
225225
# via anyio
226-
starlette==0.46.2
226+
starlette==0.38.6
227227
# via fastapi
228228
supermorecado==0.1.2
229229
# via cogeo-mosaic
@@ -261,11 +261,11 @@ uvicorn[standard]==0.30.1
261261
# via pctiler (pctiler/pyproject.toml)
262262
uvloop==0.21.0
263263
# via uvicorn
264-
watchfiles==1.0.5
264+
watchfiles==1.1.0
265265
# via uvicorn
266266
websockets==15.0.1
267267
# via uvicorn
268-
zipp==3.22.0
268+
zipp==3.23.0
269269
# via
270270
# importlib-metadata
271271
# importlib-resources

0 commit comments

Comments
 (0)