Deprecated dependency in sqlite_backend

7 views
Skip to first unread message

Jean Vittor

unread,
Jun 8, 2026, 12:38:49 AM (5 days ago) Jun 8
to Trac Users
Hi,
I just upgraded to Fedora 44, and my Trac server no longer starts, with the following message:

/usr/lib/python3.14/site-packages/trac/__init__.py:14: UserWarning: pkg_resources is deprecated as an API. See https
://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025
-11-30. Refrain from using this package or pin to Setuptools<81.
 from pkg_resources import DistributionNotFound, get_distribution
Traceback (most recent call last):
 File "/usr/bin/tracd", line 3, in <module>
   from trac.web.standalone import main
 File "/usr/lib/python3.14/site-packages/trac/web/standalone.py", line 36, in <module>
   from trac.web.main import dispatch_request
 File "/usr/lib/python3.14/site-packages/trac/web/main.py", line 39, in <module>
   from trac.env import open_environment
 File "/usr/lib/python3.14/site-packages/trac/env.py", line 42, in <module>
   from trac.db.convert import copy_tables
 File "/usr/lib/python3.14/site-packages/trac/db/convert.py", line 18, in <module>
   from trac.db import sqlite_backend
 File "/usr/lib/python3.14/site-packages/trac/db/sqlite_backend.py", line 43, in <module>
   pysqlite_version = sqlite.version_info
                      ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'sqlite3' has no attribute 'version_info'


Do I need any special upgrade?

Thanks,
Jean

Jun Omae

unread,
Jun 8, 2026, 12:49:18 AM (5 days ago) Jun 8
to trac-...@googlegroups.com
Fixed in 1.6-stable. Try the stable instead of Trac 1.6.
See also 

Jun Omae <jun...@gmail.com> (大前 潤)

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-ad2020509559n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages