Skip to content

Commit f869684

Browse files
authored
Support Python 3.11 - Fix 447 (#459)
* Add support for Python 3.11 - update greenlet version to latest version (currently 2.0.2) - update nox build instructions - change python version to 3.11 - update PyInstaller version * update target python version * update mypy version to support python 3.11 - error messages related to typed-ast, which was loaded by mypy * fix flake8 config: - the comment has to be in an extra line
1 parent eb59589 commit f869684

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: noxfile.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
nox.options.reuse_existing_virtualenvs = True
1010
nox.options.sessions = ["tests", "lint", "docs"]
11-
python = ["3.10"]
11+
python = ["3.11"]
1212

1313
prettier_command = [
1414
"npx",
@@ -25,7 +25,7 @@
2525
"black==22.3.0",
2626
"vulture",
2727
"flake8",
28-
"mypy==0.782",
28+
"mypy==1.2.0",
2929
"check-manifest",
3030
]
3131
vulture_whitelist = ".vulture_whitelist.py"
@@ -162,11 +162,11 @@ def publish_docs(session):
162162
session.run("mkdocs", "gh-deploy")
163163

164164

165-
@nox.session(reuse_venv=True, python="3.10")
165+
@nox.session(reuse_venv=True, python="3.11")
166166
def build_executables_current_platform(session):
167167
session.run("yarn", "install", external=True)
168168
session.run("yarn", "build", external=True)
169-
session.install(".", "PyInstaller==5.1")
169+
session.install(".", "PyInstaller==5.10.1")
170170
session.run("python", "make_executable.py")
171171
session.notify("build_pex")
172172

0 commit comments

Comments
 (0)