-
Notifications
You must be signed in to change notification settings - Fork 0
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
Python 3.13に対応しました #155
Python 3.13に対応しました #155
Conversation
@@ -23,24 +23,49 @@ annofabapi = "^1" | |||
dataclasses-json = ">=0.5.7,<1" | |||
fire = ">=0.3.1,<1" | |||
more-itertools = "^8.5.0" | |||
numpy = "^1.23.0" | |||
|
|||
numpy = ">=1.23, <3" |
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.
Python 3.13ではnumpy 2.1以上でないとwheelファイルがPyPIにないため、numpy 2.X系も利用可能にしました。
https://app.travis-ci.com/github/kurusugawa-computer/annofab-3dpc-editor-cli/jobs/629047800
numpy = [ | ||
{version="^2.1", python=">=3.13"} | ||
] | ||
# scipy 1.14.1以上でないと、Python 3.13用のwheelファイルがPyPIにないため、scipyのバージョンを指定する | ||
scipy = [ | ||
{version="^1.14.1", python=">=3.13"} | ||
] | ||
|
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.
この指定がないと、Python 3.13でのpoetry install
で失敗するため追加しました。
https://app.travis-ci.com/github/kurusugawa-computer/annofab-3dpc-editor-cli/jobs/629047800
pyproject.toml
Outdated
|
||
[tool.poetry.group.linter.dependencies] | ||
ruff = "^0.8" | ||
pytest = "^7.1.2" | ||
mypy = "^1.11" | ||
flake8 = "^7.1" | ||
pylint = "^3.2" | ||
|
||
|
||
[tool.poetry.group.formatter.dependencies] | ||
black = "^22.6.0" | ||
isort = "^5.10.1" | ||
pylint = "^3.2" | ||
# document | ||
|
||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest = "^7.1.2" | ||
|
||
|
||
[tool.poetry.group.documentation.dependencies] |
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.
[tool.poetry.group.dev-only.dependencies]
のついで、他の開発用パッケージをグループ化しました。
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.
python 3.13環境下でpoetry installして、make_sceneが動くことは確認したぞ
#156 がマージされてから対応する
poetry install
が成功するように、開発版の依存関係を修正しました。