Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59671 closed defect (fixed)

py-flake8-mccabe: Couldn't find index page for 'pytest-runner'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: py-flake8-mccabe

Description

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/3009/steps/install-dependencies/logs/stdio

Executing:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-flake8-mccabe/py36-flake8-mccabe/work/mccabe-0.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-flake8-mccabe/py36-flake8-mccabe/work/mccabe-0.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build 

Note: Bypassing https://pypi.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.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 58, in <module>
    'Topic :: Software Development :: Quality Assurance',
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/dist.py", line 720, in fetch_build_eggs
    replace_conflicting=True,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/dist.py", line 787, in fetch_build_egg
    return cmd.easy_install(req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 673, 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/_opt_bblocal_var_buildworker_ports_build_ports_python_py-flake8-mccabe/py36-flake8-mccabe/work/mccabe-0.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build 
Exit code: 1
Error: Failed to build py36-flake8-mccabe: command execution failed

Change History (2)

comment:1 Changed 5 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In a4839b4babcfa5c730752af0cbf888403d9a420d/macports-ports (master):

py-flake8-mccabe: fix dependencies

  • make use of python.rootname, default PyPI livecheck
  • update homepage
  • add size to checksums

Fixes: #59671

comment:2 Changed 5 years ago by tobypeterson

Thanks. For some reason the build failure didn't occur for me. What a strange dependency setup...

Note: See TracTickets for help on using tickets.