Ctrl K
Python · Mid-level · Theory

Your deploy failed: the build pulled in a new minor version of a transitive dependency, and it broke the API. How would you set up dependency and environment management so this doesn't happen again?

~4 min by voice

How to approach it

This checks whether you understand the difference between declared dependencies and a pinned tree, whether you can make the build reproducible (a lock file, transitive dependencies, installing strictly from the lock in CI/Docker), and whether you can do that without freezing on old versions.

Have you seen this question in a real interview?
Answers0
Avg. score—
Strong—
Practiced0
Topics
Similar questionsTell me about a time when someone on your team didn't finish their part of the work on time, and your task depended on it. What did you do? JuniorWhy do you need virtual environments in Python, and how do you manage a project's dependencies? JuniorA company has thirty Python services and several shared internal libraries. How would you organize dependency management, library versioning and Docker image builds? Senior

Answer by voice

The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.

Sign in to answer

Best with headphones · ~4 min