#14173 closed defect (fixed)
Port Python 3.10.8
Reported by: | jean | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | GraphvizPlugin |
Severity: | normal | Keywords: | patch |
Cc: | stefgers | Trac Release: | 1.4 |
Description
The attached patch seems to make the plug-in work on python 3.10.8:
- run 2to3
- replaced 'sha' by 'hashlib'
Exact version:
Paquetage | Version |
---|---|
Trac | 1.5.3 |
Babel | 2.9.1 |
Jinja2 | 2.11.3 |
pysqlite | 2.6.0 |
Python | 3.10.8 |
pytz | 2022.6 |
setuptools | 59.6.0 |
SQLite | 3.36.0 |
jQuery | 1.12.4 |
jQuery UI | 1.12.1 |
jQuery Timepicker | 1.6.3 |
Attachments (2)
Change History (11)
Changed 2 years ago by
Attachment: | 14173.patch added |
---|
Changed 21 months ago by
Attachment: | stefgers.diff added |
---|
comment:1 follow-up: 4 Changed 21 months ago by
the patch (stefgers.diff) does also delete the Genshi-dependency
this makes it fully compatible with Trac >1.5
However: it breaks up with python 2.7 because of str/unicode checkings
comment:2 Changed 21 months ago by
Cc: | stefgers added |
---|
comment:3 Changed 21 months ago by
Keywords: | patch added |
---|
comment:4 Changed 20 months ago by
Owner: | changed from Christian Boos to Jun Omae |
---|---|
Status: | new → accepted |
Replying to stefgers:
the patch (stefgers.diff) does also delete the Genshi-dependency
this makes it fully compatible with Trac >1.5
However: it breaks up with python 2.7 because of str/unicode checkings
Thanks, but we should not remove sanitizer or leave unnecessary codes as comments.
I'd like to make compatible with Trac 1.4/1.6 and Python 2/3.
comment:7 Changed 20 months ago by
comment:8 Changed 20 months ago by
Jun, I added you as a package maintainer on PyPI in case you want to publish a new package.
in addition deleting Genshi-dependency