failed dependency in setup.py

Bug #651992 reported by Guy Halse
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
High
Stefano Rivera

Bug Description

The setup.py in 0.1.0 lists:

  SQLAlchemy>=0.5

as a dependency. However, the code does not work with the 0.6 versions of SQLAlchemy because they depend on some functions that have been removed (they were deprecated in 0.5). This can be worked around by changing the dependency to:

  SQLAlchemy>=0.5,<=0.5.9

Ultimately, however, it would be nice if the code were updated to work with 0.6.

Related branches

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

0.6 Support is in progress (ibid in Debian is shipping with a patch for it), however 0.6 broke some (quite deep) APIs that we depend on, and so we don't have good 0.6 support yet.

Yes, 0.1.1's setup.py will depend on sqlalchemy < 0.6

Changed in ibid:
importance: Undecided → High
milestone: none → 0.1.1
status: New → Confirmed
Revision history for this message
Guy Halse (ghalse) wrote :

I tried < 0.6 actually. it then sucks in 0.6beta which is broken too. I don't know enough about python's dependencies to know how to exclude the beta without specifying an explicit 0.5.x maximum version

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

I guessed you'd tried it, I meant < 0.6 in the "verbal patch" sense :)

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

To clarify what I said about our current 0.6 patch:

I think it works mostly fine in production (there are some unicode-related issues on Postgres), but it creates databases with the incorrect schema (things that should be case-insensitive aren't). So upgrading a bot is fine, creating a new bot may cause you some future trouble.

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

Better workaround:
SQLAlchemy < 0.5a

Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: Confirmed → 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.