Package: trac Version: 1.5.4-1 Severity: normal 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 -- System Information: Debian Release: 12.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'proposed-updates'), (300, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-10-amd64 (SMP w/1 CPU thread; PREEMPT) Locale: LANG=C, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages trac depends on: ii libjs-excanvas 0.r4~git20090427.0000000-4 ii libjs-jquery 3.6.1+dfsg+~3.5.14-1 ii libjs-jquery-timepicker 1.6.3-4 ii libjs-jquery-ui 1.13.2+dfsg-1 ii python3 3.11.2-1+b1 ii python3-jinja2 3.1.2-1 ii python3-pkg-resources 66.1.1-1 ii python3-setuptools 66.1.1-1 Versions of packages trac recommends: ii apache2 [httpd] 2.4.57-2 ii python3-babel 2.10.3-1 ii python3-docutils 0.19+dfsg-6 ii python3-pygments 2.14.0+dfsg-1 ii python3-subversion 1.14.2-4+b2 ii python3-tz 2022.7.1-4 Versions of packages trac suggests: pn libapache2-mod-wsgi <none> pn python3-psycopg2 <none> pn python3-textile <none> pn trac-accountmanager <none> pn trac-authopenid <none> pn trac-bitten <none> pn trac-bzr <none> pn trac-customfieldadmin <none> pn trac-email2trac <none> pn trac-graphviz <none> pn trac-ja-resource <none> pn trac-mastertickets <none> pn trac-mercurial <none> pn trac-spamfilter <none> pn trac-wikiprint <none> pn trac-wikirename <none> pn trac-wysiwyg <none> pn trac-xmlrpc <none> -- no debconf information