Opened 6 years ago

Closed 6 years ago

#57561 closed defect (fixed)

py-jenkins-job-builder @0.8.1: Outdated and missing dependency on py-pbr

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: reneeotten <reneeotten@…>
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-jenkins-job-builder

Description

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.

Change History (1)

comment:1 Changed 6 years ago by reneeotten <reneeotten@…>

Owner: set to reneeotten <reneeotten@…>
Resolution: fixed
Status: newclosed

In b5a345d05c2cea535e738d78b97c99c1b92aba3d/macports-ports (master):

py-jenkins-job-builder: update to 2.8.0

  • fix dependencies
  • update homepage

Closes: #57561

Note: See TracTickets for help on using tickets.