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

#1038111#5
Date:
2023-06-15 14:17:20 UTC
From:
To:
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 <module>
    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

#1038111#10
Date:
2023-11-19 08:46:22 UTC
From:
To:
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

#1038111#15
Date:
2023-11-19 15:19:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
haproxy-log-analysis, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1038111@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefanor@debian.org> (supplier of updated haproxy-log-analysis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 19 Nov 2023 17:02:20 +0200
Source: haproxy-log-analysis
Architecture: source
Version: 5.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stefano Rivera <stefanor@debian.org>
Closes: 825599 1038111 1040286
Changes:
 haproxy-log-analysis (5.1.0-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Dale Richards ]
   * New upstream version 5.1.0 (Closes: #1038111, #1040286).
   * Review and update to Debian Policy version 4.6.2.
     - Increase build verbosity.
   * Run tests with pytest.
 .
   [ Stefano Rivera ]
   * Update watch file to account for _ in the filename.
   * Move source package and binary to utils section (Closes: #825599).
   * Add autopkgtests.
   * Update copyright.
Checksums-Sha1:
 2f7736ba51a6528190bffd98cda6e765a0be53ba 1713 haproxy-log-analysis_5.1.0-1.dsc
 62533f19dd0f6027f4251503cd2596d11ac32fde 55271 haproxy-log-analysis_5.1.0.orig.tar.gz
 5dce29cba8ab83ed035e76a7e791171973e23df0 2476 haproxy-log-analysis_5.1.0-1.debian.tar.xz
 e597baa0f34176dcb1e23769443352c301289372 6456 haproxy-log-analysis_5.1.0-1_source.buildinfo
Checksums-Sha256:
 17c356b4a20a2d830a485815b75dadbd348d1a45b373ef8bf3a3e96fa9ba3b50 1713 haproxy-log-analysis_5.1.0-1.dsc
 9eb326250a06145666fa6498c0ecf04f3123ed8a3ffdb472f60612d6b8956ed3 55271 haproxy-log-analysis_5.1.0.orig.tar.gz
 c5375aa92f80caa8c64d05edaac823854bb545bdd8abb068c58786b9c41f6067 2476 haproxy-log-analysis_5.1.0-1.debian.tar.xz
 eb3b1b9c036d5f8b0f288ec42e757710016d1de89321428ec03646c4ba17bd44 6456 haproxy-log-analysis_5.1.0-1_source.buildinfo
Files:
 5c0ed4c307b4f5456ff897839823e860 1713 utils optional haproxy-log-analysis_5.1.0-1.dsc
 9bc5aeb47013cf57ee06122182e0c66b 55271 utils optional haproxy-log-analysis_5.1.0.orig.tar.gz
 cf7d39d665b4dca702bd2ce3f7a96654 2476 utils optional haproxy-log-analysis_5.1.0-1.debian.tar.xz
 46ef6e53298b7c635a1557f13786eaf0 6456 utils optional haproxy-log-analysis_5.1.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCZVojxBQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2BwEAQC3523Knedy/cFsAlGV0QAesakdC7hr
GJ+AonodkmCbZwD+J3vFmSFjYNSPaSaxXFhpk7H+K2f4PDZf+1mOOozcrgU=
=eNi/
-----END PGP SIGNATURE-----