Opened 8 years ago

Closed 8 years ago

#49675 closed defect (fixed)

py-stevedore broken dependencies

Reported by: roman.klesel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: py-stevedore

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Trying to install with either port install py27-stevedore or port install py34-stevedore fails

Looking into the dependencies of of the package it says:

 setup_requires=['pbr>=0.5.21,<1.0']

However macports only provides pbr 1.1.1

$ port search pbr
py-pbr @1.1.1 (python, devel)
    Python Build Reasonableness

py27-pbr @1.1.1 (python, devel)
    Python Build Reasonableness

py34-pbr @1.1.1 (python, devel)
    Python Build Reasonableness 

Attachments (1)

49567-0.diff (2.1 KB) - added by roman.klesel@… 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: virtualenvwrapper python removed

py-stevedore and py-pbr are unmaintained in MacPorts, so someone would have to volunteer to provide a fix. Can you provide a fix?

Changed 8 years ago by roman.klesel@…

Attachment: 49567-0.diff added

comment:2 Changed 8 years ago by roman.klesel@…

I don't really know how to contribute here nor do I have detailed knowledge about how macports really work but I guess updating pbr and stevedore to current versions would be a good solution. I have attached a diff that suggests exactly this. However untested ... didn't see how I could run a test without further digging through docs.

comment:3 Changed 8 years ago by petrrr

To test a port version from you "sandbox", just cd the port's directory and run port command without specifying the port name. In the case of Python ports, you need to specify the subport explicitly.

So something like:

cd py-pbr  # or whatever the directory is
sudo port -v install subport=py27-pbr

This works well for single ports. Of cause, the resolution of dependencies works only for registered ports, so if you need to work on a set of port's which depend on each other, you'd better set up a local port repository. This is well described in the Guide.

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:5 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

You basically had the right idea - biggest issue was that stevedore didn't have a dependency on pbr

done

r142572 r142573

Note: See TracTickets for help on using tickets.