-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes an issue with `poetry build` not substituting the dynamic version number. It fixes the issue by adding the optional plugin dependency. fix #367
- Loading branch information
1 parent
272b2be
commit f2946d6
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#! /usr/bin/env bash | ||
python -m pip install poetry-dynamic-versioning | ||
# PDV will already have been installed in a devcontainer, but is | ||
# re-included here for the benefit of manual dev environments. | ||
poetry self add "poetry-dynamic-versioning[plugin]" | ||
poetry config virtualenvs.in-project true --local | ||
poetry install --with dev --all-extras | ||
poetry run pre-commit install --install-hooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters