lfreleng-actions/🐍 Python Project Dynamic Versioning
Detects whether a Python project uses dynamic versioning. Recognises pyproject.toml dynamic=["version"], setup.cfg attr:/file: indirection, PBR, setuptools-scm, versioneer and hatch-vcs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 8, 2026
- License
- None
Pinned Snippet
uses: lfreleng-actions/python-dynamic-version-action@28b2e4a4c904ea32c7408c70acfb5e091eb3d639 # v0.2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| path_prefix | Directory location containing project code | no | . |
Outputs
| name | description |
|---|---|
| dynamic_version | "true" when dynamic versioning is configured. |
| dynamic_provider | Identifier of the dynamic versioning provider when dynamic_version is true: pbr | setuptools-scm | versioneer | setuptools-dynamic | hatch-vcs | pyproject-dynamic. Empty when static. |
| source | Path to the file that supplied the dynamic-versioning signal. Empty when no signal was found. |