[MacPorts] #60231: py-path: Could not find suitable distribution for Requirement.parse('toml')
MacPorts
noreply at macports.org
Tue Mar 24 09:29:44 UTC 2020
#60231: py-path: Could not find suitable distribution for Requirement.parse('toml')
------------------------+----------------------
Reporter: ryandesign | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: py-path
------------------------+----------------------
[https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/79842/steps
/install-port/logs/stdio py-path doesn't build]:
{{{
WARNING: The pip package is not available, falling back to EasyInstall for
handling setup_requires/test_requires; this is deprecated and will be
removed in a future version.
Note: Bypassing https://pypi.org/simple/toml/ (disallowed host; see
http://bit.ly/2hrImnY for details).
Couldn't find index page for 'toml' (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 toml
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/setuptools/installer.py", line 62, in fetch_build_egg
pkg_resources.get_distribution('pip')
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 481, in get_distribution
dist = get_provider(dist)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 357, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip' distribution was not found
and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 6, in <module>
setuptools.setup()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/setuptools/__init__.py", line 144, in setup
_install_setup_requires(attrs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/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.8/lib/python3.8
/site-packages/setuptools/dist.py", line 718, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 780, in resolve
dist = best[req.key] = env.best_match(
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/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.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 1077, in obtain
return installer(requirement)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
return fetch_build_egg(self, req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/setuptools/installer.py", line 70, in fetch_build_egg
return _legacy_fetch_build_egg(dist, req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/setuptools/installer.py", line 53, in
_legacy_fetch_build_egg
return cmd.easy_install(req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/setuptools/command/easy_install.py", line 679, in
easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for
Requirement.parse('toml')
}}}
Probably missing dependency(ies?)
--
Ticket URL: <https://trac.macports.org/ticket/60231>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list