From 993acb434e841ff19ae43772c76460dc1fbcac0b Mon Sep 17 00:00:00 2001 From: Pratyush Venkatakrishnan Date: Sat, 14 Dec 2024 22:50:34 -0500 Subject: [PATCH] Use Python 3.8 Required by Requests 2.32 (following #104). --- README.md | 2 +- deploy/cron_scripts/update_latest.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bb31fc67..3192d34b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Install: -- Python 3, at least Python 3.6. +- Python 3, at least Python 3.8. - 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. diff --git a/deploy/cron_scripts/update_latest.sh b/deploy/cron_scripts/update_latest.sh index 6119f50c..1512529c 100755 --- a/deploy/cron_scripts/update_latest.sh +++ b/deploy/cron_scripts/update_latest.sh @@ -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.8, so use that. # This updates $OUT_FILE. -python3.6 update.py +python3.8 update.py OUT_FILE="$REPO_DIR/public/latest.json" # Copy $OUT_FILE to the output directory, so it can be served to the internet.