Skip to content

Update version to 2.2.15 across project files#517

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

Update version to 2.2.15 across project files#517
MervinPraison merged 1 commit intomainfrom
develop

Conversation

@MervinPraison
Copy link
Copy Markdown
Owner

@MervinPraison MervinPraison commented May 27, 2025

  • Incremented PraisonAI version from 2.2.14 to 2.2.15 in pyproject.toml, uv.lock, and all relevant Dockerfiles for consistency.
  • Updated dependency version for praisonaiagents from 0.0.87 to 0.0.88.
  • Ensured minimal changes to existing code while maintaining versioning accuracy across the project.

Summary by CodeRabbit

  • Chores
    • Upgraded the praisonai Python package to version 2.2.15 across all Docker environments and documentation.
    • Updated the praisonaiagents dependency to version 0.0.88.
    • Incremented project version numbers to reflect these updates in configuration files and documentation.

- Incremented PraisonAI version from 2.2.14 to 2.2.15 in `pyproject.toml`, `uv.lock`, and all relevant Dockerfiles for consistency.
- Updated dependency version for `praisonaiagents` from 0.0.87 to 0.0.88.
- Ensured minimal changes to existing code while maintaining versioning accuracy across the project.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented May 27, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The changes update the version of the praisonai Python package from 2.2.14 to 2.2.15 across multiple Dockerfiles, deployment scripts, and documentation. Additionally, the praisonaiagents dependency is bumped from 0.0.87 to 0.0.88, and corresponding version numbers are updated in project configuration files.

Changes

File(s) Change Summary
docker/Dockerfile, docker/Dockerfile.chat, docker/Dockerfile.dev, docker/Dockerfile.ui Updated praisonai package version from 2.2.14 to 2.2.15
docs/api/praisonai/deploy.html, praisonai/deploy.py Changed Dockerfile creation to use praisonai 2.2.15 instead of 2.2.14
docs/developers/local-development.mdx, docs/ui/chat.mdx, docs/ui/code.mdx Updated documentation to reference praisonai 2.2.15 in Docker setup
pyproject.toml Bumped project version to 2.2.15 and praisonaiagents to >=0.0.88
src/praisonai-agents/pyproject.toml Updated praisonaiagents version from 0.0.87 to 0.0.88

Possibly related PRs

Suggested labels

Review effort 1/5

Poem

In Dockerfiles and docs, a hop and a leap,
The version’s now newer, no need to lose sleep.
From 2.2.14 to .15 we go,
Agents too, in tow.
A bunny’s delight—
All numbers just right,
The code’s up to date, let’s ship it tonight! 🐇✨


📜 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 f7d6f26 and 2d59f34.

