Re: [Trac] Deprecated dependency in sqlite_backend

Andrew Gray <[email protected]> Sun, 26 Jul 2026 23:54:16 -0700 (PDT)
Newsgroups gmane.comp.version-control.subversion.trac.general
Message-ID <[email protected]>
------=_Part_731648_1598328730.1785135256941
Content-Type: multipart/alternative; 
	boundary="----=_Part_731649_204094902.1785135256941"

------=_Part_731649_204094902.1785135256941
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Jun,
Is there any documentation about install from 1.6-stable? I've run into=20
this issue as well and I'm more used to just installing of pypi, which is=
=20
currently distributing 1.6 / 2023 release.

Downloading the wheel=20
at https://trac.edgewall.org/wiki/TracDownload#Trac16StableRelease also=20
returns the current 1.6 version

Regards,
Andrew


On Monday, 8 June 2026 at 14:49:18 UTC+10 Jun Omae wrote:

> Fixed in 1.6-stable. Try the stable instead of Trac 1.6.
> See also=20
> https://trac.edgewall.org/ticket/13607
>
> Jun Omae <[email protected]> (=E5=A4=A7=E5=89=8D =E6=BD=A4)
>
> On Mon, Jun 8, 2026 at 13:38 Jean Vittor <[email protected]> wrote:
>
>> Hi,
>> I just upgraded to Fedora 44, and my Trac server no longer starts, with=
=20
>> the following message:
>>
>> /usr/lib/python3.14/site-packages/trac/__init__.py:14: UserWarning:=20
>> pkg_resources is deprecated as an API. See https
>> ://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources=20
>> package is slated for removal as early as 2025
>> -11-30. Refrain from using this package or pin to Setuptools<81.=20
>>  from pkg_resources import DistributionNotFound, get_distribution=20
>> Traceback (most recent call last):=20
>>  File "/usr/bin/tracd", line 3, in <module>=20
>>    from trac.web.standalone import main=20
>>  File "/usr/lib/python3.14/site-packages/trac/web/standalone.py", line 3=
6,=20
>> in <module>=20
>>    from trac.web.main import dispatch_request=20
>>  File "/usr/lib/python3.14/site-packages/trac/web/main.py", line 39, in=
=20
>> <module>=20
>>    from trac.env import open_environment=20
>>  File "/usr/lib/python3.14/site-packages/trac/env.py", line 42, in=20
>> <module>=20
>>    from trac.db.convert import copy_tables=20
>>  File "/usr/lib/python3.14/site-packages/trac/db/convert.py", line 18,=
=20
>> in <module>=20
>>    from trac.db import sqlite_backend=20
>>  File "/usr/lib/python3.14/site-packages/trac/db/sqlite_backend.py",=20
>> line 43, in <module>=20
>>    pysqlite_version =3D sqlite.version_info=20
>>                       ^^^^^^^^^^^^^^^^^^^=20
>> AttributeError: module 'sqlite3' has no attribute 'version_info'
>>
>>
>> Do I need any special upgrade?
>>
>> Thanks,
>> Jean
>>
>> --=20
>> You received this message because you are subscribed to the Google Group=
s=20
>> "Trac Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n=20
>> email to trac-users+...-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>> To view this discussion visit=20
>> https://groups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-ad2=
020509559n%40googlegroups.com=20
>> <https://groups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-ad=
2020509559n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>
>> .
>>
>

--=20
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 e=
mail to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion visit https://groups.google.com/d/msgid/trac-users/=
77f3b578-deea-4594-9516-fd62d419da23n%40googlegroups.com.

------=_Part_731649_204094902.1785135256941
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div>Hi Jun,</div><div>Is there any documentation about install from 1.6-st=
able? I've run into this issue as well and I'm more used to just installing=
 of pypi, which is currently distributing 1.6 / 2023 release.</div><div><br=
 /></div><div>Downloading the wheel at=C2=A0https://trac.edgewall.org/wiki/=
