Skip to content

Commit 301a46a

Browse files
committed
perf: remove soundswallower from Heroku reqs
1 parent 3896a63 commit 301a46a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,5 @@ jobs:
146146
147147
- name: unit test the web API
148148
run: |
149-
pip install -e .[dev]
149+
pip install httpx
150150
python test/test_web_api.py

bin/post_compile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
# Heroku expects to run your app in place, but doesn't actually do this for you
4-
pip install -e .
4+
pip install -e . --no-deps

readme-heroku.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Updating dependencies:
1313
rm requirements.txt
1414
hatch env create prod
1515

16+
Then manually remove the soundswallower line, since it's not needed for the web api.
17+
1618
It is also possible to edit it manually, e.g., to handle a critical vulnerability report,
1719
but an occasional full rebuild is a good idea, to keep things up to date.
1820

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ requests==2.32.3
100100
# via hatch.envs.prod
101101
sniffio==1.3.1
102102
# via anyio
103-
soundswallower==0.6.5
104103
# via hatch.envs.prod
105104
starlette==0.41.3
106105
# via fastapi

0 commit comments

Comments
 (0)