~/talk

Testing Complex Python Dependencies With Docker Containers

Talkat PyCon APAC 2018 · 2018-05-31..06-02· [python, devops-and-delivery]
links:none on file
slides:none on file

Uses Docker to encapsulate external, stateful dependencies (browsers, databases) so tests run against exact versions and controlled environments, with ban network access to prevent silent auto-updates. Builds small Dockerfiles per dependency, layers those images underneath code and tests, and runs unit/pytest harnesses inside containers to reproduce failures, layer dependencies under code, and run multiple versions concurrently. Result: reproducible rollbacks, cheaper debugging via repeated runs, and easier detection of behavior changes across versions.

AI-written summary · about

  1. 0:00Start
  2. 0:08Testing Complex Python Dependency
  3. 0:55Python Testing
  4. 8:12Common Use Cases for Containers
  5. 8:38Test Setup
  6. 13:17Debugging
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.