chore: Update praisonai version to 2.2.19 across Dockerfiles and rela…#542
chore: Update praisonai version to 2.2.19 across Dockerfiles and rela…#542MervinPraison merged 1 commit intomainfrom
Conversation
…ted configurations - Increment praisonai version from 2.2.18 to 2.2.19 in Dockerfiles and deployment scripts - Update version in pyproject.toml for praisonaiagents from 0.0.91 to 0.0.92 - Ensure consistency across all relevant files for the new version This update addresses compatibility and feature improvements associated with the latest praisonai release.
|
Caution Review failedThe pull request is closed. WalkthroughThis update increments the pinned version of the Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant Dockerfile
participant pip
participant PraisonAI
Developer->>Dockerfile: Build image (with praisonai==2.2.19)
Dockerfile->>pip: Install praisonai==2.2.19
pip->>PraisonAI: Provide updated package
PraisonAI-->>pip: Install complete
pip-->>Dockerfile: Build complete
Dockerfile-->>Developer: Image ready with praisonai 2.2.19
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (13)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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 (
|
✅ Deploy Preview for praisonai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Hello @MervinPraison, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
Hello team, gemini-code-assist here to provide a summary of this pull request. This PR primarily focuses on updating package versions across the repository. The main goal, as stated in the title and description, is to increment the praisonai version to 2.2.19 and the praisonaiagents version to 0.0.92. This involves updating references in various Dockerfiles, documentation examples, deployment scripts, and project configuration files (pyproject.toml, uv.lock, Homebrew formula). The author mentions this update addresses compatibility and feature improvements from the latest praisonai release.
Highlights
- Version Updates: The core change is the update of the
praisonaipackage version from2.2.18to2.2.19and thepraisonaiagentspackage version from0.0.91to0.0.92. - Configuration & Deployment Files: The updated
praisonaiversion is reflected across multiple Dockerfiles (docker/Dockerfile,docker/Dockerfile.chat,docker/Dockerfile.dev,docker/Dockerfile.ui), the Homebrew formula (src/praisonai/praisonai.rb), and the internal Dockerfile generation logic (src/praisonai/praisonai/deploy.py). - Documentation Updates: Documentation files (
docs/api/praisonai/deploy.html,docs/developers/local-development.mdx,docs/ui/chat.mdx,docs/ui/code.mdx) containing Dockerfile examples have been updated to use the newpraisonaiversion. - Project Metadata: The main project version in
src/praisonai/pyproject.tomlhas been updated to2.2.19, and the Python version constraint has been relaxed from<3.13to>=3.10. Thepraisonaiagentsversion is updated in itspyproject.tomlanduv.lockfile. - Minor Code Adjustment: A small change was made in
src/praisonai-agents/process/process.pyto slightly adjust the string formatting used when describing required properties for JSON schema instructions.
Changelog
Click here to see the changelog
- docker/Dockerfile
- Updated
praisonaiversion from2.2.18to2.2.19in thepip installcommand (line 4).
- Updated
- docker/Dockerfile.chat
- Updated
praisonaiversion from2.2.18to2.2.19in thepip installcommand (line 16).
- Updated
- docker/Dockerfile.dev
- Updated
praisonaiversion from2.2.18to2.2.19in thepip installcommand (line 18).
- Updated
- docker/Dockerfile.ui
- Updated
praisonaiversion from2.2.18to2.2.19in thepip installcommand (line 16).
- Updated
- docs/api/praisonai/deploy.html
- Updated
praisonaiversion from2.2.18to2.2.19within the embedded Dockerfile example HTML (line 113).
- Updated
- docs/developers/local-development.mdx
- Updated
praisonaiversion from2.2.18to2.2.19in the Dockerfile example markdown (line 30).
- Updated
- docs/ui/chat.mdx
- Updated
praisonaiversion from2.2.18to2.2.19in the Dockerfile example markdown (line 158).
- Updated
- docs/ui/code.mdx
- Updated
praisonaiversion from2.2.18to2.2.19in the Dockerfile example markdown (line 211).
- Updated
- src/praisonai-agents/process/process.py
- Adjusted string formatting for the
required_descvariable in_get_manager_instructions_with_fallback_async(line 126) and_get_manager_instructions_with_fallback(line 165) functions.
- Adjusted string formatting for the
- src/praisonai-agents/pyproject.toml
- Updated the
praisonaiagentsproject version from0.0.91to0.0.92(line 7).
- Updated the
- src/praisonai-agents/uv.lock
- Updated the locked version for
praisonaiagentsfrom0.0.91to0.0.92(line 2236).
- Updated the locked version for
- src/praisonai/praisonai.rb
- Updated the
urlandsha256for the Homebrew formula to reference versionv2.2.19(lines 6-7).
- Updated the
- src/praisonai/praisonai/deploy.py
- Updated
praisonaiversion from2.2.18to2.2.19in thecreate_dockerfilefunction's output string (line 59).
- Updated
- src/praisonai/pyproject.toml
- Updated the main
PraisonAIproject version from2.2.18to2.2.19(line 3). - Relaxed the
requires-pythonconstraint from>=3.10,<3.13to>=3.10(line 7). - Updated the
tool.poetrysection's version from2.2.18to2.2.19(line 92).
- Updated the main
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Versions bump and climb,
Dependencies take our time,
Docker builds anew.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Code Review
This pull request effectively updates the praisonai version to 2.2.19 and praisonaiagents to 0.0.92 across various Dockerfiles, documentation, and configuration files. The changes are consistent and align with the PR's goal of addressing compatibility and feature improvements.
The minor refactoring in src/praisonai-agents/praisonaiagents/process/process.py to extract the required_props_str variable is a nice touch for improving code readability. Well done on that!
There's one point regarding the Python version constraint in src/praisonai/pyproject.toml that I'd like to get clarification on, detailed in the review comment below.
Summary of Findings
- Python Version Constraint: The
requires-pythonupper bound was removed insrc/praisonai/pyproject.toml. Confirmation is needed regarding compatibility testing with Python 3.13+.
Merge Readiness
The pull request is largely in good shape, with consistent version updates across the repository. However, before merging, it would be beneficial to clarify the change in the requires-python constraint in src/praisonai/pyproject.toml to ensure compatibility with Python versions 3.13 and above has been verified. Addressing this point will help prevent potential issues for users on newer Python versions. As an AI, I am not authorized to approve pull requests; please ensure further review and approval by authorized team members.
| readme = "README.md" | ||
| license = "" | ||
| requires-python = ">=3.10,<3.13" | ||
| requires-python = ">=3.10" |
There was a problem hiding this comment.
The requires-python constraint has been changed from >=3.10,<3.13 to >=3.10, removing the upper bound. Could you confirm if PraisonAI version 2.2.19 (and its dependencies) has been tested and is confirmed to be compatible with Python 3.13 and potentially newer versions? Removing the upper bound is fine if compatibility is assured, but it could lead to issues for users on newer Python versions if not fully tested.
chore: Update praisonai version to 2.2.19 across Dockerfiles and rela…
…ted configurations
This update addresses compatibility and feature improvements associated with the latest praisonai release.
Summary by CodeRabbit
Chores
Refactor