Opened 7 years ago

Closed 7 years ago

#55749 closed defect (fixed)

py27-parsedatetime fails to build -- Couldn't find index page for 'pytest-runner'

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-parsedatetime

Description (last modified by jeremyhu (Jeremy Huddleston Sequoia))

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

At 99cf916acd545f986ab79a67cf655e5cf18393c4.

Change History (3)

comment:1 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Description: modified (diff)

comment:2 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Looks like the dependency exists for depends_test.

I changed the test dependencies to build dependencies to get past this locally, but that's obviously not a good strategy for solving this correctly.

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In 440574217600ca0c5a38718170e638526646e353/macports-ports:

py-parsedatetime: update to 2.4

fixes #55749

Note: See TracTickets for help on using tickets.