Roadmaps / Python / Setup and lab safety
Read first
Setup and lab safety
You need one laptop with 8 GB of RAM or more, uv, the current stable CPython and its free-threaded build (the 3.15t variant), Docker and Postgres in a container. Everything is free. Linux or macOS works best; the profiling tools in Phase 3 are easiest on Linux.
| Risk | Rule |
|---|---|
| Installing packages runs code | Use a throwaway virtual environment for any package you have not vetted. The milestone has a dependency budget. |
| Load tests can flood a service | Load test only your own service on your own machine or a private network. |
pickle and eval run arbitrary code | Never load a pickle you did not create. Week 15 shows why with a seeded example, run in a container. |
| A database test can destroy data | Run tests against a throwaway Postgres container, never a shared database. |