Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Version] update version info #9060

Merged

Conversation

DrownFish19
Copy link
Collaborator

PR types

Function optimization

PR changes

Others

Description

develop and release version info can be saved in the paddlenlp/__init__.py.

Copy link

paddle-bot bot commented Aug 30, 2024

Thanks for your contribution!

if os.getenv(PADDLENLP_STABLE_VERSION):
__version__ = __version__.replace(".post", "")
else:
formatted_date = datetime.now().date().strftime("%Y%m%d")
__version__ = __version__.replace(".post", ".post{}".format(formatted_date))

# the next line will be replaced by setup.py for release version.
# [VERSION_INFO]

Copy link
Collaborator Author

@DrownFish19 DrownFish19 Aug 30, 2024

Choose a reason for hiding this comment

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

.whl 文件中会替换# [VERSION_INFO]__version__ = "3.0.0b1.post20240830"

Copy link

codecov bot commented Aug 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.76%. Comparing base (e204b6d) to head (c349c79).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9060      +/-   ##
===========================================
+ Coverage    53.16%   53.76%   +0.60%     
===========================================
  Files          652      652              
  Lines       105932   104540    -1392     
===========================================
- Hits         56320    56211     -109     
+ Misses       49612    48329    -1283     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Sep 2, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation Sep 2, 2024
Copy link
Collaborator

@ZHUI ZHUI left a comment

Choose a reason for hiding this comment

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

LGTM

@DrownFish19 DrownFish19 merged commit a4fbc52 into PaddlePaddle:develop Sep 3, 2024
11 of 12 checks passed
@DrownFish19 DrownFish19 deleted the dev_20240830_update_version branch September 3, 2024 13:17
Mangodadada pushed a commit to Mangodadada/PaddleNLP that referenced this pull request Sep 10, 2024
* update version

* update

* update

* update
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