⛔ Files ignored due to path filters (2)
  • src/praisonai-agents/uv.lock is excluded by !**/*.lock
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (11)
  • 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)
  • praisonai/deploy.py (1 hunks)
  • pyproject.toml (4 hunks)
  • src/praisonai-agents/pyproject.toml (1 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 bb91873 into main May 27, 2025
7 of 11 checks passed
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 focuses on a routine version update for the project. The main goal is to increment the core PraisonAI version to 2.2.15 and update the dependency on praisonaiagents to version 0.0.88. These version bumps are propagated across various configuration files, lock files, Dockerfiles, and documentation examples to ensure consistency throughout the project.

Highlights

  • Main Project Version Update: The primary version of the PraisonAI project has been updated from 2.2.14 to 2.2.15 in the pyproject.toml and uv.lock files.
  • Dependency Version Update: The required version for the praisonaiagents dependency has been updated from >=0.0.87 to >=0.0.88 in the main pyproject.toml and uv.lock. The version within the src/praisonai-agents sub-project's pyproject.toml and uv.lock has also been incremented to 0.0.88.
  • Consistent Versioning Across Files: References to the praisonai package version have been updated to 2.2.15 in all relevant Dockerfiles (docker/Dockerfile, docker/Dockerfile.chat, docker/Dockerfile.dev, docker/Dockerfile.ui), documentation examples (docs/api/praisonai/deploy.html, docs/developers/local-development.mdx, docs/ui/chat.mdx, docs/ui/code.mdx), and the Python script that generates a Dockerfile (praisonai/deploy.py).

Changelog

Click here to see the changelog
  • docker/Dockerfile
    • Updated praisonai version from 2.2.14 to 2.2.15 in the pip install command (line 4).
  • docker/Dockerfile.chat
    • Updated praisonai version from 2.2.14 to 2.2.15 in the pip install command (line 16).
  • docker/Dockerfile.dev
    • Updated praisonai version from 2.2.14 to 2.2.15 in the pip install command (line 18).
  • docker/Dockerfile.ui
    • Updated praisonai version from 2.2.14 to 2.2.15 in the pip install command (line 16).
  • docs/api/praisonai/deploy.html
    • Updated praisonai version from 2.2.14 to 2.2.15 in the embedded Dockerfile example string (line 113).
  • docs/developers/local-development.mdx
    • Updated praisonai version from 2.2.14 to 2.2.15 in the Dockerfile example (line 30).
  • docs/ui/chat.mdx
    • Updated praisonai version from 2.2.14 to 2.2.15 in the Dockerfile example (line 158).
  • docs/ui/code.mdx
    • Updated praisonai version from 2.2.14 to 2.2.15 in the Dockerfile example (line 211).
  • praisonai/deploy.py
    • Updated praisonai version from 2.2.14 to 2.2.15 in the generated Dockerfile content string (line 59).
  • pyproject.toml
    • Updated project.version from 2.2.14 to 2.2.15 (line 3).
    • Updated dependencies.praisonaiagents requirement from >=0.0.87 to >=0.0.88 (line 15).
    • Updated tool.poetry.version from 2.2.14 to 2.2.15 (line 92).
    • Updated tool.poetry.dependencies.praisonaiagents requirement from >=0.0.87 to >=0.0.88 (line 110).
  • src/praisonai-agents/pyproject.toml
    • Updated project.version from 0.0.87 to 0.0.88 (line 7).
  • src/praisonai-agents/uv.lock
    • Updated package.praisonaiagents.version from 0.0.87 to 0.0.88 (line 1460).
    • Updated sdist and wheel URLs, hashes, and sizes for praisonaiagents.
  • uv.lock
    • Updated package.praisonai.version from 2.2.14 to 2.2.15 (line 3617).
    • Updated requires-dist.praisonaiagents requirement from >=0.0.87 to >=0.0.88 (line 3759).
    • Updated package.praisonaiagents.version from 0.0.87 to 0.0.88 (line 3816).
    • Updated sdist and wheel URLs, hashes, and sizes for praisonaiagents.
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 align now,
From two point two point fourteen,
To two point two fifteen.

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.

@netlify
Copy link
Copy Markdown

netlify bot commented May 27, 2025

Deploy Preview for praisonai ready!

Name Link
🔨 Latest commit 2d59f34
🔍 Latest deploy log https://app.netlify.com/projects/praisonai/deploys/683543ddf81afc0008537c80
😎 Deploy Preview https://deploy-preview-517--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.

Code Review

This PR correctly updates the PraisonAI version to 2.2.15 and the praisonaiagents dependency to 0.0.88 across the specified project files. The changes are consistent and align with the PR's objective.

I have one suggestion regarding how the PraisonAI version is specified in the praisonai/deploy.py script to improve long-term maintainability. Other minor points about version hardcoding in documentation examples are noted in the summary but are of low severity, and thus not commented on directly per review settings.

Summary of Findings

  • Hardcoded Version in Deployment Script: The file praisonai/deploy.py hardcodes the PraisonAI version string when generating Dockerfile content. This is a maintainability concern (medium severity) and has been commented on.
  • Hardcoded Versions in Documentation Examples: Several documentation files (.mdx files: docs/developers/local-development.mdx, docs/ui/chat.mdx, docs/ui/code.mdx) contain hardcoded PraisonAI versions in example Dockerfile snippets. While common for examples, this can lead to outdated documentation if not updated consistently with the project version. This is considered low severity and was not commented on directly due to review settings.
  • Generated HTML Documentation: The file docs/api/praisonai/deploy.html also contains the hardcoded version. This file appears to be auto-generated based on praisonai/deploy.py. If praisonai/deploy.py is updated to use dynamic versioning, this HTML file should reflect the change upon regeneration. This is considered low severity and dependent on the deploy.py fix.

Merge Readiness

The pull request effectively updates the version numbers as intended across most files. The changes are largely accurate and consistent.

However, there's a medium-severity maintainability issue in praisonai/deploy.py where the PraisonAI version is hardcoded. Addressing this by dynamically fetching the version would make future version bumps more robust and less error-prone. I've provided a suggestion for this in the review comments.

Given this, I recommend that the suggested improvement in praisonai/deploy.py be considered before merging to enhance long-term maintainability. As an AI reviewer, I am not authorized to approve pull requests; please ensure further review and approval by project maintainers.

Comment thread praisonai/deploy.py
file.write("WORKDIR /app\n")
file.write("COPY . .\n")
file.write("RUN pip install flask praisonai==2.2.14 gunicorn markdown\n")
file.write("RUN pip install flask praisonai==2.2.15 gunicorn markdown\n")
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 PraisonAI version is hardcoded here as praisonai==2.2.15. This can lead to inconsistencies during future version bumps if this location is missed, requiring manual updates in multiple places.

To improve maintainability, could we fetch this version dynamically? One common approach is to use importlib.metadata.version('PraisonAI') (available in Python 3.8+). This would allow the generated Dockerfile to always use the version of PraisonAI that this script itself belongs to.

For example:

# At the top of praisonai/deploy.py (or within the CloudDeployer class scope)
import importlib.metadata
try:
    # Assuming 'PraisonAI' is the correct distribution name as in pyproject.toml
    praisonai_pkg_version = importlib.metadata.version('PraisonAI')
except importlib.metadata.PackageNotFoundError:
    # Fallback if the package is not found (e.g., during development before installation)
    # For this PR, the current version is 2.2.15. A more robust fallback or error handling might be needed.
    praisonai_pkg_version = "2.2.15"

# Then, in this line, you could use an f-string:
# file.write(f"RUN pip install flask praisonai=={praisonai_pkg_version} gunicorn markdown\n")

This change would make future version updates more robust by having a single source of truth for the version within the generated Dockerfile content.

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