[ 
https://issues.apache.org/jira/browse/BEAM-6318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16743487#comment-16743487
 ] 

Valentyn Tymofieiev commented on BEAM-6318:
-------------------------------------------

[https://github.com/apache/beam/pull/7519] increases number of retries pip 
should attempt. 

If  the nature of the failure is such that  pip cannot access pypi, this PR 
might help, because now pip will retry 10 times over the course of 4 min. 

If the nature of the failure is such that pypi sends a valid but incorrect 
response, the PR might not help, because pip won't consider that a retry is 
necessary. In this case we may have to add a retry call to pip itself.

I'm going to close the issue until we see the next instance of this flake.

> beam-sdks-python:setupVirtualenv sometimes fails due to a pip flake "No 
> matching distribution found"
> ----------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-6318
>                 URL: https://issues.apache.org/jira/browse/BEAM-6318
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Andrew Pilloud
>            Assignee: Valentyn Tymofieiev
>            Priority: Major
>             Fix For: 2.11.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> https://builds.apache.org/job/beam_PreCommit_Python_Cron/752/
> {code}
> 16:00:43 Collecting pluggy<1.0,>=0.3.0 (from tox==3.0.0)
> 16:00:43   Could not find a version that satisfies the requirement 
> pluggy<1.0,>=0.3.0 (from tox==3.0.0) (from versions: )
> 16:00:43 No matching distribution found for pluggy<1.0,>=0.3.0 (from 
> tox==3.0.0)
> 16:00:46 
> 16:00:46 > Task :beam-sdks-python:setupVirtualenv FAILED
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to