pip offline install fails at 'collecting pbr'

Bug #1811919 reported by Bruce Lamond
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Jenkins
New
Undecided
Unassigned

Bug Description

I downloaded python-jenkins-1.4.0 and dependencies using pip download python-jenkins.
I then go offline and try to install with python -m pip.py install path/to/python_jenkins...whl

It fails with:
Processing c:\sw\svn\common\ext\python\wheels\python-jenkins\python_jenkins-1.4.0-py2.py3-none-any.whl
Requirement already satisfied: requests in c:\sw\apps\continuum\miniconda2\lib\site-packages (from python-jenkins==1.4.0)
Requirement already satisfied: six>=1.3.0 in c:\sw\apps\continuum\miniconda2\lib\site-packages (from python-jenkins==1.4.0)
Collecting pbr>=0.8.2 (from python-jenkins==1.4.0)
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x0000000003E3F1D0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pbr/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x0000000003E3F278>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pbr/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x0000000003E3F2B0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pbr/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x0000000003E3F208>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pbr/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x0000000003E4DD30>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pbr/
  Could not find a version that satisfies the requirement pbr>=0.8.2 (from python-jenkins==1.4.0) (from versions: )
No matching distribution found for pbr>=0.8.2 (from python-jenkins==1.4.0)

Python version:

Python 2.7.13 |Continuum Analytics, Inc.| (default, May 11 2017, 13:17:26) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org

python-jenkins wheel directory contains:

C:\sw\svn\common\ext\python\wheels\python-jenkins>dir
 Volume in drive C is SYSTEM
 Volume Serial Number is F0E2-B9D1

 Directory of C:\sw\common\ext\python\wheels\python-jenkins

01/15/2019 07:40 PM <DIR> .
01/15/2019 07:40 PM <DIR> ..
11/27/2018 07:43 PM 146,308 certifi-2018.10.15-py2.py3-none-any.whl
11/27/2018 07:43 PM 8,429 multi_key_dict-2.0.3.tar.gz
11/27/2018 07:43 PM 106,727 pbr-5.1.1-py2.py3-none-any.whl
11/27/2018 07:43 PM 26,886 python_jenkins-1.4.0-py2.py3-none-any.whl
11/27/2018 07:43 PM 57,987 requests-2.20.1-py2.py3-none-any.whl
11/27/2018 07:43 PM 10,702 six-1.11.0-py2.py3-none-any.whl
11/27/2018 07:43 PM 118,086 urllib3-1.24.1-py2.py3-none-any.whl
               7 File(s) 475,125 bytes
               2 Dir(s) 132,008,984,576 bytes free

pip version:

>pip --version
pip 18.1 from c:\sw\apps\continuum\miniconda2\lib\site-packages\pip (python 2.7)

As soon as I add my proxy server address back in, pip downloads and installs pbr then installs the other packages from the local directory.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.