Skip to content

Updates PaddlePaddle to stable version 3.0.0 from rc1 and pins PaddleOCR version#154

Merged
GreatV merged 2 commits intoPFCCLab:mainfrom
GreatV:patch_1
May 22, 2025
Merged

Updates PaddlePaddle to stable version 3.0.0 from rc1 and pins PaddleOCR version#154
GreatV merged 2 commits intoPFCCLab:mainfrom
GreatV:patch_1

Conversation

@GreatV
Copy link
Collaborator

@GreatV GreatV commented May 22, 2025

This pull request updates dependencies to ensure compatibility with stable versions and introduces constraints to prevent potential issues with future releases. The most important changes include updating the PaddlePaddle version in the release workflow and adding a version constraint for PaddleOCR in the pyproject.toml file.

Dependency Updates:

  • .github/workflows/release-build.yml: Updated the PaddlePaddle dependency from 3.0.0rc1 to the stable release 3.0.0 and removed the installation of PaddleOCR in three separate job steps. [1] [2] [3]

  • pyproject.toml: Added a version constraint for PaddleOCR (paddleocr<3.0) to ensure compatibility with the current project setup.

to versions below 3.0 to maintain compatibility. Removes redundant
paddleocr installation in CI workflows.
Copilot AI review requested due to automatic review settings May 22, 2025 13:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates PaddlePaddle from the release candidate to the stable 3.0.0 in the release workflows and pins the PaddleOCR dependency to prevent breaking changes from future major releases.

  • Upgraded paddlepaddle==3.0.0 and removed separate paddleocr installs in CI jobs.
  • Added an upper bound paddleocr<3.0 in pyproject.toml.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Added paddleocr<3.0 to dependency list to prevent auto-upgrades.
.github/workflows/release-build.yml Replaced 3.0.0rc1 with 3.0.0 and removed explicit paddleocr steps across jobs.
Comments suppressed due to low confidence (1)

.github/workflows/release-build.yml:21

  • [nitpick] These pip install steps are repeated across three jobs; consider extracting them into a reusable YAML anchor or composite action to reduce duplication and simplify future updates.
          pip install paddlepaddle==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@GreatV GreatV merged commit 07facd5 into PFCCLab:main May 22, 2025
1 check passed
@GreatV GreatV deleted the patch_1 branch May 22, 2025 14:00
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.

2 participants