[MacPorts] #55749: py27-parsedatetime fails to build -- Couldn't find index page for 'pytest-runner'

MacPorts noreply at macports.org
Thu Jan 25 04:51:56 UTC 2018


#55749: py27-parsedatetime fails to build -- Couldn't find index page for 'pytest-
runner'
----------------------+------------------------------
 Reporter:  jeremyhu  |      Owner:  kurthindenburg
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  py-parsedatetime
----------------------+------------------------------
 I'm trying to install certbot, and it's failing at py27-parsedatetime
 with:

 {{{
 --->  Fetching distfiles for py27-parsedatetime
 --->  Verifying checksums for py27-parsedatetime
 --->  Checksumming parsedatetime-2.3.tar.gz
 --->  Extracting py27-parsedatetime
 --->  Extracting parsedatetime-2.3.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_jeremy_src_macports_macports-ports_python_py-
 parsedatetime/py27-parsedatetime/work" && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/py-
 parsedatetime/parsedatetime-2.3.tar.gz' | /usr/bin/gnutar --no-same-owner
 -xf -
 --->  Configuring py27-parsedatetime
 --->  Building py27-parsedatetime
 Executing:  cd "/opt/local/var/macports/build
 /_Users_jeremy_src_macports_macports-ports_python_py-
 parsedatetime/py27-parsedatetime/work/parsedatetime-2.3" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build

 Note: Bypassing https://pypi.python.org/simple/pytest-runner/ (disallowed
 host; see http://bit.ly/2hrImnY for details).

 Couldn't find index page for 'pytest-runner' (maybe misspelled?)

 Note: Bypassing https://pypi.python.org/simple/ (disallowed host; see
 http://bit.ly/2hrImnY for details).

 No local packages or working download links found for pytest-runner
 Traceback (most recent call last):
   File "setup.py", line 52, in <module>
     'Programming Language :: Python :: 3.4',
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/__init__.py", line 128, in setup
     _install_setup_requires(attrs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/__init__.py", line 123, in
 _install_setup_requires
     dist.fetch_build_eggs(dist.setup_requires)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 453, in fetch_build_eggs
     replace_conflicting=True,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 866, in resolve
     replace_conflicting=replace_conflicting
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 1146, in best_match
     return self.obtain(req, installer)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 1158, in obtain
     return installer(requirement)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 520, in fetch_build_egg
     return cmd.easy_install(req)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/command/easy_install.py", line 666, in
 easy_install
     raise DistutilsError(msg)
 distutils.errors.DistutilsError: Could not find suitable distribution for
 Requirement.parse('pytest-runner')
 Command failed:  cd "/opt/local/var/macports/build
 /_Users_jeremy_src_macports_macports-ports_python_py-
 parsedatetime/py27-parsedatetime/work/parsedatetime-2.3" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Exit code: 1
 Error: Failed to build py27-parsedatetime: command execution failed
 Error: See /opt/local/var/macports/logs
 /_Users_jeremy_src_macports_macports-ports_python_py-
 parsedatetime/py27-parsedatetime/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port certbot failed
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55749>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list