-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use poetry-dynamic-versioning (#390)
- Loading branch information
Showing
3 changed files
with
13 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
# install poetry first for cache | ||
- name: setup poetry | ||
run: pipx install poetry | ||
run: pipx install poetry poetry-dynamic-versioning | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
@@ -34,4 +34,4 @@ jobs: | |
- name: Build and publish to pypi | ||
uses: JRubics/[email protected] | ||
with: | ||
pypi_token: ${{ secrets.PYPI_API_TOKEN }} | ||
pypi_token: ${{ secrets.PYPI_API_TOKEN }} |
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 +1,2 @@ | ||
__version__ = "0.13.4" | ||
# placeholder for poetry-dynamic-versioning | ||
__version__ = "0.0.0" |
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,6 +1,7 @@ | ||
[tool.poetry] | ||
name = "alpaca-py" | ||
version = "0.13.4" | ||
# placeholder for poetry-dynamic-versioning | ||
version = "0.0.0" | ||
description = "The Official Python SDK for Alpaca APIs" | ||
authors = [ | ||
"Rahul Chowdhury <[email protected]>", | ||
|
@@ -37,5 +38,10 @@ enum-tools = "^0.9.0" | |
sphinx-toolbox = "^3.1.2" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.4.2"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["poetry-core>=1.4.2", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] | ||
build-backend = "poetry_dynamic_versioning.backend" | ||
|
||
[tool.poetry-dynamic-versioning.substitution] | ||
folders = [ | ||
{ path = "alpaca" } | ||
] |
ba83efb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hiohiohio
Can't update to
alpaca-py 0.13.5
withpip install alpaca-py --upgrade
ba83efb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sshcli thank you for reporting. sorry, currently publish workflow is failing. Therefore, 0.13.5 is not uploaded to pypi yet.
waiting this PR to be approved. #395
once the PR is merged, I will push alpaca-py 0.13.6.
ba83efb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hiohiohio
ba83efb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi. @sshcli alpaca-py v0.13.6 is released and published into pypi.
https://pypi.org/project/alpaca-py/0.13.6/