Skip to content

Commit bc0cde0

Browse files
authored
Updated configs to use Python 3.11 (#180)
1 parent aa975fa commit bc0cde0

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/lint-and-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
fail-fast: false
5050
# Pyright is version and platform sensible
5151
matrix:
52-
python-version: ["3.9", "3.10"]
52+
python-version: ["3.9", "3.10", "3.11"]
5353
steps:
5454
- name: Checkout ${{ github.repository }}/${{ github.ref }}
5555
uses: actions/checkout@v3
@@ -72,7 +72,7 @@ jobs:
7272
fail-fast: false
7373
# Pylint is version and platform sensible
7474
matrix:
75-
python-version: ["3.9", "3.10"]
75+
python-version: ["3.9", "3.10", "3.11"]
7676
steps:
7777
- name: Checkout ${{ github.repository }}/${{ github.ref }}
7878
uses: actions/checkout@v3
@@ -92,7 +92,7 @@ jobs:
9292
fail-fast: false
9393
# Flake8 is tied to the version of Python on which it runs. Platform checks are ignored
9494
matrix:
95-
python-version: ["3.9", "3.10"]
95+
python-version: ["3.9", "3.10", "3.11"]
9696
steps:
9797
- name: Checkout ${{ github.repository }}/${{ github.ref }}
9898
uses: actions/checkout@v3
@@ -112,10 +112,10 @@ jobs:
112112
steps:
113113
- name: Checkout ${{ github.repository }}/${{ github.ref }}
114114
uses: actions/checkout@v3
115-
- name: Set up Python 3.10
115+
- name: Set up Python 3.11
116116
uses: actions/setup-python@v4
117117
with:
118-
python-version: "3.10"
118+
python-version: "3.11"
119119
cache: "pip"
120120
cache-dependency-path: "scripts/requirements*.txt"
121121
- run: scripts/install.ps1
@@ -128,7 +128,7 @@ jobs:
128128
fail-fast: false
129129
# Only the Python version we plan on shipping matters.
130130
matrix:
131-
python-version: ["3.10"]
131+
python-version: ["3.10", "3.11"]
132132
steps:
133133
- name: Checkout ${{ github.repository }}/${{ github.ref }}
134134
uses: actions/checkout@v3

.sonarcloud.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sonar.python.version=3.9, 3.10
1+
sonar.python.version=3.9, 3.10, 3.11

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ignore = [
99
"E70" # Allow ... on same line as def
1010
]
1111

12-
1312
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md#sample-pyprojecttoml-file
1413
[tool.pyright]
1514
typeCheckingMode = "strict"

scripts/requirements.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,26 @@
1313
certifi
1414
ImageHash>=4.3.1 # Contains type information + setup as package not module
1515
git+https://github.com/Avasam/keyboard.git@fix-563#egg=keyboard # Fix install on linux-ci https://github.com/boppreh/keyboard/pull/568
16-
numpy>=1.23 # Updated types
16+
numpy>=1.23.2 # Python 3.11 wheels
1717
opencv-python-headless>=4.6 # Breaking changes importing cv2.cv2
1818
packaging
1919
Pillow>=9.2 # gnome-screeshot checks
2020
psutil
2121
PyAutoGUI
22-
PyQt6>=6.2.1 # Python 3.10 support
22+
--extra-index-url https://www.riverbankcomputing.com/pypi/simple/ --pre
23+
PyQt6>6.4.0 # Python 3.11 support
2324
requests
2425
toml
2526
#
2627
# Build and compile resources
27-
PyInstaller>=5.2 # opencv-python 4.6 support
28+
PyInstaller>=5.5 # Python 3.11 support
2829
pyinstaller-hooks-contrib>=2022.9 # opencv-python 4.6 support. Changes for pywintypes and comtypes
29-
PySide6>=6.2.2 # Apple silicon support
30+
PySide6>=6.4.0.1 # Python 3.11 support
3031
#
3132
# https://peps.python.org/pep-0508/#environment-markers
3233
#
3334
# Windows-only dependencies:
3435
git+https://github.com/andreaschiavinato/python_grabber.git#egg=pygrabber ; sys_platform == 'win32' # Completed types
3536
pywin32>=301 ; sys_platform == 'win32'
36-
winsdk>=v1.0.0b4 ; sys_platform == 'win32'
37+
winsdk>=v1.0.0b7 ; sys_platform == 'win32' # Python 3.11 support
3738
git+https://github.com/ranchen421/D3DShot.git#egg=D3DShot ; sys_platform == 'win32' # D3DShot from PyPI with Pillow>=7.2.0 will install 0.1.3 instead of 0.1.5

0 commit comments

Comments
 (0)