Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771963 - app-portage/mirrorselect: SyntaxWarning about "is not" comparison
Summary: app-portage/mirrorselect: SyntaxWarning about "is not" comparison
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-21 17:34 UTC by Stefan Huber
Modified: 2021-07-05 15:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2021-02-21 17:34:08 UTC
When emerging mirrorselect then a warning is shown:
/usr/lib/python3.8/site-packages/mirrorselect/selectors.py:263: SyntaxWarning: "is not" with a literal. Did you m
ean "!="?

This warning is reasonable. A fix with a comment as git-commit message can be found here on a clone of the mirrorselect git repository:
https://github.com/shuber2/mirrorselect/commit/be5193f7f87664f88709492ebdaccb7154f9c5bf

Reproducible: Always
Comment 1 Stefan Huber 2021-07-05 15:50:15 UTC
Any news to this? It also happens during invocation of mirrorselect in some cases.