Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9197 - sqlite3 not included in python2.5 requirements

Attached to Project: Arch Linux
Opened by dx (dx) - Sunday, 13 January 2008, 16:49 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 23 February 2008, 20:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Since python 2.5, there is sqlite3 package in the standard library, but it fails to load with the following message, since the sqlite3 library is missing

>>> import sqlite3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/usr/lib/python2.5/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory



Additional info:
* 2.5.1-3
* not related to python-pysqlite

Steps to reproduce:
1. Get a clean arch installation
2. Install python
3. python -c 'import sqlite3'
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 23 February 2008, 20:53 GMT
Reason for closing:  Won't fix
Additional comments about closing:  not worth to be mentioned in a post.install message.
Comment by Jan de Groot (JGC) - Sunday, 13 January 2008, 20:27 GMT
sqlite3 and tk are optional dependencies for python. We have them listed as makedepends so these are built. Since both tk and sqlite3 are not very common on a plain installation with python, we left the choice to the user to install it when needed.
Comment by Roman Kyrylych (Romashka) - Sunday, 13 January 2008, 20:53 GMT
Thanks for clarifying, Jan.
@Andy: could there be post_install about this or it's not worth it because there are many packages that can be used by python's built-in modules but are not dependencies?
Comment by Jan de Groot (JGC) - Sunday, 13 January 2008, 21:02 GMT
Since pacman 3.1 is in core, we can use optdepends now. Documentation for this is in git however.

Loading...