Skip to content

Commit 2231455

Browse files
authored
バージョン情報をPEP 440に従った形式に変更しました。 (#671)
* format * update lock file
1 parent 5d48d93 commit 2231455

File tree

3 files changed

+6
-46
lines changed

3 files changed

+6
-46
lines changed

.github/workflows/publish-to-pypi.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
- name: Install poetry
1818
run: |
1919
python -m pip install "poetry<1.9"
20-
poetry install --only publish
20+
poetry self add "poetry-dynamic-versioning[plugin] < 1.5"
21+
2122
- name: Publish
2223
env:
2324
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

poetry.lock

+4-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

-8
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ optional = true
6464
[tool.poetry.group.dev.dependencies]
6565
ipython = "*"
6666

67-
[tool.poetry.group.publish]
68-
# PyPIにpublishするのに必要なライブラリ。インストールしなくても開発はできるので、オプショナルにする
69-
optional = true
70-
71-
[tool.poetry.group.publish.dependencies]
72-
poetry-dynamic-versioning = "*"
73-
7467

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

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

159151

160152
[build-system]

0 commit comments

Comments
 (0)