chore: Refactor dependencies in pyproject.toml files#8249
Conversation
CodSpeed Performance ReportMerging #8249 will degrade performances by 16.23%Comparing Summary
Benchmarks breakdown
|
WalkthroughThe updates modify dependency specifications in two Changes
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
uv.lockis excluded by!**/*.lock
📒 Files selected for processing (2)
pyproject.toml(1 hunks)src/backend/base/pyproject.toml(1 hunks)
🔇 Additional comments (1)
src/backend/base/pyproject.toml (1)
67-67: Verify updated setuptools version constraintThe new constraint
setuptools>=78.1.0,<79.0.0locks to a narrow range. Ensure that version 78.1.0 is published on PyPI and compatible with your build backend (hatchling) and any dependent tooling.
| "elasticsearch==8.16.0", | ||
| "pytube==15.0.0", | ||
| "dspy-ai==2.5.41", | ||
| "datasets>2.14.7", |
There was a problem hiding this comment.
Validate 'datasets' version specifier
The constraint "datasets>2.14.7" uses a strict greater-than operator, excluding exactly version 2.14.7. If you intend to include that release, consider changing it to datasets>=2.14.7.
🤖 Prompt for AI Agents
In pyproject.toml at line 54, the version specifier for 'datasets' uses a strict
greater-than operator (">2.14.7"), which excludes version 2.14.7 itself. To
include version 2.14.7 and later, change the specifier to use a
greater-than-or-equal operator (">=2.14.7").
* feat: add datasets dependency version constraint * fix: update setuptools version constraint to 78.1.1 * refactor: remove deploy dependency group from pyproject.toml
* feat: add datasets dependency version constraint * fix: update setuptools version constraint to 78.1.1 * refactor: remove deploy dependency group from pyproject.toml
Remove the deploy dependency group and update the setuptools version constraint. Additionally, add a version constraint for the datasets dependency.
Summary by CodeRabbit