On Sat, 26 Jan 2013 22:29:07 Laurent Bigonville wrote:
> I think you are getting an warning/error when python-pyodbc is not
> present instead of a simple crash. I guess recommending the package
> would be enough, but then you cannot enforce version. IMHO it would
> depends on the number of extra packages that are getting installed.
> 
> I don't this it's working with the version in wheezy. In the code I see:
> 
> "Could not import the pyodbc python module. You need pyodbc 2.1.8 or
> newer for migrations from RDBMSes other than MySQL."
> 
> So I guess that the version should be (>= 2.1.8) instead of (>= 3.0.6).
 
I see, we only have 2.1.7 in "testing"...

Recently I've learned that versioned Recommends are considered by aptitude but 
ignored by apt-get.
What do you think about combination of

        Recommends: python-pyodbc (>= 3.0.6)
        Breaks:  python-pyodbc (< 3.0.6)

as alternative to

        Depends: python-pyodbc (>= 3.0.6)

?

Depends is a good way to enforce version and I reckon we can ignore the 
negative effect on backportability for now...

Thanks.

-- 
All the best,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B

---

To swallow and follow, whether old doctrine or new propaganda, is a
weakness still dominating the human mind.
        -- Charlotte P. Gilman


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to