-
Type:
Task
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Infrastructure
-
None
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Context
pyproject.toml installs the mockupdb dependency group from git+https://github.com/mongodb-labs/mongo-mockup-db@master, a moving branch rather than a released version. Every environment that resolves this group re-fetches whatever commit is currently on master, so builds are not reproducible and a transient fetch failure against that branch can fail the mockupdb test tasks. mongo-mockup-db publishes releases to PyPI; the latest is 1.8.1.
Definition of done
- The mockupdb dependency group in pyproject.toml depends on a released version of mockupdb from PyPI instead of the master git ref.
- The lockfile reflects the pinned version.
- The mockupdb test tasks still pass against the released version.
Pitfalls
- Master may contain fixes or API changes not yet in the latest PyPI release (1.8.1, released 2021-10-15) — check whether any test in test/mockupdb/ relies on behavior only present past that tag before switching.
- mockupdb is a `dependency-groups` entry gated behind --group mockupdb, not a default sync group — confirm the pin doesn't change that gating.