[MacPorts] #57561: py-jenkins-job-builder @0.8.1: Outdated and missing dependency on py-pbr
MacPorts
noreply at macports.org
Sat Nov 10 19:56:03 UTC 2018
#57561: py-jenkins-job-builder @0.8.1: Outdated and missing dependency on py-pbr
------------------------+------------------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: py-jenkins-job-builder
------------------------+------------------------------------
[https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/71162/steps
/install-port/logs/stdio py-jenkins-job-builder does not build]:
{{{
Note: Bypassing https://pypi.org/simple/pbr/ (disallowed host; see
http://bit.ly/2hrImnY for details).
Couldn't find index page for 'pbr' (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 pbr
Traceback (most recent call last):
File "setup.py", line 19, in <module>
pbr=True)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools/__init__.py", line 139, 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 134, 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 514, 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 777, 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 1060, 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 1072, in obtain
return installer(requirement)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools/dist.py", line 581, 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 670, in
easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for
Requirement.parse('pbr')
}}}
The python portgroup deliberately disables the ability to automatically
download dependencies; ports should declare any needed dependencies, and
this port neglects to declare a dependency on py-pbr.
However, the requirements.txt says it require py-pbr < 1.0.0, and we have
5.0.0 in MacPorts.
Turns out py-jenkins-job-builder is highly outdated. The current version
appears to be 2.7.0. So the port should be updated.
The ChangeLog entry for version 0.8.0 says "Migrate to pbr" but it doesn't
say what's being migrated from. Maybe one of the port's existing
dependencies is no longer needed.
--
Ticket URL: <https://trac.macports.org/ticket/57561>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list