Added support for Python 3.11

This commit is contained in:
Ivan Kravets
2022-11-18 15:48:39 +02:00
parent 7e6cb84c87
commit b35f1ea572
4 changed files with 4 additions and 11 deletions

View File

@ -9,11 +9,6 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.6", "3.9", "3.11"]
exclude:
- os: macos-latest
python-version: "3.6"
- os: windows-latest
python-version: "3.11"
runs-on: ${{ matrix.os }}

View File

@ -16,6 +16,7 @@ PlatformIO Core 6
6.1.6 (2022-??-??)
~~~~~~~~~~~~~~~~~~
* Added support for Python 3.11
* Import the "zeroconf" module only when a user lists mDNS devices (issue with zeroconf's LGPL license)
6.1.5 (2022-11-01)

View File

@ -85,10 +85,7 @@ def get_filesystem_encoding():
def get_locale_encoding():
try:
return locale.getdefaultlocale()[1]
except ValueError:
return None
return locale.getpreferredencoding()
def get_object_members(obj, ignore_private=True):

View File

@ -19,8 +19,8 @@ known_third_party=OpenSSL, SCons, jsonrpc, twisted, zope
[pytest]
filterwarnings =
error
# SCons
ignore:.*_ImportRedirect.find_spec()
# Bottle
ignore:.*'cgi' is deprecated and slated for removal
[testenv]
passenv = *