Skip to content

Conversation

@ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented Aug 1, 2025

PR Category

Environment Adaptation

PR Types

Bug fixes

Description

#68406

site.USER_SITE 可能为 None https://docs.python.org/zh-cn/3.10/library/site.html#site.USER_SITE (比如在 pyinstaller 打包之后的运行环境中,没有调用 gitusersitepackages 就会是 None 值),导致 os.path.sep.join 报错。

@paddle-bot
Copy link

paddle-bot bot commented Aug 1, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Aug 1, 2025
@codecov-commenter
Copy link

codecov-commenter commented Aug 1, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@3788080). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/base/core.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #74373   +/-   ##
==========================================
  Coverage           ?    0.00%           
==========================================
  Files              ?        1           
  Lines              ?        1           
  Branches           ?        0           
==========================================
  Hits               ?        0           
  Misses             ?        1           
  Partials           ?        0           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ooooo-create ooooo-create changed the title refine set_paddle_lib_path Fix set_paddle_lib_path Aug 2, 2025
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Aug 5, 2025
@luotao1 luotao1 merged commit c2b46ad into PaddlePaddle:develop Aug 6, 2025
115 of 119 checks passed
@ooooo-create ooooo-create deleted the fix_site branch September 29, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants