The State of Packaging & Dependency Management

by Craig Kairsterns

Note

started late cause was coming off my talk

Pip

  • replaced easy_install
  • Actually supports uninstalling
  • Lots of small improvements
  • Supports version control (Use only pinned versions!)

virtualenv

  • Sandbox tool
  • Destroy and recreate often

Best practices

  • pin your versions
  • Don’t use repos for production
  • Not for deployment!

What’s missing?

  • locks

Recap

  • packaging

    • use PyPI
  • Dependency Management

    • Pip
    • virtualenv

Thoughts

  • We’re in better shape than realized
  • Just need to use the tools we have effectively