Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 452134

Summary: dev-python/atpy: depends on dev-python/pysqlite but not on python*[sqlite]
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: QA CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 452122    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-14 21:57:50 UTC
+++ This bug was initially created as a clone of Bug #452132 +++

The package does depend on dev-python/pysqlite:2 but not on Python implementation USE=sqlite.

The pysqlite package is no longer maintained and compatible with Python 2 only; while the builtin 'sqlite3' module is basically a maintained clone/fork of pysqlite.

If the package actually imports pysqlite2 unconditionally, please check whether it wouldn't work with the builtin 'sqlite3' module as well. If it does, upstream should probably fix the package to import 'sqlite3' *at least* when 'pysqlite2' is not available. If it doesn't, please let us know and we will know that pysqlite needs to be kept in the tree.

If the package simply supports 'sqlite3', please let us know or update the deps. However, the latter is unnecessary since the 'old' Python eclass doesn't provide a proper way to do this, and we may decide to drop pysqlite entirely after getting feedback for the packages depending on it.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-15 23:15:23 UTC
The code actually support built-in sqlite3 only. I have corrected the dep in the newest ebuild.