Skip to content

Commit

Permalink
build(deps): upgrade all the dependencies to be coherent
Browse files Browse the repository at this point in the history
Just bumping starlette to 0.40.0 yields a broken config because we need fastapi
0.115 to be compatible.

So, update pyproject.toml with starlette>=0.40.0, and run
```
pip install hatch
pip install hatch-pip-compile
hatch-pip-compile --upgrade prod
```
and commit the updated requirements.txt (this commit).

Also, bump the heroku runtime to the current patch level, since Heroku is
telling us to do so ASAP.
  • Loading branch information
joanise committed Oct 16, 2024
1 parent 7bf74ea commit 63b313e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 24 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies = [
api = [
# See https://github.com/encode/starlette/discussions/2413
"fastapi>=0.109.0",
"starlette>=0.35.1",
"starlette>=0.40.0",
"python-socketio>=5.9.0",
"uvicorn",
"jinja2",
Expand Down
48 changes: 26 additions & 22 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,26 @@
# - click>=8.0.4
# - coloredlogs>=15.0.1
# - openpyxl
# - panphon<0.21; platform_system == "Windows"
# - panphon<0.21; python_version < "3.9"
# - panphon>=0.19
# - pydantic>=2.3
# - pydantic<2.9,>=2.4
# - pyyaml>=5.2
# - regex
# - text-unidecode
# - tqdm
# - typing-extensions
# - fastapi>=0.109.0
# - jinja2
# - python-socketio>=5.9.0
# - starlette>=0.35.1
# - starlette>=0.40.0
# - uvicorn
# - gunicorn>=22.0.0
#

annotated-types==0.6.0
annotated-types==0.7.0
# via pydantic
anyio==4.3.0
anyio==4.6.2.post1
# via starlette
bidict==0.23.1
# via python-socketio
Expand All @@ -34,53 +37,53 @@ editdistance==0.8.1
# via panphon
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via anyio
fastapi==0.110.1
fastapi==0.115.2
# via hatch.envs.prod
gunicorn==22.0.0
gunicorn==23.0.0
# via hatch.envs.prod
h11==0.14.0
# via
# uvicorn
# wsproto
humanfriendly==10.0
# via coloredlogs
idna==3.7
idna==3.10
# via anyio
jinja2==3.1.4
# via hatch.envs.prod
markupsafe==2.1.5
markupsafe==3.0.1
# via jinja2
munkres==1.1.4
# via panphon
numpy==1.26.4
numpy==2.1.2
# via panphon
openpyxl==3.1.2
openpyxl==3.1.5
# via hatch.envs.prod
packaging==24.0
packaging==24.1
# via gunicorn
panphon==0.21.2
# via hatch.envs.prod
pydantic==2.6.4
pydantic==2.8.2
# via
# hatch.envs.prod
# fastapi
pydantic-core==2.16.3
pydantic-core==2.20.1
# via pydantic
python-engineio==4.9.0
python-engineio==4.10.1
# via python-socketio
python-socketio==5.11.2
python-socketio==5.11.4
# via hatch.envs.prod
pyyaml==6.0.1
pyyaml==6.0.2
# via
# hatch.envs.prod
# panphon
regex==2023.12.25
regex==2024.9.11
# via
# hatch.envs.prod
# panphon
simple-websocket==1.0.0
simple-websocket==1.1.0
# via python-engineio
sniffio==1.3.1
# via anyio
Expand All @@ -90,18 +93,19 @@ starlette==0.40.0
# fastapi
text-unidecode==1.3
# via hatch.envs.prod
tqdm==4.66.3
tqdm==4.66.5
# via hatch.envs.prod
typing-extensions==4.10.0
typing-extensions==4.12.2
# via
# hatch.envs.prod
# anyio
# fastapi
# pydantic
# pydantic-core
# uvicorn
unicodecsv==0.14.1
# via panphon
uvicorn==0.29.0
uvicorn==0.32.0
# via hatch.envs.prod
wsproto==1.2.0
# via simple-websocket
Expand Down
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.10.14
python-3.10.15

0 comments on commit 63b313e

Please sign in to comment.