Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

バージョン情報をPEP 440に従った形式に変更しました。 #671

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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