gitsome: SyntaxWarning while installing

Bug #1931350 reported by Thilo Pfennig
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gitsome (Ubuntu)
In Progress
Undecided
Akbarkhon Variskhanov

Bug Description

Version:

ii gitsome 0.8.0+ds-4 all Supercharged Git/Shell Autocomplet>

While installing I got this error messages:
"""
gitsome (0.8.0+ds-4) wird eingerichtet ...
/usr/lib/python3/dist-packages/gitsome/github.py:792: SyntaxWarning: "is not" wi
th a literal. Did you mean "!="?
  ('/' + language if language is not 'overall' else '') +
/usr/lib/python3/dist-packages/gitsome/lib/html2text/html2text.py:95: SyntaxWarn
ing: "is not" with a literal. Did you mean "!="?
  if c is not ' ' and c is not ' ':
/usr/lib/python3/dist-packages/gitsome/lib/html2text/html2text.py:95: SyntaxWarn
ing: "is not" with a literal. Did you mean "!="?
  if c is not ' ' and c is not ' ':
/usr/lib/python3/dist-packages/gitsome/lib/html2text/html2text.py:96: SyntaxWarn
ing: "is" with a literal. Did you mean "=="?

"""

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I get the same warnings when installing gitsome 0.8.0+ds-5 on Ubuntu 21.04, so marking confirmed.

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. This will automatically add version numbers and other useful information. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in gitsome (Ubuntu):
status: New → Confirmed
tags: added: bitesize focal groovy hirsute impish
Revision history for this message
A.M.Danischewski (adam-danischewski) wrote :

I'm getting the same error while trying to install gitsome (0.8.0+ds-4) via Ubuntu shell on for Windows Subsystem for Linux - Windows 11 Home.

tags: added: jammy
removed: groovy hirsute
Changed in gitsome (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Akbarkhon Variskhanov (kbar)
status: In Progress → Confirmed
assignee: Akbarkhon Variskhanov (kbar) → nobody
Changed in gitsome (Ubuntu):
assignee: nobody → Akbarkhon Variskhanov (kbar)
status: Confirmed → In Progress
Revision history for this message
Akbarkhon Variskhanov (kbar) wrote :

Replaced identity comparisons with equality comparisons for string literals. There were no warnings this time.

This patch doesn't have the DEP-3 header.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1931350.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Carlos Varas (los-varas) wrote :

Two years later and this is still coming up? Identical errors after: Setting up gitsome (0.8.0+ds-4) ...
WSL (Ubuntu) on Windows 11. Hoping somebody can dig into it. Cheers!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.