Setuptools version required for Trac 1.6-stable

43 views
Skip to first unread message

Maël

unread,
Jul 24, 2026, 6:47:21 AMJul 24
to Trac Users
Hello, 
I’m installing Trac using:
pip install svn+https://svn.edgewall.org/repos/trac/branches/1.6-stable

I’m a bit confused about the setuptools version required for installing Trac from the 1.6-stable branch.

Could you please confirm the minimum or maximum supported setuptools version for this installation?

Are there any specific setuptools versions I should use or avoid?

Thank you.

Jun Omae

unread,
Jul 24, 2026, 6:51:23 AMJul 24
to trac-...@googlegroups.com
setuptools>=30.3,<81 is required.
See https://svn.edgewall.org/repos/trac/branches/1.6-stable/setup.cfg#:~:text=setuptools


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

Maël

unread,
Aug 31, 2026, 3:20:52 AM (4 days ago) Aug 31
to Trac Users
thank you for this reply but I still have this error:


[root@localhost /]# python3 -c "import setuptools; print('setuptools:', setuptools.__version__); import trac; print('Trac:', trac.__version__)"

setuptools: 80.10.2
/usr/local/lib/python3.12/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
Trac: 1.6.1.dev0



here's how I install (in a Dockerfile):
RUN python3 -m pip install --no-cache-dir "setuptools<81"

Jun Omae

unread,
Aug 31, 2026, 3:38:42 AM (4 days ago) Aug 31
to trac-...@googlegroups.com
The message is a warning, not an error.

If you want to suppress the warning, try to use -W option or
PYTHONWARNINGS environment.
See also https://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNINGS
> --
> 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/5382bfe4-450b-4dba-b0c6-a45a83e73205n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages