Skip to content

Fix paddle build install requirements#27378

Merged
luotao1 merged 2 commits intoPaddlePaddle:developfrom
tianshuo78520a:fix_paddle_build_install_requirements
Sep 17, 2020
Merged

Fix paddle build install requirements#27378
luotao1 merged 2 commits intoPaddlePaddle:developfrom
tianshuo78520a:fix_paddle_build_install_requirements

Conversation

@tianshuo78520a
Copy link
Collaborator

@tianshuo78520a tianshuo78520a commented Sep 17, 2020

PR types

Others

PR changes

Others

Describe

在APPROVAL-CI中会跑PR的代码和develop代码,在跑develop的代码时候执行pip install -r requirements.txt 时候发现安装的是PR的代码,原因是在跑完develop的代码后会git branch -d 分支 删除了develop的requirements.txt ,目前的解决方法在跑完develop的代码后copy 一份到/tmp/requirements.txt ,在执行时候判断如果是develop代码就install /tmp/requirements.txt 可以解决问题。遇到的失败CI链接:https://xly.bce.baidu.com/paddlepaddle/paddle/newipipe/detail/1756188/job/2510902

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM PR描述里可以写一下原来错误是什么,原因是什么,怎么解决的

@luotao1 luotao1 merged commit da583ed into PaddlePaddle:develop Sep 17, 2020
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