Re: [Trac] Deprecated dependency in sqlite_backend
Maƫl <[email protected]> Mon, 27 Jul 2026 07:08:05 -0700 (PDT)
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_321772_1586229938.1785161285508 Content-Type: multipart/alternative; boundary="----=_Part_321773_1248582568.1785161285508" ------=_Part_321773_1248582568.1785161285508 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You can install it via pip: - pip install svn+https://svn.edgewall.org/repos/trac/branches/1.6-stable - pip install git+https://github.com/edgewall/[email protected] If you do not want the git history, you can also install it like this: - pip install=20 https://github.com/edgewall/trac/archive/refs/heads/1.6-stable.tar.gz Le lundi 27 juillet 2026 =C3=A0 15:15:10 UTC+2, Andrew Gray a =C3=A9crit : > 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 at=20 > 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= =20 >>> 36, 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=20 >>> Groups "Trac Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send= =20 >>> an 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-ad= 2020509559n%40googlegroups.com=20 >>> <https://groups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-a= d2020509559n%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/= 7ae308dd-02e5-4838-a802-d1acdb7bd5een%40googlegroups.com. ------=_Part_321773_1248582568.1785161285508 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You can install it via pip:<br />- pip install svn+https://svn.edgewall.org= /repos/trac/branches/1.6-stable<br />- pip install git+https://github.com/e= dgewall/[email protected]<br /><br />If you do not want the git history, = you can also install it like this:<br />- pip install https://github.com/ed= gewall/trac/archive/refs/heads/1.6-stable.tar.gz<br /><br /><div class=3D"g= mail_quote"><div dir=3D"auto" class=3D"gmail_attr">Le lundi 27 juillet 2026= =C3=A0 15:15:10 UTC+2, Andrew Gray a =C3=A9crit=C2=A0:<br/></div><blockquo= te class=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px sol= id rgb(204, 204, 204); padding-left: 1ex;"><div>Hi Jun,</div><div>Is there = any documentation about install from 1.6-stable? I've run into this iss= ue as well and I'm more used to just installing of pypi, which is curre= ntly distributing 1.6 / 2023 release.</div><div><br></div><div>Downloading = the wheel at=C2=A0<a href=3D"https://trac.edgewall.org/wiki/TracDownload#Tr= ac16StableRelease" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl= =3D"https://www.google.com/url?hl=3Dfr&q=3Dhttps://trac.edgewall.org/wi= ki/TracDownload%23Trac16StableRelease&source=3Dgmail&ust=3D17852476= 56597000&usg=3DAOvVaw1YsKkYmiB0jWWfouETfjRc">https://trac.edgewall.org/= wiki/TracDownload#Trac16StableRelease</a> also returns the current 1.6 vers= ion</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 Mo= nday, 8 June 2026 at 14:49:18 UTC+10 Jun Omae wrote:<br></div><blockquote c= lass=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 t= he stable instead of Trac 1.6.</div><div dir=3D"auto"><span style=3D"font-f= amily:-apple-system,sans-serif">See also=C2=A0</span><br></div><div dir=3D"= auto"><div style=3D"font-size:inherit" dir=3D"auto"><a href=3D"https://trac= .edgewall.org/ticket/13607" rel=3D"nofollow" target=3D"_blank" data-safered= irecturl=3D"https://www.google.com/url?hl=3Dfr&q=3Dhttps://trac.edgewal= l.org/ticket/13607&source=3Dgmail&ust=3D1785247656598000&usg=3D= AOvVaw14UAylKCcwMhiPX8i7edCX">https://trac.edgewall.org/ticket/13607</a></d= iv></div><div><br clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signat= ure" data-smartmail=3D"gmail_signature">Jun Omae <<a rel=3D"nofollow">ju= [email protected]</a>> (=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 Mon, Jun 8, 2026 at 13:38 Jean Vi= ttor <<a rel=3D"nofollow">[email protected]</a>> 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 upgraded to Fedora 44, and my Trac server no longer starts, wi= th the following message:</div><div><br></div><div><span style=3D"font-fami= ly:monospace"><span style=3D"color:rgb(0,0,0)">/usr/lib/python3.14/site-pac= kages/trac/__init__.py:14: UserWarning: pkg_resources is deprecated as an A= PI. See https</span><br><span style=3D"color:rgb(0,0,0)">://<a href=3D"http= ://setuptools.pypa.io/en/latest/pkg_resources.html" rel=3D"nofollow" target= =3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dfr&= q=3Dhttp://setuptools.pypa.io/en/latest/pkg_resources.html&source=3Dgma= il&ust=3D1785247656598000&usg=3DAOvVaw0bELDIcy8_gFWw65_QmX6P">setup= tools.pypa.io/en/latest/pkg_resources.html</a>. The pkg_resources package i= s slated for removal as early as 2025</span><br><span style=3D"color:rgb(0,= 0,0)">-11-30. Refrain from using this package or pin to Setuptools<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)">"/usr/bin/tracd"</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)"><module></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)">"/usr/lib/python3.14/site-packages/trac/web= /standalone.py"</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)"><module></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)">"/usr/lib/python3.14/site-packages/trac/web= /main.py"</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)"><module></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)">"/usr/lib/python3.14/site-packages/trac/env= .py"</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)"><module></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)">"/usr/lib/python3.14/site-packages/trac/db/= convert.py"</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)"><module></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)">"/usr/lib/python3.14/site-packages/trac/db/= sqlite_backend.py"</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)"><module></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 'sqlite3' has no attribute 'version_inf= o'</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" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"nofollow">trac-users+...-/[email protected]</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&utm_source=3Dfooter" rel=3D"nofollow" target=3D"_blank" dat= a-saferedirecturl=3D"https://www.google.com/url?hl=3Dfr&q=3Dhttps://gro= ups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-ad2020509559n%254= 0googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=3Dgma= il&ust=3D1785247656598000&usg=3DAOvVaw1zn7WW__T2Q6pRvSTWmjsS">https= ://groups.google.com/d/msgid/trac-users/a226ce56-0cd3-4954-bc5e-ad202050955= 9n%40googlegroups.com</a>.<br> </blockquote></div></div> </blockquote></div></blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Trac Users" 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/7ae308dd-02e5-4838-a802-d1acdb7bd5een%40googlegroups.com?utm_med= ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/trac-use= rs/7ae308dd-02e5-4838-a802-d1acdb7bd5een%40googlegroups.com</a>.<br /> ------=_Part_321773_1248582568.1785161285508-- ------=_Part_321772_1586229938.1785161285508--