-
Notifications
You must be signed in to change notification settings - Fork 21
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
⬆️ (poetry.lock): upgrade dependencies to latest versions for improved stability and performance #799
Conversation
…d stability and performance ⬆️ (poetry.lock): upgrade dependencies to latest versions Upgrade several dependencies to their latest versions to ensure compatibility, security, and access to new features. This includes updating packages like orjson, pillow, pre-commit, prompt-toolkit, pydantic, pydantic-settings, pygments, pymdown-extensions, pypdf, python-semantic-release, ruff, selenium, and smmap. These updates address potential vulnerabilities, improve performance, and provide enhancements introduced in the newer versions. ⬆️ (poetry.lock): upgrade dependencies to latest versions Upgrade SQLAlchemy to 2.0.37, Starlette to 0.45.3, Tree-sitter to 0.24.0, Tzdata to 2025.1, Virtualenv to 20.29.1, and Wrapt to 1.17.2. Add Zstandard 0.23.0. These updates ensure compatibility with newer Python versions, improve performance, and incorporate bug fixes.
472a342
to
3819175
Compare
… TOML format and enhance type checking Switch mypy configuration from INI to TOML format for better structure and flexibility. Update Makefile to use the new mypy.toml file and include additional options for improved error reporting. Add type stubs for external libraries in pyproject.toml to enhance type checking accuracy.
Walkthroughこのプルリクエストでは、Pythonのバージョンアップ、mypyの設定変更、GitHub Actionsのワークフローの改善、依存関係の更新防止など、プロジェクトの品質とパフォーマンスを向上させるための一連の変更が行われています。 Changes
Uplevel your code reviews with CodeRabbit ProCodeRabbit ProIf you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects. |
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.
Files selected (1)
- Makefile (1)
Files ignored due to filter (4)
- mypy.ini
- mypy.toml
- poetry.lock
- pyproject.toml
Review comments generated (1)
- Review: 0
- LGTM: 1
Tips
Chat with
CodeRabbit Bot (@coderabbitai
)
- Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
- Invite the bot into a review comment chain by tagging
@coderabbitai
in a reply.
Code suggestions
- The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
- You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Pausing incremental reviews
- Add
@coderabbitai: ignore
anywhere in the PR description to pause further reviews from the bot.
…to ensure compatibility with latest features and improvements
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.
Files selected (1)
- .github/workflows/ci.yml (2)
Files ignored due to filter (1)
- mypy.toml
Review comments generated (2)
- Review: 0
- LGTM: 2
Tips
Chat with
CodeRabbit Bot (@coderabbitai
)
- Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
- Invite the bot into a review comment chain by tagging
@coderabbitai
in a reply.
Code suggestions
- The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
- You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Pausing incremental reviews
- Add
@coderabbitai: ignore
anywhere in the PR description to pause further reviews from the bot.
…sistent virtual environment configuration
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.
Files selected (1)
- .github/workflows/ci.yml (1)
Review comments generated (5)
- Review: 5
- LGTM: 0
Tips
Chat with
CodeRabbit Bot (@coderabbitai
)
- Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
- Invite the bot into a review comment chain by tagging
@coderabbitai
in a reply.
Code suggestions
- The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
- You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Pausing incremental reviews
- Add
@coderabbitai: ignore
anywhere in the PR description to pause further reviews from the bot.
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' |
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.
sudo apt-get update | ||
pip install --upgrade pip | ||
pip install "poetry==1.8.5" | ||
poetry config virtualenvs.create true | ||
poetry config virtualenvs.in-project true | ||
poetry lock --no-update | ||
poetry install |
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.
依存関係のインストール手順が更新され、Poetryの設定が改善されました。また、poetry lock
コマンドに--no-update
オプションが追加され、依存関係の更新を防ぐようになりました。
- sudo apt-get update &&
- pip install poetry &&
- poetry lock &&
- poetry install
+ sudo apt-get update
+ pip install --upgrade pip
+ pip install "poetry==1.8.5"
+ poetry config virtualenvs.create true
+ poetry config virtualenvs.in-project true
+ poetry lock --no-update
+ poetry install
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' |
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.
sudo apt-get update | ||
pip install --upgrade pip | ||
pip install "poetry==1.8.5" | ||
poetry config virtualenvs.create true | ||
poetry config virtualenvs.in-project true | ||
poetry lock --no-update | ||
poetry install |
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.
依存関係のインストール手順が更新され、Poetryの設定が改善されました。また、poetry lock
コマンドに--no-update
オプションが追加され、依存関係の更新を防ぐようになりました。
- sudo apt-get update &&
- pip install poetry &&
- poetry lock &&
- poetry install
+ sudo apt-get update
+ pip install --upgrade pip
+ pip install "poetry==1.8.5"
+ poetry config virtualenvs.create true
+ poetry config virtualenvs.in-project true
+ poetry lock --no-update
+ poetry install
with: | ||
name: pytest-results | ||
path: junit/test-results.xml | ||
if: ${{ always() }} |
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.
⬆️ (poetry.lock): upgrade dependencies to latest versions
Upgrade several dependencies to their latest versions to ensure
compatibility, security, and access to new features. This includes
updating packages like orjson, pillow, pre-commit, prompt-toolkit,
pydantic, pydantic-settings, pygments, pymdown-extensions, pypdf,
python-semantic-release, ruff, selenium, and smmap. These updates
address potential vulnerabilities, improve performance, and provide
enhancements introduced in the newer versions.
⬆️ (poetry.lock): upgrade dependencies to latest versions
Upgrade SQLAlchemy to 2.0.37, Starlette to 0.45.3, Tree-sitter to 0.24.0,
Tzdata to 2025.1, Virtualenv to 20.29.1, and Wrapt to 1.17.2. Add
Zstandard 0.23.0. These updates ensure compatibility with newer Python
versions, improve performance, and incorporate bug fixes.
Summary by CodeRabbit
mypy
の設定を変更し、エラーコードの表示と結果の見やすさを改善しました。poetry lock
コマンドに--no-update
オプションを追加し、依存関係の更新を防ぐようにしました。