TracDownload#Trac16StableRelease also returns the current 1.6 version</div>=
<div><br /></div><div>Regards,</div><div>Andrew</div><div><br /></div><br /=
><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Monda=
y, 8 June 2026 at 14:49:18 UTC+10 Jun Omae wrote:<br/></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb=
(204, 204, 204); padding-left: 1ex;"><div dir=3D"auto">Fixed in 1.6-stable.=
 Try the stable instead of Trac 1.6.</div><div dir=3D"auto"><span style=3D"=
font-family:-apple-system,sans-serif">See also=C2=A0</span><br></div><div d=
ir=3D"auto"><div style=3D"font-size:inherit" dir=3D"auto"><a href=3D"https:=
//trac.edgewall.org/ticket/13607" target=3D"_blank" rel=3D"nofollow" data-s=
aferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&amp;q=3Dhttps://tra=
c.edgewall.org/ticket/13607&amp;source=3Dgmail&amp;ust=3D1785221440043000&a=
mp;usg=3DAOvVaw0guIyPGHcz10fQBa-b-zHs">https://trac.edgewall.org/ticket/136=
07</a></div></div><div><br clear=3D"all"><div><div dir=3D"ltr" class=3D"gma=
il_signature" data-smartmail=3D"gmail_signature">Jun Omae &lt;<a href data-=
email-masked rel=3D"nofollow">[email protected]</a>&gt; (=E5=A4=A7=E5=89=8D =
=E6=BD=A4)</div></div></div><div><br><div class=3D"gmail_quote"></div></div=
><div><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On M=
on, Jun 8, 2026 at 13:38 Jean Vittor &lt;<a href data-email-masked rel=3D"n=
ofollow">[email protected]</a>&gt; wrote:<br></div></div></div><div><div =
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div>I just upgrade=
d to Fedora 44, and my Trac server no longer starts, with the following mes=
sage:</div><div><br></div><div><span style=3D"font-family:monospace"><span =
style=3D"color:rgb(0,0,0)">/usr/lib/python3.14/site-packages/trac/__init__.=
py:14: UserWarning: pkg_resources is deprecated as an API. See https</span>=
<br><span style=3D"color:rgb(0,0,0)">://<a href=3D"http://setuptools.pypa.i=
o/en/latest/pkg_resources.html" target=3D"_blank" rel=3D"nofollow" data-saf=
eredirecturl=3D"https://www.google.com/url?hl=3Den-GB&amp;q=3Dhttp://setupt=
ools.pypa.io/en/latest/pkg_resources.html&amp;source=3Dgmail&amp;ust=3D1785=
221440043000&amp;usg=3DAOvVaw3LCIkO6OKUivJnIWkMkYjv">setuptools.pypa.io/en/=
latest/pkg_resources.html</a>. The pkg_resources package is slated for remo=
val as early as 2025</span><br><span style=3D"color:rgb(0,0,0)">-11-30. Ref=
rain from using this package or pin to Setuptools&lt;81.</span><span style=
=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0from pkg_resources impor=
t DistributionNotFound, get_distribution</span><span style=3D"color:rgb(0,0=
,0)">
</span><br><span style=3D"color:rgb(0,0,0)">Traceback (most recent call las=
t):</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0File </span><span style=
=3D"color:rgb(178,24,178)">&quot;/usr/bin/tracd&quot;</span><span style=3D"=
color:rgb(0,0,0)">, line </span><span style=3D"color:rgb(178,24,178)">3</sp=
an><span style=3D"color:rgb(0,0,0)">, in </span><span style=3D"color:rgb(17=
8,24,178)">&lt;module&gt;</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0=C2=A0=C2=A0from trac.we=
b.standalone import main</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0File </span><span style=
=3D"color:rgb(178,24,178)">&quot;/usr/lib/python3.14/site-packages/trac/web=
/standalone.py&quot;</span><span style=3D"color:rgb(0,0,0)">, line </span><=
span style=3D"color:rgb(178,24,178)">36</span><span style=3D"color:rgb(0,0,=
0)">, in </span><span style=3D"color:rgb(178,24,178)">&lt;module&gt;</span>=
<span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0=C2=A0=C2=A0from trac.we=
b.main import dispatch_request</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0File </span><span style=
=3D"color:rgb(178,24,178)">&quot;/usr/lib/python3.14/site-packages/trac/web=
/main.py&quot;</span><span style=3D"color:rgb(0,0,0)">, line </span><span s=
tyle=3D"color:rgb(178,24,178)">39</span><span style=3D"color:rgb(0,0,0)">, =
in </span><span style=3D"color:rgb(178,24,178)">&lt;module&gt;</span><span =
style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0=C2=A0=C2=A0from trac.en=
v import open_environment</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0File </span><span style=
=3D"color:rgb(178,24,178)">&quot;/usr/lib/python3.14/site-packages/trac/env=
.py&quot;</span><span style=3D"color:rgb(0,0,0)">, line </span><span style=
=3D"color:rgb(178,24,178)">42</span><span style=3D"color:rgb(0,0,0)">, in <=
/span><span style=3D"color:rgb(178,24,178)">&lt;module&gt;</span><span styl=
e=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0=C2=A0=C2=A0from trac.db=
.convert import copy_tables</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0File </span><span style=
=3D"color:rgb(178,24,178)">&quot;/usr/lib/python3.14/site-packages/trac/db/=
convert.py&quot;</span><span style=3D"color:rgb(0,0,0)">, line </span><span=
 style=3D"color:rgb(178,24,178)">18</span><span style=3D"color:rgb(0,0,0)">=
