ubuntu-sso scripts use #!/usr/bin/env python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Single Sign On Client |
Confirmed
|
Undecided
|
Unassigned | ||
ubuntu-sso-client (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
rtg@delorean:
==> ubuntu-sso-login <==
#!/usr/bin/env python
==> ubuntu-
#!/usr/bin/env python
==> ubuntu-sso-login-qt <==
#!/usr/bin/env python
==> ubuntu-
#!/usr/bin/env python
==> ubuntu-
#!/usr/bin/env python
http://
The preferred specification for the Python interpreter is /usr/bin/python or /usr/bin/pythonX.Y. This ensures that a Debian installation of python is used and all dependencies on additional python modules are met.
If a maintainer would like to provide the user with the possibility to override the Debian Python interpreter, he may want to use /usr/bin/env python or /usr/bin/env pythonX.Y. However this is not advisable as it bypasses Debian's dependency checking and makes the package vulnerable to incomplete local installations of python.
At least once this resulted in ValueError: Unable to guess signature from an empty dict for a user with a custom python installation in /usr/local.
description: | updated |
summary: |
- ubuntu-sso scripts use #!/usr/bin/env python, violate Debian Python - Policy + ubuntu-sso scripts use #!/usr/bin/env python |
Confirmed. wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://