Standardize on Python 3.13 (matches prod 3.13.7)
Prod runs Python 3.13.7, not the originally planned 3.12. Align the stack: CI both jobs 3.12->3.13, the IIS install runbook and the dev setup guide to 3.13 (winget Python.Python.3.13). NOTE for whoever maintains the offline kit: its wheels are still cp312 and must be regenerated as cp313 before the next air-gapped deploy.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.13'
|
||||||
cache: pip
|
cache: pip
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
- run: python -m pytest -q
|
- run: python -m pytest -q
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.13'
|
||||||
cache: pip
|
cache: pip
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
- name: Prime the CI database (utf8mb4 + native auth for pymysql)
|
- name: Prime the CI database (utf8mb4 + native auth for pymysql)
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ sane, then use manual for day-to-day work.
|
|||||||
|
|
||||||
| Need | Version | Check |
|
| Need | Version | Check |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| Python | 3.12 (64-bit) | `python --version` |
|
| Python | 3.13 (64-bit) - matches prod + CI | `python --version` |
|
||||||
| Node.js | 18+ | `node --version` |
|
| Node.js | 18+ | `node --version` |
|
||||||
| MySQL | 8.0 (or Docker, below) | `mysql --version` |
|
| MySQL | 8.0 (or Docker, below) | `mysql --version` |
|
||||||
| Git | any recent | `git --version` |
|
| Git | any recent | `git --version` |
|
||||||
@@ -33,7 +33,7 @@ reopen the terminal so PATH updates):
|
|||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
winget install Git.Git # includes Git Bash (naming hook needs it)
|
winget install Git.Git # includes Git Bash (naming hook needs it)
|
||||||
winget install Python.Python.3.12
|
winget install Python.Python.3.13
|
||||||
winget install OpenJS.NodeJS.LTS # LTS; may install v24, fine for this SPA
|
winget install OpenJS.NodeJS.LTS # LTS; may install v24, fine for this SPA
|
||||||
winget install Microsoft.VisualStudioCode
|
winget install Microsoft.VisualStudioCode
|
||||||
winget install Oracle.MySQL # or Docker.DockerDesktop for the DB
|
winget install Oracle.MySQL # or Docker.DockerDesktop for the DB
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ lives). Run PowerShell as Administrator.
|
|||||||
|
|
||||||
| Need | Notes |
|
| Need | Notes |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| **Python 3.12** (64-bit) | `python --version` |
|
| **Python 3.13** (64-bit) | `python --version` |
|
||||||
| **IIS** with **HttpPlatformHandler** | https://www.iis.net/downloads/microsoft/httpplatformhandler (direct MSI: `download.microsoft.com/download/8/1/3/813AC4E6-9203-4F7A-8DD5-F3D54D10C5CD/httpPlatformHandler_amd64.msi`) |
|
| **IIS** with **HttpPlatformHandler** | https://www.iis.net/downloads/microsoft/httpplatformhandler (direct MSI: `download.microsoft.com/download/8/1/3/813AC4E6-9203-4F7A-8DD5-F3D54D10C5CD/httpPlatformHandler_amd64.msi`) |
|
||||||
| **MySQL 5.7+/8.0** (or 5.6 with the flags in step 1) | reachable from the app host |
|
| **MySQL 5.7+/8.0** (or 5.6 with the flags in step 1) | reachable from the app host |
|
||||||
| URL Rewrite (optional) | only for the real-client-IP rule; skip it and the app still runs |
|
| URL Rewrite (optional) | only for the real-client-IP rule; skip it and the app still runs |
|
||||||
|
|||||||
Reference in New Issue
Block a user