-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
encoding is deprecated #51741
Comments
Ofloo@3e62ad1#diff-30108e69fa3d1358454431c6c9b08965 Should fix it |
mind pushing that as a PR? |
@Ofloo Thanks for the initial work! |
thanks for that. looks like this PR #52487 will be what will be merged to resolve this just for anyone that sees this issue. Thanks for the initial work though :) |
Is this fixed in a release? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
@garethgreenaway @waynew can you see if this has a PR that was ported to master, please? |
Thank you for updating this issue. It is no longer marked as stale. |
i'm seeing the code https://github.com/saltstack/salt/blob/master/salt/payload.py#L109 in master adn 2019.2.3. @mkeen are you still seeing it? and if so what version of salt? |
@Ch3LL I'm no longer seeing it in |
perfect i'll go ahead and close :) thanks for confirming |
This issue appears to have resurfaced:
Example:
|
This has resurfaced, opening and putting through triage. Noted in v3001.1 with python 3.6. |
@grichmond-salt I got the same warning on 3001 but on master I no longer get this warning on master. |
Description of Issue/Question
[WARNING ] /usr/local/lib/python2.7/site-packages/salt/payload.py:145: DeprecationWarning: encoding is deprecated, Use raw=False instead.
ret = msgpack.loads(msg, use_list=True, ext_hook=ext_type_decoder, encoding=encoding)
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
just run salt
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)salt --versions-report
Salt Version:
Salt: 2018.3.3
Dependency Versions:
cffi: 1.11.5
cherrypy: Not Installed
dateutil: Not Installed
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.10
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.1
mysql-python: Not Installed
pycparser: 2.18
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.15 (default, Feb 7 2019, 01:15:05)
python-gnupg: Not Installed
PyYAML: 3.13
PyZMQ: 17.1.2
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.1
System Versions:
dist:
locale: US-ASCII
machine: amd64
release: 12.0-RELEASE
system: FreeBSD
version: Not Installed
The text was updated successfully, but these errors were encountered: