Opened 8 years ago

Closed 7 years ago

#52263 closed defect (fixed)

py-robotframework-selenium2library @1.8.0: needs setuptools dependency?

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: khindenburg
Port: py-robotframework-selenium2library

Description

py-robotframework-selenium2library tries (and fails) to download distribute:

--->  Building py27-robotframework-selenium2library
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (py27-robotframework-selenium2library)
DEBUG: Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-robotframework-selenium2library/py27-robotframework-selenium2library/work/.CC_PRINT_OPTIONS'
CFLAGS='-arch x86_64'
CPATH='/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-arch x86_64'
F90FLAGS='-m64'
FCFLAGS='-m64'
FFLAGS='-m64'
LDFLAGS='-arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.7'
OBJC='/usr/bin/clang'
OBJCFLAGS='-arch x86_64'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-robotframework-selenium2library/py27-robotframework-selenium2library/work/robotframework-selenium2library-1.8.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-robotframework-selenium2library/py27-robotframework-selenium2library/work/robotframework-selenium2library-1.8.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    use_setuptools()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ez_setup.py", line 145, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ez_setup.py", line 124, in _do_download
    to_dir, download_delay)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ez_setup.py", line 193, in download_setuptools
    src = urlopen(url)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 467, in error
    result = self._call_chain(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 654, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
    context=self._context)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

Should it instead have a setuptools dependency?

Change History (3)

comment:1 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg added

It build here fine - It doesn't appear to use the standard setuptools instead using ez_setup - also isn't that SSL issue one we've seen before?

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Owner: jyrkiwahlstedt deleted
Status: newassigned

comment:3 Changed 7 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: assignedclosed

In 33cd8a819957a21f12c9511b68982c9a120d49cc/macports-ports:

py-robotframework-selenium2library: add setuptools dep

Fixes: #52263

Note: See TracTickets for help on using tickets.