Updates PaddlePaddle to stable version 3.0.0 from rc1 and pins PaddleOCR version#154
Merged
GreatV merged 2 commits intoPFCCLab:mainfrom May 22, 2025
Merged
Updates PaddlePaddle to stable version 3.0.0 from rc1 and pins PaddleOCR version#154GreatV merged 2 commits intoPFCCLab:mainfrom
GreatV merged 2 commits intoPFCCLab:mainfrom
Conversation
to versions below 3.0 to maintain compatibility. Removes redundant paddleocr installation in CI workflows.
Contributor
There was a problem hiding this comment.
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.0and removed separatepaddleocrinstalls in CI jobs. - Added an upper bound
paddleocr<3.0inpyproject.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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.tomlfile.Dependency Updates:
.github/workflows/release-build.yml: Updated the PaddlePaddle dependency from3.0.0rc1to the stable release3.0.0and 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.