Skip to content

Commit

Permalink
Revert to Requests 2.27.1, Python 3.6
Browse files Browse the repository at this point in the history
The Scripts server does not have Requests on Python 3.8.

This reverts commit b24fd20.
This reverts commit 993acb4.
  • Loading branch information
psvenk committed Dec 15, 2024
1 parent 993acb4 commit fb1ecf7
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.8.
- Python 3, at least Python 3.6.
- 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.8, so use that.
# The scripts machine we use has Python 3.6, so use that.
# This updates $OUT_FILE.
python3.8 update.py
python3.6 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.32.2
requests==2.27.1

0 comments on commit fb1ecf7

Please sign in to comment.