Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing salt-pepper 0.5.5-1 on ubuntu 20.04 failing: cli.py:474: SyntaxWarning: "is not" with a literal. Did you mean "!="? #221

Open
ipflowss opened this issue May 14, 2022 · 0 comments

Comments

@ipflowss
Copy link

Attempting to install salt-pepper 0.5.5-1 on ubunutu 20.04 using apt is failing . please help.

❯ python -V
Python 3.8.10
❯ sudo apt update
Hit:1 https://repo.saltproject.io/py3/ubuntu/20.04/amd64/latest focal InRelease
Hit:2 https://download.docker.com/linux/ubuntu focal InRelease
Hit:3 https://repos.influxdata.com/ubuntu focal InRelease
Hit:4 https://apt.releases.hashicorp.com focal InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:9 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
❯ sudo apt install salt-pepper
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  salt-pepper
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.9 kB of archives.
After this operation, 59.4 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 salt-pepper all 0.5.5-1 [12.9 kB]
Fetched 12.9 kB in 0s (75.0 kB/s)
Selecting previously unselected package salt-pepper.
(Reading database ... 214346 files and directories currently installed.)
Preparing to unpack .../salt-pepper_0.5.5-1_all.deb ...
Unpacking salt-pepper (0.5.5-1) ...
Setting up salt-pepper (0.5.5-1) ...
/usr/lib/python3/dist-packages/pepper/cli.py:474: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if e.args[0] is not 2:
Processing triggers for man-db (2.9.1-1) ...
❯ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant