What happened?
Upgrading from salt-minion 3006.23 to 3006.24 on Debian/Ubuntu systems results in python 3.10 warnings about "is" and "is not" which should probably have been "!=" and "==":
Unpacking salt-common (3006.24) over (3006.23) ...
Preparing to unpack .../salt-minion_3006.24_amd64.deb ...
Unpacking salt-minion (3006.24) over (3006.23) ...
Setting up salt-common (3006.24) ...
/opt/saltstack/salt/lib/python3.10/site-packages/linode/api.py:293: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if s['ERRORARRAY'][0]['ERRORCODE'] is not 0:
/opt/saltstack/salt/lib/python3.10/site-packages/linode/api.py:348: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(wrapper.__doc__.split('\n')) is 1: # one-liners need whitespace
/opt/saltstack/salt/lib/python3.10/site-packages/linode/api.py:356: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(wrapper.__doc__.split('\n')) is 1: # one-liners need whitespace
Setting up salt-minion (3006.24) ...
Note that the installations/upgrades do not fail, this is purely cosmetic. But it would be nice to get rid of the needless warnings.
Type of salt install
Official deb
Major version
3006.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
ubuntu-24.04
salt --versions-report output
Salt Version:
Salt: 3006.24
Python Version:
Python: 3.10.20 (main, Apr 22 2026, 05:54:37) [GCC 11.2.0]
Dependency Versions:
cffi: 2.0.0
cherrypy: unknown
cryptography: 46.0.7
dateutil: 2.8.2
docker-py: Not Installed
gitdb: 4.0.12
gitpython: 3.1.46
Jinja2: 3.1.6
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.7
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.23.0
pygit2: Not Installed
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.22.8
smmap: 5.0.2
timelib: 0.3.0
Tornado: 6.5.5
ZMQ: 4.3.4
System Versions:
dist: ubuntu 24.04.4 noble
locale: utf-8
machine: x86_64
release: 6.17.0-22-generic
system: Linux
version: Ubuntu 24.04.4 noble
What happened?
Upgrading from salt-minion 3006.23 to 3006.24 on Debian/Ubuntu systems results in python 3.10 warnings about "is" and "is not" which should probably have been "!=" and "==":
Note that the installations/upgrades do not fail, this is purely cosmetic. But it would be nice to get rid of the needless warnings.
Type of salt install
Official deb
Major version
3006.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
ubuntu-24.04
salt --versions-report output
Salt Version: Salt: 3006.24 Python Version: Python: 3.10.20 (main, Apr 22 2026, 05:54:37) [GCC 11.2.0] Dependency Versions: cffi: 2.0.0 cherrypy: unknown cryptography: 46.0.7 dateutil: 2.8.2 docker-py: Not Installed gitdb: 4.0.12 gitpython: 3.1.46 Jinja2: 3.1.6 libgit2: Not Installed looseversion: 1.3.0 M2Crypto: Not Installed Mako: Not Installed msgpack: 1.0.7 msgpack-pure: Not Installed mysql-python: Not Installed packaging: 24.0 pycparser: 2.21 pycrypto: Not Installed pycryptodome: 3.23.0 pygit2: Not Installed python-gnupg: 0.5.2 PyYAML: 6.0.1 PyZMQ: 25.1.2 relenv: 0.22.8 smmap: 5.0.2 timelib: 0.3.0 Tornado: 6.5.5 ZMQ: 4.3.4 System Versions: dist: ubuntu 24.04.4 noble locale: utf-8 machine: x86_64 release: 6.17.0-22-generic system: Linux version: Ubuntu 24.04.4 noble