incomplete dependencies list in setup.py

Bug #651990 reported by Guy Halse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Medium
Stefano Rivera

Bug Description

The dependencies list in setup.py is incomplete. As a result, an out-the-box install of 0.1.0 does not work.

At the very least, the following dependencies are missing:

  chardet (required by ibid-from-knab)

There are a bunch of others needed by plugins. There are two possible solutions to this.

The first is to include the dependencies. This has the disadvantage of dragging in a whole lot of stuff I don't necessarily want for plugins I might not use.

The second, and perhaps more elegant, way is to alter the default ibid.ini file to explicitly disable plugins whose dependencies are not included in setup.py. (Even more elegant would be to get ibid-setup to do this on the fly based on what I have installed)

So far as I can tell, you'd need a

  [plugins]
    noload = ascii, bzr, knab, languages, memory

to implement the second strategy based on the distributed setup.py.

Related branches

Revision history for this message
Stefano Rivera (stefanor) wrote :

Yes, our aim is to ship with batteries-included, but without depending on the *entire* python library world.

As ibid-from-knab is a very rarely used script, we de don't depend on chardet for it. However it should print a warning to that effect.

Changed in ibid:
importance: Undecided → Medium
milestone: none → 0.1.1
status: New → Triaged
Revision history for this message
Stefano Rivera (stefanor) wrote :

I'll put dependency catching on scripts for 0.1, but disabling plugins at setup is a bigger job and not urgent. It makes a noise on startup, but that's it.

Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: Triaged → In Progress
Changed in ibid:
status: In Progress → Fix Committed
Changed in ibid:
status: Fix Committed → Fix Released
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.