, in </span><span style=3D"color:rgb(178,24,178)">&lt;module&gt;</span><spa=
n style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0=C2=A0=C2=A0from trac.db=
 import sqlite_backend</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0File </span><span style=
=3D"color:rgb(178,24,178)">&quot;/usr/lib/python3.14/site-packages/trac/db/=
sqlite_backend.py&quot;</span><span style=3D"color:rgb(0,0,0)">, line </spa=
n><span style=3D"color:rgb(178,24,178)">43</span><span style=3D"color:rgb(0=
,0,0)">, in </span><span style=3D"color:rgb(178,24,178)">&lt;module&gt;</sp=
an><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0=C2=A0=C2=A0pysqlite_ver=
sion =3D </span><span style=3D"font-weight:bold;color:rgb(255,84,84)">sqlit=
e.version_info</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"color:rgb(0,0,0)"> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0</span><span style=3D"font-weight:bold;color:rgb=
(255,84,84)">^^^^^^^^^^^^^^^^^^^</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"font-weight:bold;color:rgb(255,84,255)">Attribute=
Error</span><span style=3D"color:rgb(0,0,0)">: </span><span style=3D"color:=
rgb(178,24,178)">module &#39;sqlite3&#39; has no attribute &#39;version_inf=
o&#39;</span><br><span style=3D"color:rgb(0,0,0)">
</span><br></span></div><div><br></div><div>Do I need any special upgrade?<=
/div><div><br></div><div>Thanks,</div><div>Jean</div>

<p></p></blockquote></div></div><div><div class=3D"gmail_quote"><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Trac Users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href data-email-masked rel=3D"nofollow">trac-users+...@googlegro=
ups.com</a>.<br>
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
trac-users/a226ce56-0cd3-4954-bc5e-ad2020509559n%40googlegroups.com?utm_med=
ium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank" rel=3D"nofollow" dat=
a-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&amp;q=3Dhttps://=
groups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-ad2020509559n%=
2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&amp;source=3D=
gmail&amp;ust=3D1785221440043000&amp;usg=3DAOvVaw31Z3eweI78swP1Wz4rX1Yp">ht=
tps://groups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-ad202050=
9559n%40googlegroups.com</a>.<br>
</blockquote></div></div>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Trac Users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]">trac-use=
rs+unsubscribe-/[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
trac-users/77f3b578-deea-4594-9516-fd62d419da23n%40googlegroups.com?utm_med=
ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/trac-use=
rs/77f3b578-deea-4594-9516-fd62d419da23n%40googlegroups.com</a>.<br />

------=_Part_731649_204094902.1785135256941--

------=_Part_731648_1598328730.1785135256941--