Bug#1038111: haproxy-log-analysis: current version not usable, new upstream release available

2023-06-15 Thread Daniel Scharon
Package: haproxy-log-analysis
Version: 2.0~b0-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

directly after installation of haproxy-log-analysis the postinst script throws
errors:

Selecting previously unselected package python3-haproxy-log-analysis.
Preparing to unpack .../python3-haproxy-log-analysis_2.0~b0-4_all.deb ...
Unpacking python3-haproxy-log-analysis (2.0~b0-4) ...
Selecting previously unselected package haproxy-log-analysis.
Preparing to unpack .../haproxy-log-analysis_2.0~b0-4_all.deb ...
Unpacking haproxy-log-analysis (2.0~b0-4) ...
Setting up python3-pkg-resources (66.1.1-1) ...
Setting up python3-haproxy-log-analysis (2.0~b0-4) ...
/usr/lib/python3/dist-packages/haproxy/filters.py:122: SyntaxWarning: "is not"
with a literal. Did you mea
n "!="?
  if start_value is not '':
/usr/lib/python3/dist-packages/haproxy/filters.py:125: SyntaxWarning: "is not"
with a literal. Did you mea
n "!="?
  if delta_value is not '':
/usr/lib/python3/dist-packages/haproxy/filters.py:128: SyntaxWarning: "is not"
with a literal. Did you mea
n "!="?
  if start_value is not '' and delta_value is not '':
/usr/lib/python3/dist-packages/haproxy/filters.py:128: SyntaxWarning: "is not"
with a literal. Did you mea
n "!="?
  if start_value is not '' and delta_value is not '':
/usr/lib/python3/dist-packages/haproxy/filters.py:132: SyntaxWarning: "is" with
a literal. Did you mean "=
="?
  if start_value is '':
Setting up haproxy-log-analysis (2.0~b0-4) ...


Also executing haproxy-log-analysis throws an error which makes it basically
unusable:

Traceback (most recent call last):
  File "/usr/bin/haproxy_log_analysis", line 33, in 
sys.exit(load_entry_point('haproxy-log-analysis==2.0b0', 'console_scripts',
'haproxy_log_analysis')())

  File "/usr/lib/python3/dist-packages/haproxy/main.py", line 289, in
console_script
main(arguments)
  File "/usr/lib/python3/dist-packages/haproxy/main.py", line 274, in main
for command in args['commands']:
TypeError: 'NoneType' object is not iterable


The currently in Debian available version of haproxy-log-analysis is 7 years
old. There have been several releases by upstream since then. The latest was
version 5.1.0 released on December 3rd, 2022.

Please update haproxy-log-analysis so that we have a working version in Debian
again.

Thank you and kind regards,
Daniel




-- System Information:


Versions of packages haproxy-log-analysis depends on:
ii  python3   3.9.2-3
pn  python3-haproxy-log-analysis  

haproxy-log-analysis recommends no packages.



Bug#1038111: haproxy-log-analysis: current version not usable, new upstream release available

2023-11-19 Thread Dale Richards
Hi,

I'm not a member of the DPT, but I've created a merge request in the package 
repository for updating this package to upstream 5.1.0:

https://salsa.debian.org/python-team/packages/haproxy-log-analysis/-/merge_requests/2

I hope this is of some use in getting this resolved.

Best regards,
Dale Richards