forked from platformio/platformio-core
Added support for Python 3.11
This commit is contained in:
5
.github/workflows/core.yml
vendored
5
.github/workflows/core.yml
vendored
@ -9,11 +9,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
python-version: ["3.6", "3.9", "3.11"]
|
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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ PlatformIO Core 6
|
|||||||
6.1.6 (2022-??-??)
|
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)
|
* Import the "zeroconf" module only when a user lists mDNS devices (issue with zeroconf's LGPL license)
|
||||||
|
|
||||||
6.1.5 (2022-11-01)
|
6.1.5 (2022-11-01)
|
||||||
|
@ -85,10 +85,7 @@ def get_filesystem_encoding():
|
|||||||
|
|
||||||
|
|
||||||
def get_locale_encoding():
|
def get_locale_encoding():
|
||||||
try:
|
return locale.getpreferredencoding()
|
||||||
return locale.getdefaultlocale()[1]
|
|
||||||
except ValueError:
|
|
||||||
return None
|
|
||||||
|
|
||||||
|
|
||||||
def get_object_members(obj, ignore_private=True):
|
def get_object_members(obj, ignore_private=True):
|
||||||
|
4
tox.ini
4
tox.ini
@ -19,8 +19,8 @@ known_third_party=OpenSSL, SCons, jsonrpc, twisted, zope
|
|||||||
[pytest]
|
[pytest]
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
error
|
error
|
||||||
# SCons
|
# Bottle
|
||||||
ignore:.*_ImportRedirect.find_spec()
|
ignore:.*'cgi' is deprecated and slated for removal
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = *
|
passenv = *
|
||||||
|
Reference in New Issue
Block a user