Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python module name collision #2

Closed
flimberger opened this issue Jul 28, 2015 · 2 comments
Closed

Python module name collision #2

flimberger opened this issue Jul 28, 2015 · 2 comments

Comments

@flimberger
Copy link

On Ubuntu 15.04, there is a name collision with the ubuntu package python-backports.ssl-match-hostname, which provides a python package /usr/lib/python2.7/dist-packages/backports. This prevents imports from source/extensions/backports.py, which causes the build to fail. Is this an issue with sphinx in general, or specific to greybus-spec?

@gregkh
Copy link
Contributor

gregkh commented Jul 28, 2015

It's specific to the extension package we are using on top of sphinx, which comes from https://github.com/jterrace/sphinxtr

Any suggestions as to how to resolve this are appreciated, or you can just not use Ubuntu, which is always a good idea :)

@flimberger
Copy link
Author

It's not an Ubuntu-specific issue but a general one with the python search path and packages, I've opened an issue at the upstream repository. Possible workarounds are using a virtualenv without system site packages or renaming source/extensions/backports.py (and changing the import line in source/extensions/numfig.py:5to something else.

As I have a workaround for me and an issue filed upstream, I think this issue can be closed as it is not directly related to the spec.

@gregkh gregkh closed this as completed Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants