Skip to content

Commit

Permalink
バージョン情報をPEP 440に従った形式に変更しました。 (#671)
Browse files Browse the repository at this point in the history
* format

* update lock file
  • Loading branch information
yuji38kwmt authored Aug 14, 2024
1 parent 5d48d93 commit 2231455
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 46 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- name: Install poetry
run: |
python -m pip install "poetry<1.9"
poetry install --only publish
poetry self add "poetry-dynamic-versioning[plugin] < 1.5"
- name: Publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down
41 changes: 4 additions & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ optional = true
[tool.poetry.group.dev.dependencies]
ipython = "*"

[tool.poetry.group.publish]
# PyPIにpublishするのに必要なライブラリ。インストールしなくても開発はできるので、オプショナルにする
optional = true

[tool.poetry.group.publish.dependencies]
poetry-dynamic-versioning = "*"


[tool.mypy]
# スタブが無いパッケージのエラーは無視させる.サードパーティのライブラリに型情報がないケースもあるため
Expand Down Expand Up @@ -154,7 +147,6 @@ max-args = 10

[tool.poetry-dynamic-versioning]
enable = true
format = "{base}"


[build-system]
Expand Down

0 comments on commit 2231455

Please sign in to comment.