Skip to content

Commit da6c5ed

Browse files
committed
Actually drops Python 3.7... by: Filip, Piotr
1 parent 04d71fb commit da6c5ed

20 files changed

+37
-38
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ In a PythonAnywhere Bash console, run:
1616

1717
pip3.10 install --user pythonanywhere
1818

19-
If there is no `python3.9` on your PythonAnywhere account,
19+
If there is no `python3.10` on your PythonAnywhere account,
2020
you should upgrade your account to the newest system image.
2121
See [here](https://help.pythonanywhere.com/pages/ChangingSystemImage) how to do that.
22-
`pa` works with python 3.7, 3.8 and 3.9, but we recommend using the latest system image.
22+
`pa` works with python 3.8, 3.9, and 3.10 but we recommend using the latest system image.
2323

2424
### On your own machine
2525
Install the `pythonanywhere` package from [PyPI](https://pypi.org/project/pythonanywhere/).

cli/django.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def autoconfigure(
1919
help="Domain name, eg www.mydomain.com",
2020
),
2121
python_version: str = typer.Option(
22-
"3.7",
22+
"3.8",
2323
"-p",
2424
"--python-version",
2525
help="Python version, eg '3.9'",

cli/webapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def create(
2222
help="Domain name, eg www.mydomain.com",
2323
),
2424
python_version: str = typer.Option(
25-
"3.7",
25+
"3.8",
2626
"-p",
2727
"--python-version",
2828
help="Python version, eg '3.9'",

pythonanywhere/api/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import requests
44

55
PYTHON_VERSIONS = {
6-
"3.7": "python37",
76
"3.8": "python38",
87
"3.9": "python39",
98
"3.10": "python310",

pythonanywhere/snakesay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3.7
1+
#!/usr/bin/env python3.8
22
import sys
33
import textwrap
44

scripts/pa_autoconfigure_django.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3.7
1+
#!/usr/bin/python3.8
22
"""Autoconfigure a Django project from on a github URL.
33
44
- downloads the repo
@@ -13,7 +13,7 @@
1313
Options:
1414
--branch=<branch> Branch name in case of multiple branches [default: None]
1515
--domain=<domain> Domain name, eg www.mydomain.com [default: your-username.pythonanywhere.com]
16-
--python=<python-version> Python version, eg "3.8" [default: 3.7]
16+
--python=<python-version> Python version, eg "3.9" [default: 3.8]
1717
--nuke *Irrevocably* delete any existing web app config on this domain. Irrevocably.
1818
"""
1919

scripts/pa_create_scheduled_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3.7
1+
#!/usr/bin/python3.8
22
"""Create a scheduled task.
33
44
Two categories of tasks are available: daily and hourly.

scripts/pa_create_webapp_with_virtualenv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3.7
1+
#!/usr/bin/python3.8
22
"""Create a web app with a virtualenv
33
44
- creates a simple hello world web app
@@ -11,7 +11,7 @@
1111
1212
Options:
1313
--domain=<domain> Domain name, eg www.mydomain.com [default: your-username.pythonanywhere.com]
14-
--python=<python-version> Python version, eg "3.8" [default: 3.7]
14+
--python=<python-version> Python version, eg "3.9" [default: 3.8]
1515
--nuke *Irrevocably* delete any existing web app config on this domain. Irrevocably.
1616
"""
1717

scripts/pa_delete_scheduled_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3.7
1+
#!/usr/bin/python3.8
22
"""Delete scheduled task(s) by id or nuke'em all.
33
44
Usage:

scripts/pa_delete_webapp_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3.7
1+
#!/usr/bin/python3.8
22
"""Deletes webapp logs.
33
44
- gets list of logs via api

0 commit comments

Comments
 (0)