-
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
[master] Py3.11 Support [Take 2] #64458
[master] Py3.11 Support [Take 2] #64458
Commits on Jun 17, 2023
-
Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e15911 - Browse repository at this point
Copy the full SHA 8e15911View commit details -
Switch to
FullArgSpec
since Py 3.11 no longer hasArgSpec
, deprec……ated since Py 3.0 Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d92b542 - Browse repository at this point
Copy the full SHA d92b542View commit details -
Stop using the deprecated
cgi
module.Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60b3648 - Browse repository at this point
Copy the full SHA 60b3648View commit details -
Stop using the deprecated
pipes
moduleSigned-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eee0eca - Browse repository at this point
Copy the full SHA eee0ecaView commit details -
Add
__getstate__
to blacklisted methods, present in Py 3.11Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2688c86 - Browse repository at this point
Copy the full SHA 2688c86View commit details -
Backport
locale.getdefaultlocale()
into Salt. It's getting removed ……in Py 3.13 Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 991f7cf - Browse repository at this point
Copy the full SHA 991f7cfView commit details -
Stop using the deprecated
imp
moduleSigned-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0baa08 - Browse repository at this point
Copy the full SHA f0baa08View commit details -
Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d60036f - Browse repository at this point
Copy the full SHA d60036fView commit details -
Use proper keys since Python's base64 in Py3.11 is more picky
``` ❯ artifacts/salt/bin/python3 Python 3.10.11 (main, May 5 2023, 02:31:54) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import base64 >>> base64.b64decode("AAAAB3NzaC1kcQ9J5bYTEyZ==", validate=True) b'\x00\x00\x00\x07ssh-dq\x0fI\xe5\xb6\x13\x13&' ``` ``` $ artifacts/salt/bin/python3 Python 3.11.3 (main, May 5 2023, 02:31:40) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import base64 >>> base64.b64decode("AAAAB3NzaC1kcQ9J5bYTEyZ==", validate=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/tmp/testing/artifacts/salt/lib/python3.11/base64.py", line 88, in b64decode return binascii.a2b_base64(s, strict_mode=validate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ binascii.Error: Excess data after padding ``` Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1873a1 - Browse repository at this point
Copy the full SHA a1873a1View commit details -
Generate 3.11 requirements for the package tests
Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 535e7be - Browse repository at this point
Copy the full SHA 535e7beView commit details -
Added changelog entry and updated release notes
Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3601a40 - Browse repository at this point
Copy the full SHA 3601a40View commit details -
Don't hardcode the python version in the test.
Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a59d74 - Browse repository at this point
Copy the full SHA 1a59d74View commit details -
Don't hardcode the python version on
pkg/debian/salt-cloud.postinst
Signed-off-by: Pedro Algarvio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e755847 - Browse repository at this point
Copy the full SHA e755847View commit details