Skip to content

Commit

Permalink
perf: remove soundswallower from Heroku reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Jan 30, 2025
1 parent 3896a63 commit 301a46a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ jobs:
- name: unit test the web API
run: |
pip install -e .[dev]
pip install httpx
python test/test_web_api.py
2 changes: 1 addition & 1 deletion bin/post_compile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

# Heroku expects to run your app in place, but doesn't actually do this for you
pip install -e .
pip install -e . --no-deps
2 changes: 2 additions & 0 deletions readme-heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Updating dependencies:
rm requirements.txt
hatch env create prod

Then manually remove the soundswallower line, since it's not needed for the web api.

It is also possible to edit it manually, e.g., to handle a critical vulnerability report,
but an occasional full rebuild is a good idea, to keep things up to date.

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ requests==2.32.3
# via hatch.envs.prod
sniffio==1.3.1
# via anyio
soundswallower==0.6.5
# via hatch.envs.prod
starlette==0.41.3
# via fastapi
Expand Down

0 comments on commit 301a46a

Please sign in to comment.