#1008829 pysrs-bin: envfrom2srs and srs2envtol fails with ModuleNotFoundError: No module named 'ConfigParser'

Package:
pysrs-bin
Source:
pysrs
Submitter:
Bjørn Mork
Date:
2022-06-21 00:51:03 UTC
Severity:
normal
Tags:
#1008829#5
Date:
2022-04-02 10:25:57 UTC
From:
To:
Dear Maintainer,

# envfrom2srs
Traceback (most recent call last):
  File "/usr/bin/envfrom2srs", line 14, in <module>
    from ConfigParser import ConfigParser, DuplicateSectionError
ModuleNotFoundError: No module named 'ConfigParser'

# srs2envtol
Traceback (most recent call last):
  File "/usr/bin/srs2envtol", line 14, in <module>
    from ConfigParser import ConfigParser, DuplicateSectionError
ModuleNotFoundError: No module named 'ConfigParser'

No need to clutter the archive with broken and untested packages.
Please remove

- -- System Information:
Debian Release: 11.3
  APT prefers stable-security
  APT policy: (700, 'stable-security'), (700, 'stable'), (699, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-13-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pysrs-bin depends on:
ii  python3      3.9.2-3
ii  python3-srs  1.0.3-2

pysrs-bin recommends no packages.

pysrs-bin suggests no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iGwEARECACwWIQR3fjfc8EF8nPbC0aDXSuqSjBsiyQUCYkgktA4cYmpvcm5AbW9y
ay5ubwAKCRDXSuqSjBsiyUJdAJ4zvzZBL6hIfzScL01SNMcAQDNSEQCfZZJU9yuy
jyC6TtdcMxqBEPpi278=
=yarJ
-----END PGP SIGNATURE-----

#1008829#10
Date:
2022-05-19 16:54:16 UTC
From:
To:
Hey,

It is only the two example scripts, that are not properly ported to Python 3.

With a big warning in the top of the file:
 # Use only if absolutely necessary.  It is *very* inefficient and
 # a security risk.

This was fixed upstream, but they not have released a new version.

Regards,

hefee

#1008829#17
Date:
2022-05-19 18:34:11 UTC
From:
To:
Hefee <hefee@debian.org> writes:

Why do you insist on keeping broken packages in Debian?

Sorry.  What's the less offensice way to describe broken and untested?

You are installing known broken examples in $PATH? But why????!

Well, whatever.  Thanks for not caring about quality


Bjørn

#1008829#22
Date:
2022-05-20 17:21:15 UTC
From:
To:
Hey,

because pysrs is more than these two scripts - the core part is the python
library supporting handle SRS.

Just telling it is broken is fine. But saying it is crap and ask directly for
removal is offensive.

I try not to ship broken packages on purpose, but I'm just a human make
mistakes and don't have the time to test everything.

I start asking upstream to create a new version in order to get a fixed package
in Debian soon.

regards

hefee

#1008829#29
Date:
2022-05-21 07:27:16 UTC
From:
To:
Hefee <hefee@debian.org> writes:

Please read the subject and/or "Package" field before replying.  This is
what I reported as broken:

 Package: pysrs-bin
 Version: 1.0.3-2
 Severity: grave
 Justification: renders package unusable


The bug report is against pysrs-bin. This package contains nothing but
those two "examples":

bjorn@miraculix:~$ apt-file show pysrs-bin
pysrs-bin: /usr/bin/envfrom2srs
pysrs-bin: /usr/bin/srs2envtol
pysrs-bin: /usr/share/doc/pysrs-bin/NEWS.Debian.gz
pysrs-bin: /usr/share/doc/pysrs-bin/changelog.Debian.gz
pysrs-bin: /usr/share/doc/pysrs-bin/changelog.gz
pysrs-bin: /usr/share/doc/pysrs-bin/copyright
pysrs-bin: /usr/share/man/man1/envfrom2srs.1.gz
pysrs-bin: /usr/share/man/man1/srs2envtol.1.gz

Sure.  Which is one of the reasons I did NOT say that it is crap. I find
your usage of such straw-man arguments extremely offensive.  "crap" is
your description and yours only.

Your package is broken. It contains nothing but two broken scripts.
This is a simple fact and I don't know how else to express it.

"Untested" is my assumption only. and I should probably not have made
that.  But it's really an assumption of good faith in this context.  The
only alternative I see is that you're packaging known failing scripts.

Removal of a package conaining ONLY broken scripts and nothing else is a
no-brainer.  It's Debian policy.

I do not have time to install, test and then remove broken packages.
Assumng that I and other Debian users should do testing for you is
arrogant.  Your time is not worth more than mine.

Reporting this bug wasted even more time.  I did that to help other
Debian users avoid the same problem.  Your package is a policy
violation. You have so far not done anything to fix that, which is
very disappointing.


Bjørn

#1008829#36
Date:
2022-06-21 00:49:45 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pysrs, 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 1008829@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Knauß <hefee@debian.org> (supplier of updated pysrs 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: Tue, 21 Jun 2022 02:14:51 +0200
Source: pysrs
Architecture: source
Version: 1.0.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Sandro Knauß <hefee@debian.org>
Closes: 994192 1008829
Changes:
 pysrs (1.0.4-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1008829, #994192)
   * Set Rules-Requires-Root to no.
   * Set section:utils for pysrs-bin.
   * Add autopkgtests.
   * Add python3-milter to Suggests.
   * Remove upstream applied patch.
   * Update install files.
   * Add python3-setuptools to Build-Depends.
   * Update Standards-Version (no changes needed).
   * Update copyright info for debian files.
   * Replace link to github repo for source.
Checksums-Sha1:
 3bd438cd7051850a03d07dc8a12a1f1be8c75b8f 2192 pysrs_1.0.4-1.dsc
 4f5e01349db4eef142715ffff0a877afd456b312 30254 pysrs_1.0.4.orig.tar.gz
 49f611eaac4f841ea6f83c4c450e68a79dfcfa41 6624 pysrs_1.0.4-1.debian.tar.xz
Checksums-Sha256:
 968a35a0027e087caa87ece3631e344c74260a8d8c795fe702d0b822b9ec92a0 2192 pysrs_1.0.4-1.dsc
 13480accbc640f07aeb6ef09c0d31227e4da8db2fef96fb89c0d7bb654efb84b 30254 pysrs_1.0.4.orig.tar.gz
 fbbe500d820d8f77e96ec3c46fb044bd76506d651676bdf8dbfa795f6e451c67 6624 pysrs_1.0.4-1.debian.tar.xz
Files:
 afabdc1627823a6761daa0dbfd28cd4c 2192 python optional pysrs_1.0.4-1.dsc
 cb7f4450b779d63479ff0ab7637047e9 30254 python optional pysrs_1.0.4.orig.tar.gz
 b9e0b68379ac34b569283ebda867a6dd 6624 python optional pysrs_1.0.4-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEOewRoCAWtykmSRoG462wCFBgVjYFAmKxD6kRHGhlZmVlQGRl
Ymlhbi5vcmcACgkQ462wCFBgVjbXHBAAnxi+E1Fr4g8SVqPnOTczRDtzPxBTXXkB
PtoWENz4Q5i54M5+9miYMyQPaZt7P3RjyTBhkZzB9eByFBJLBK+GMXnsoaFllyVG
P27ikz/LuovVauOnMwM7BlyX9gq8yRjqLQkOaXfZI82C0GraeMl9hB69HWBcZcZa
OEwOF5snyOcxI6oxEwb8rrSWbNQ3g5g2AOqsRg8oYm02bLvS4QLAgNxYUfDnAaqq
T6NCJ81Dj1KYRrGq+RcBe/pwBhlAVcZTZBTB1ooidUcPzjE8a9os4yBBvCRHlGiF
ICkASdEXFnlmigVgABhzfSKJDEbcC/gg472PztvpHqyPna/XEvAJlCRs5Bo0SBms
7/MD+DXs03zRLPeeavpUXTqIqu976iBZCrpqzznx2zyUxqmwu99YWoDx+IDgvjCv
vKIWFoqG6qzf4TwDylvMVqznbn0VNhiC91F+tCnDLmrt9abQ9fXiVtjl6Pd18SKW
QNYJDHpRcIita6YOWR6homGYtTmELqGYW1CX5A+o6aDMlO42/DgnWjhA2dVK9OGH
noIhdPM/3MYV7AMBM/IUUgyDZHSOHC7Kr55HgspqlNxjNJGllTvMy/vJQ3cYLRa8
/pGMtD3dIoDuuEnYJm18keNWUxL9JQNvEqhv0wgpeKQ61opaH/4pHngts8AsdJGW
BmrIbMt43MQ=
=dVCH
-----END PGP SIGNATURE-----