[Debian-med-packaging] Bug#1040282: python3-cgelib: SyntaxWarning during package installation

Andreas Beckmann anbe at debian.org
Tue Jul 4 06:35:18 BST 2023


Package: python3-cgelib
Version: 0.7.3-2
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package emits a SyntaxWarning
during installation:

  Setting up python3-cgelib (0.7.3-2) ...
  /usr/lib/python3/dist-packages/cgelib/alignment/KMA/read_files.py:98: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if kma_file is "VCF" and len(self.files) > 1:
  /usr/lib/python3/dist-packages/cgelib/alignment/aligner.py:246: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if file_format is 5:
  /usr/lib/python3/dist-packages/cgelib/alignment/blast/read_files.py:71: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if aln_file is "XML":


Andreas



More information about the Debian-med-packaging mailing list