chore: set manually a working version of pip for install #153
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.
We recently have a problem to run the test within the CI with GH Actions.
See stackoverflow question for more detail : https://stackoverflow.com/questions/67296563/github-actions-stays-stuck-on-a-task-and-finally-fail-on-timeout
Following the comment on the stackoverflow issue, I tried in run-test.yml not to upgrade
pip
. It did partially the job since more runs completed. But at the end, it stayed stuck. See here to see the run.I investigated the following message in the CI :
But it is said in the related issue that :
Also in the CI trace, there is the following message :
Related also the the use of
--use-feature=in-tree-build
I found this issue on pip. This very last issue has a comment that propose to doinstead of
pip install .
which is not a good solution for us since we are making use of the possibility to specify a[options.extras_require]
like for instancepython -m pip install .[test]
.I also tried locally to upgrade pip to the latest version (
21.1
) and runpython -m pip install .[test]
. I had the similar problem as in the CI : the install process got stuck !! Local python version :3.6.8
.So what I did :
pip
version. It was21.0.1
. See hereIt worked locally with my
3.6.8
python version.