In cleaning up some half-retired packages yesterday, we discovered that the python-sqlite2 maintainer wishes to retire the package. There are a few packages that depend on it but after reviewing the history and the code of the packages, I think that it is reasonably safe to let this go ahead.
Historically, there was a python-sqlite module. This version is not required by any of the code we ship now. It was replaced by python-sqlite2 (in python, this is import pysqlite2). In python-2.5, this library entered the python stdlib as sqlite3 (import sqlite3). The pysqlite2 library continues to be released outside of the stdlib, mainly so that people who want to get changes to the module (perhaps bugfixes or optimizations) at a faster rate than the python stdlib's release cycle are able to.
In Fedora, there are several packages that have an explicit: Requires: python-sqlite2
I've reviewed the code for all of them and discovered that most will try to import sqlite3 from the stdlib if pysqlite2 is not present. Likely, these just need to have the Requires: python-sqlite2 removed and the package is then rebuilt:
* anki * supybot-gribble * bibus * conduit * firmware-extract * gourmet * griffith * hamster-applet * mysql-workbench * python-tg-devtools * python-sqlobject * roundup * sigul * transifex * trytond-sqlite * yokadi * python-keystone
There is one package that actually has a code dependency on pysqlite2. I've submitted a patch and asked someone I know who uses the package to test it:
* plague https://bugzilla.redhat.com/show_bug.cgi?id=788189
There are two packages that have a requirement on sqlite but don't actually have any code that uses it:
* synce-sync-engine -- Looks like it may have at one time but has been ported to a lighterweight, internal, picklable data struct instead.
* poky-depends -- This is supposed to be a metapackage: The poky-depends is to ensure all the required packages are installed to build poky images. Please note that this only installs the dependency packages. If you want to build images, you will need to download Poky. Please refer: http://pokylinux.org/getit/ http://pokylinux.org/support/ I'll have to talk to the poky-depends maintainer to find out if the poky upstream works with sqlite3 from the stdlib since we aren't actually shipping the poky code... just this package that installs the dependencies.
If it seems acceptable to everyone involved, I'll go ahead and modify and rebuild the packages in the first group for F17/rawhide. I'll continue to work on porting plague and contact the maintainers of synce-sync-engine and poky-depends to see if it's okay to remove their deps. Once all that's done, I'll finish up the retire package process for the python-sqlite2 maintainer.
If people want to keep the python-sqlite2 package around, I'd strongly suggest they volunteer to take over maintainance of the package so the current maintainer can release ownership to them.
Thanks, -Toshio
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/07/2012 07:08 PM, Toshio Kuratomi wrote:
In Fedora, there are several packages that have an explicit: Requires: python-sqlite2
I've reviewed the code for all of them and discovered that most will try to import sqlite3 from the stdlib if pysqlite2 is not present. Likely, these just need to have the Requires: python-sqlite2 removed and the package is then rebuilt:
...
- roundup
I've had an outstanding bug open on this for a while -- this is a packaging bug as roundup now uses the built-in sqlite3 module by default.
https://bugzilla.redhat.com/show_bug.cgi?id=690246
- -- Michel Alexandre Salim Fedora Project Contributor: http://fedoraproject.org/
Email: salimma@fedoraproject.org | GPG key ID: A36A937A Jabber: hircus@jabber.ccc.de | IRC: hircus@irc.freenode.net
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
On Tue, Feb 07, 2012 at 08:03:01PM +0100, Michel Alexandre Salim wrote:
- roundup
I've had an outstanding bug open on this for a while -- this is a packaging bug as roundup now uses the built-in sqlite3 module by default.
Thanks, I've fixed and rebuilt that one now.
-Toshio
python-devel@lists.fedoraproject.org