Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Python Environments and Dependencies

Virtual Environments and pyproject.toml

BOTIE

Third-party virtual environment tools already helped projects retain separate installed packages. PEP 405, created in 2011 for Python 3.3, proposed built-in support that would avoid reproducing fragile interpreter-startup behavior in external tools.

Builds had another dependency problem: a tool could need packages before it could execute the script that described them. PEP 518 introduced pyproject.toml build-system requirements in 2016 so tools could read that setup without first running its build script. Package isolation and declarative build requirements address different parts of reproducibility.

Sources for this history