Click python namespace clashes with another Python project

Bug #1675685 reported by Mathieu Comandon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
click (Ubuntu)
New
Undecided
Unassigned

Bug Description

The click python library provided by Ubuntu uses the namespace `click` with conflicts with another project with the same name (http://click.pocoo.org/5/).

This can (and has caused) serious issues. I spent several hours troubleshooting an Ubuntu 17.04 upgrade because I happened to have click installed with pip in /usr/local/.

One of the two projects has to let go of the namespace and since the Ubuntu project isn't used for general programming, is much less widespread and isn't available in Pypi, this one should change its namespace to something else.

I noticed this has been done with the deb package, named python3-click-package (which conflicts with python3-click) but since click is also installable with pip, this is not enough to avoid issues.

Revision history for this message
Colin Watson (cjwatson) wrote :

I agree that this is an unfortunate situation. I did as much as I realistically could to mitigate it in versions 0.4.41+16.04.20151211-0ubuntu1 and 0.4.43+16.04.20160203-0ubuntu1. click is end-of-life, is now lacking a regular maintainer, is due to be replaced by snapd/snapcraft/etc., and will be removed once the migration has been complete; so the (non-trivial) effort to rename it wouldn't pay off.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.