Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

docs: run the Brotli play-locally server with uv's Python 3.12 (#443)

Eyal Golan294405274d12
diff --git a/.devcontainer/README.md b/.devcontainer/README.md
index 92f2b7ee4..90a2cfa68 100644
--- a/.devcontainer/README.md
+++ b/.devcontainer/README.md
@@ -7,7 +7,7 @@ or for a coding agent. It has no Unity. Unity work (`unity/`, builds, edit-mode
| Tool | Version | Where the version comes from |
| --- | --- | --- |
-| .NET SDK | 10.0.401 | `dotnet-version` in `.github/workflows/ci.yml`. The sim targets `net10.0`. There is no `global.json`. |
+| .NET SDK | 10.0.401 | `dotnet-version` in `.github/workflows/ci.yml`. The sim library targets `netstandard2.1` (for Unity); its tests and the CLI target `net10.0`. There is no `global.json`. |
| uv | 0.12.5 | `version` of `astral-sh/setup-uv` in `.github/workflows/ci.yml` |
| Python | 3.12 | Ubuntu 24.04's own `python3`, as on the `ubuntu-24.04` CI runner, and `UV_PYTHON` in `.github/workflows/ci.yml`. The scripts need `>=3.11`. |
| OS | Ubuntu 24.04 (`devcontainers/base` 3.0.8) | `runs-on: ubuntu-24.04` in `.github/workflows/ci.yml` |
diff --git a/docs/m3-release.md b/docs/m3-release.md
index 911717e8f..d9c2c62e5 100644
--- a/docs/m3-release.md
+++ b/docs/m3-release.md
@@ -52,7 +52,7 @@ start of M4, as a private Draft (owner ruling, 2026-10-10); their sections below
values from `docs/determinism.md`: PASS on both builds (the Brotli build too).
- **Play it locally:** serve the folder with web_check's handler, which sends `Content-Encoding: br` for `*.br`. Plain `python3 -m http.server` does not, so the Brotli build would not load. Then open http://localhost:8000/.
```
- python3 -c "import sys,functools,http.server; sys.path.insert(0,'tools'); import web_check as w; http.server.ThreadingHTTPServer(('127.0.0.1',8000), functools.partial(w.Handler, directory='unity/Builds/Web-brotli')).serve_forever()"
+ uv run --python 3.12 python -c "import sys,functools,http.server; sys.path.insert(0,'tools'); import web_check as w; http.server.ThreadingHTTPServer(('127.0.0.1',8000), functools.partial(w.Handler, directory='unity/Builds/Web-brotli')).serve_forever()"
```
The uncompressed build also works with `python3 -m http.server 8000 --directory unity/Builds/Web-disabled`.
- **Console lines a browser check can rely on:**