Its really hard to run testmon in ci because of comparing system_packages. In my case all dependencies are in poetry.lock and unchanged poetry.lock hash value (inside poetry.lock file) is guarantees that dependencies were not changed.
Is it possible to add flag like --testmon-use-poetry.lock or something like that to strict use poetry lock hash to define package changes?
Something like that:
def get_system_packages_as_poetry_lock_hash() -> str:
import tomllib
with open("poetry.lock", "rb") as poetry_lock:
data = tomllib.load(poetry_lock)
return data["metadata"]["content-hash"]