Skip to content

Commit 17f7123

Browse files
committed
fix: Add dummy version num for platform-plugin-sample for bind-mount
1 parent 0bc36be commit 17f7123

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

platform-plugin-sample/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ root = ".."
120120
version_scheme = 'only-version'
121121
local_scheme = 'no-local-version'
122122

123+
# Dummy version number for when ../.git isn't accessible.
124+
# This happens, for example, when bind-mounting the platform-plugin- into a Docker image.
125+
fallback_version = "0.0.0.dev0"
126+
123127
[tool.uv]
124128
# Each entry lists groups with mutually exclusive version requirements so uv can
125129
# produce a single uv.lock that contains a separate resolution for each. Add a

0 commit comments

Comments
 (0)