Skip to content

Commit

Permalink
Update to Requests 2.31.0, Python 3.7
Browse files Browse the repository at this point in the history
This responds to the CVE without requiring Python 3.8.
  • Loading branch information
psvenk committed Dec 15, 2024
1 parent fb1ecf7 commit c5416b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Install:

- Python 3, at least Python 3.6.
- Python 3, at least Python 3.7.
- Node.js, at least Node.js 18.
- One way to manage Node versions is using [nvm](https://github.com/nvm-sh/nvm).
- [Black](https://black.readthedocs.io/en/stable/index.html), if you plan on contributing changes to the Python backend.
Expand Down
4 changes: 2 additions & 2 deletions deploy/cron_scripts/update_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ cd "$REPO_DIR/scrapers"
git checkout -f deploy -q
git pull -q

# The scripts machine we use has Python 3.6, so use that.
# The scripts machine we use has Python 3.7, so use that.
# This updates $OUT_FILE.
python3.6 update.py
python3.7 update.py
OUT_FILE="$REPO_DIR/public/latest.json"

# Copy $OUT_FILE to the output directory, so it can be served to the internet.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
beautifulsoup4==4.11.1
lxml==4.9.3
requests==2.27.1
requests==2.31.0

0 comments on commit c5416b2

Please sign in to comment.