Modify ↓
#12287 closed enhancement (fixed)
Show package versions of dependencies in system information
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | plugin - spam-filter |
Component: | plugin/spamfilter | Version: | |
Severity: | normal | Keywords: | |
Cc: | Dirk Stöcker | Branch: | |
Release Notes: |
Package dependencies are shown in System Information. |
||
API Changes: | |||
Internal Changes: |
Description
It would be nice to have TracSpamFilter show the installed versions of dependencies such as pillow
and dnspython
in the system information (/about
page).
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | t12287.diff added |
---|
comment:2 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed in [14400].
comment:3 by , 9 years ago
Release Notes: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Proposed changes in t12287.diff.
I'm unsure which single class should return System Information for
dnspython
since 3 Components depend on the package. We could have a class such astracspamfilter.filtersystem.FilterSystem
return the package info. We could use inheritance, but that doesn't seemed warranted for such a simple issue. We could check inget_systeminfo
which other packages are enabled. #12294 would cleanly resolve the issue as well.Also, considering whether to use
get_pkginfo(...).get('version', '')
rather thanget_pkginfo(...)['version']
(comment:1:ticket:12294).