mlrichmond-mill
New Contributor III

Based on your example, I think my code was the same as what you suggested as the "minimum working sample" - however, I think I have a stale wheel cached in the serverless setup and that may be the source of my problem there. I agree the long-term goal is the git-commit based version - but when I attempt to use what you supplied, the deploy fails for the artifact path (Error: target with 'mode: production' must set 'workspace.root_path' to make sure only one copy is deployed) because I'm still working in dev at the moment.

What is the best practice to facilitate this kind of pattern whilst getting prod and dev to peacefully coexist?
Ideally I'd like to be able to deploy to dev and have it automatically pick up my current "version" via timestamp or whatever else is necessary, and for prod use a wheel based on a git commit.