Dear Maintainer,
I have upgraded a server to bookworm. On this server trac has been running
fine since before buster with the package installed from unstable.
After upgrading to bookworm the trac webpage reported:
Internal Server Error
TracError: InvalidVersion: Invalid version: '3.5.0-git20211031.e6458ec-1-b1'
This "Invalid version" seems to be from libapache2-mod-python, so I rebuilt
this package after changing the version to a purely numeric version number (3.5.0.1-1).
While rebuilding libapache2-mod-python, I saw this message during configure:
checking for --with-python... /usr/bin/python3
checking Python version... File "<string>", line 1
import sys; print({}.{}.format(*sys.version_info))
^
SyntaxError: invalid syntax
The package builds fine (but can not be built twice from the same source
dir), however, and after installing version 3.5.0.1-1, trac is working fine
again. While there seems to be a problem with libapache2-mod-python, I
don't think that the version number is invalid, the changelog says: "New
upstream git snapshot, upstream no longer cuts releases", so the version
check somewhere in trac should be adjusted.
Thanks for maintaining trac, I can't wait to see version 1.6 ;-)
Christian