Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245577 - dev-python/django doesn't pull dev-python/pysqlite
Summary: dev-python/django doesn't pull dev-python/pysqlite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 19:44 UTC by Julian Golderer
Modified: 2009-05-18 14:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Golderer 2008-11-04 19:44:10 UTC
django with USE="sqlite3" doesn't pull dependency dev-python/pysqlite

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-04 23:19:47 UTC
It seems that the Summary is wrong - django pulls in pysqlite or <dev-lang/python-2.5:

jeroen@astrid /keeps/gentoo/cvs/gentoo-x86/dev-python/django $ grep sqlite django-*
django-0.96.2.ebuild:IUSE="examples mysql postgres sqlite test"
django-0.96.2.ebuild:   sqlite? ( || (
django-0.96.2.ebuild:           ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
django-0.96.2.ebuild:           ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
django-0.96.2.ebuild:DATABASE_ENGINE='sqlite3'
django-1.0.ebuild:IUSE="doc examples mysql postgres sqlite3 test"
django-1.0.ebuild:      sqlite3? ( || (
django-1.0.ebuild:              ( dev-python/pysqlite:2 <dev-lang/python-2.5 )
django-1.0.ebuild:              ( dev-python/pysqlite:2 <dev-lang/python-2.5 )
django-1.0.ebuild:DATABASE_ENGINE='sqlite3'
django-9999.ebuild:IUSE="doc examples mysql postgres sqlite test"
django-9999.ebuild:     sqlite? ( || (
django-9999.ebuild:             ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
django-9999.ebuild:             ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
django-9999.ebuild:DATABASE_ENGINE='sqlite3'

This could be a problem when both dev-lang/python-2.{4,5} are installed - please post your `emerge --info' in a comment.
Comment 2 Julian Golderer 2008-11-05 02:08:36 UTC
There's only python 2.5 installed.

It seems that django doesn't check if python was build with USE="sqlite". I unmerged pysqlite again and recompiled python with USE="sqlite" and now it works.
Comment 3 Julian Golderer 2009-01-23 18:19:38 UTC
ping
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-18 14:35:32 UTC
It was fixed in dev-python/django-1.0.2.