Skip to content

chore: Update praisonai version to 2.2.19 across Dockerfiles and rela…#542

Merged
MervinPraison merged 1 commit intomainfrom
develop
May 30, 2025
Merged

chore: Update praisonai version to 2.2.19 across Dockerfiles and rela…#542
MervinPraison merged 1 commit intomainfrom
develop

Conversation

@MervinPraison
Copy link
Copy Markdown
Owner

@MervinPraison MervinPraison commented May 30, 2025

…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.

Summary by CodeRabbit

  • Chores

    • Upgraded the PraisonAI and PraisonAI Agents packages to version 2.2.19 and 0.0.92, respectively, across all environments and documentation.
    • Updated installation instructions and deployment references to use the latest package versions.
    • Removed the upper bound constraint on the supported Python version for PraisonAI.
  • Refactor

    • Improved code readability in manager instruction prompt generation without changing functionality.

…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.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented May 30, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This update increments the pinned version of the praisonai Python package from 2.2.18 to 2.2.19 across all Dockerfiles, deployment scripts, documentation, and project metadata. Additionally, the required Python version constraint is relaxed in pyproject.toml, and a minor code refactor improves string construction readability.

Changes

Files/Paths Change Summary
docker/Dockerfile, Dockerfile.chat, Dockerfile.dev, Dockerfile.ui Updated praisonai package version from 2.2.18 to 2.2.19 in pip install commands.
docs/api/praisonai/deploy.html, src/praisonai/praisonai/deploy.py Changed Dockerfile creation logic to use praisonai 2.2.19.
docs/developers/local-development.mdx, docs/ui/chat.mdx, docs/ui/code.mdx Updated documentation snippets to reference praisonai 2.2.19 in Dockerfile examples.
src/praisonai-agents/pyproject.toml Updated praisonaiagents project version from 0.0.91 to 0.0.92.
src/praisonai/pyproject.toml Updated project version to 2.2.19 and removed Python version upper bound constraint.
src/praisonai/praisonai.rb Updated formula to reference praisonai 2.2.19 and corresponding SHA256 checksum.
src/praisonai-agents/praisonaiagents/process/process.py Refactored string construction for required properties to improve code readability.

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
Loading

Possibly related PRs

Suggested labels

Review effort 1/5

Poem

A hop and a skip, a version anew,
PraisonAI’s number now ends with a two!
Dockerfiles aligned, the docs are in sync,
Python bounds loosened, in less than a blink.
With tidy-up strings and checksums in tow,
The codebase is ready—let’s give it a go!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7405bf6 and cd81dac.

⛔ Files ignored due to path filters (2)
  • src/praisonai-agents/uv.lock is excluded by !**/*.lock
  • src/praisonai/uv.lock is excluded by !**/*.lock
📒 Files selected for processing (13)
  • docker/Dockerfile (1 hunks)
  • docker/Dockerfile.chat (1 hunks)
  • docker/Dockerfile.dev (1 hunks)
  • docker/Dockerfile.ui (1 hunks)
  • docs/api/praisonai/deploy.html (1 hunks)
  • docs/developers/local-development.mdx (1 hunks)
  • docs/ui/chat.mdx (1 hunks)
  • docs/ui/code.mdx (1 hunks)
  • src/praisonai-agents/praisonaiagents/process/process.py (2 hunks)
  • src/praisonai-agents/pyproject.toml (1 hunks)
  • src/praisonai/praisonai.rb (1 hunks)
  • src/praisonai/praisonai/deploy.py (1 hunks)
  • src/praisonai/pyproject.toml (2 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@MervinPraison MervinPraison merged commit 00cf2c8 into main May 30, 2025
3 of 10 checks passed
@netlify
Copy link
Copy Markdown

netlify bot commented May 30, 2025

Deploy Preview for praisonai ready!

Name Link
🔨 Latest commit cd81dac
🔍 Latest deploy log https://app.netlify.com/projects/praisonai/deploys/68398c848c844c000884da49
😎 Deploy Preview https://deploy-preview-542--praisonai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 praisonai package version from 2.2.18 to 2.2.19 and the praisonaiagents package version from 0.0.91 to 0.0.92.
  • Configuration & Deployment Files: The updated praisonai version 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 new praisonai version.
  • Project Metadata: The main project version in src/praisonai/pyproject.toml has been updated to 2.2.19, and the Python version constraint has been relaxed from <3.13 to >=3.10. The praisonaiagents version is updated in its pyproject.toml and uv.lock file.
  • Minor Code Adjustment: A small change was made in src/praisonai-agents/process/process.py to slightly adjust the string formatting used when describing required properties for JSON schema instructions.

Changelog

Click here to see the changelog
  • docker/Dockerfile
    • Updated praisonai version from 2.2.18 to 2.2.19 in the pip install command (line 4).
  • docker/Dockerfile.chat
    • Updated praisonai version from 2.2.18 to 2.2.19 in the pip install command (line 16).
  • docker/Dockerfile.dev
    • Updated praisonai version from 2.2.18 to 2.2.19 in the pip install command (line 18).
  • docker/Dockerfile.ui
    • Updated praisonai version from 2.2.18 to 2.2.19 in the pip install command (line 16).
  • docs/api/praisonai/deploy.html
    • Updated praisonai version from 2.2.18 to 2.2.19 within the embedded Dockerfile example HTML (line 113).
  • docs/developers/local-development.mdx
    • Updated praisonai version from 2.2.18 to 2.2.19 in the Dockerfile example markdown (line 30).
  • docs/ui/chat.mdx
    • Updated praisonai version from 2.2.18 to 2.2.19 in the Dockerfile example markdown (line 158).
  • docs/ui/code.mdx
    • Updated praisonai version from 2.2.18 to 2.2.19 in the Dockerfile example markdown (line 211).
  • src/praisonai-agents/process/process.py
    • Adjusted string formatting for the required_desc variable in _get_manager_instructions_with_fallback_async (line 126) and _get_manager_instructions_with_fallback (line 165) functions.
  • src/praisonai-agents/pyproject.toml
    • Updated the praisonaiagents project version from 0.0.91 to 0.0.92 (line 7).
  • src/praisonai-agents/uv.lock
    • Updated the locked version for praisonaiagents from 0.0.91 to 0.0.92 (line 2236).
  • src/praisonai/praisonai.rb
    • Updated the url and sha256 for the Homebrew formula to reference version v2.2.19 (lines 6-7).
  • src/praisonai/praisonai/deploy.py
    • Updated praisonai version from 2.2.18 to 2.2.19 in the create_dockerfile function's output string (line 59).
  • src/praisonai/pyproject.toml
    • Updated the main PraisonAI project version from 2.2.18 to 2.2.19 (line 3).
    • Relaxed the requires-python constraint from >=3.10,<3.13 to >=3.10 (line 7).
    • Updated the tool.poetry section's version from 2.2.18 to 2.2.19 (line 92).
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

  1. 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.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-python upper bound was removed in src/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"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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.

shaneholloman pushed a commit to shaneholloman/praisonai that referenced this pull request Feb 4, 2026
chore: Update praisonai version to 2.2.19 across Dockerfiles and rela…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant