Skip to content

Commit df74b32

Browse files
authored
Python 3.11 support (#101)
1 parent 81048a6 commit df74b32

File tree

6 files changed

+43
-8
lines changed

6 files changed

+43
-8
lines changed

.github/scripts/build-linux.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ cd /io
66
# List python versions
77
ls /opt/python
88

9-
if [ $PYTHON_VERSION == "3.6" ]; then
10-
PYBIN="/opt/python/cp36-cp36m/bin"
11-
elif [ $PYTHON_VERSION == "3.7" ]; then
9+
if [ $PYTHON_VERSION == "3.7" ]; then
1210
PYBIN="/opt/python/cp37-cp37m/bin"
1311
elif [ $PYTHON_VERSION == "3.8" ]; then
1412
PYBIN="/opt/python/cp38-cp38/bin"
1513
elif [ $PYTHON_VERSION == "3.9" ]; then
1614
PYBIN="/opt/python/cp39-cp39/bin"
1715
elif [ $PYTHON_VERSION == "3.10" ]; then
1816
PYBIN="/opt/python/cp310-cp310/bin"
17+
elif [ $PYTHON_VERSION == "3.11" ]; then
18+
PYBIN="/opt/python/cp311-cp311/bin"
1919
else
2020
echo "Unsupported Python version $PYTHON_VERSION"
2121
exit 1

.github/scripts/build-macos.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export PYTHON_INSTALLER_MACOS_VERSION=$MACOS_MIN_VERSION
1919
# Instead we install python.org binaries which are built with 10.6/10.9 target
2020
# and hence provide wider compatibility for the wheels we create.
2121
# See https://github.com/actions/setup-python/issues/26.
22-
git clone https://github.com/matthew-brett/multibuild.git
22+
git clone https://github.com/multi-build/multibuild.git
2323
pushd multibuild
2424
set +x # reduce noise
2525
source osx_utils.sh

.github/scripts/test-linux.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ cd /io
66
# List python versions
77
ls /opt/python
88

9-
if [ $PYTHON_VERSION == "3.6" ]; then
10-
PYBIN="/opt/python/cp36-cp36m/bin"
11-
elif [ $PYTHON_VERSION == "3.7" ]; then
9+
if [ $PYTHON_VERSION == "3.7" ]; then
1210
PYBIN="/opt/python/cp37-cp37m/bin"
1311
elif [ $PYTHON_VERSION == "3.8" ]; then
1412
PYBIN="/opt/python/cp38-cp38/bin"
1513
elif [ $PYTHON_VERSION == "3.9" ]; then
1614
PYBIN="/opt/python/cp39-cp39/bin"
1715
elif [ $PYTHON_VERSION == "3.10" ]; then
1816
PYBIN="/opt/python/cp310-cp310/bin"
17+
elif [ $PYTHON_VERSION == "3.11" ]; then
18+
PYBIN="/opt/python/cp311-cp311/bin"
1919
else
2020
echo "Unsupported Python version $PYTHON_VERSION"
2121
exit 1

.github/workflows/ci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
docker-image: quay.io/pypa/manylinux2014_x86_64
5858
python-version: '3.10'
5959
numpy-version: '1.21.*'
60+
- os-image: ubuntu-latest
61+
os-name: linux
62+
docker-image: quay.io/pypa/manylinux2014_x86_64
63+
python-version: '3.11'
64+
numpy-version: '1.23.*'
6065

6166
- os-image: macos-11
6267
os-name: mac
@@ -78,6 +83,11 @@ jobs:
7883
macos-min-version: '10.9'
7984
python-version: '3.10'
8085
numpy-version: '1.21.*'
86+
- os-image: macos-11
87+
os-name: mac
88+
macos-min-version: '10.9'
89+
python-version: '3.11'
90+
numpy-version: '1.23.*'
8191

8292
- os-image: windows-latest
8393
os-name: windows
@@ -99,6 +109,11 @@ jobs:
99109
python-version: '3.10'
100110
python-arch: '64'
101111
numpy-version: '1.21.*'
112+
- os-image: windows-latest
113+
os-name: windows
114+
python-version: '3.11'
115+
python-arch: '64'
116+
numpy-version: '1.23.*'
102117

103118
runs-on: ${{ matrix.config.os-image }}
104119

@@ -170,6 +185,11 @@ jobs:
170185
docker-image: quay.io/pypa/manylinux2014_x86_64
171186
python-version: '3.10'
172187
numpy-version: '1.21.*'
188+
- os-image: ubuntu-latest
189+
os-name: linux
190+
docker-image: quay.io/pypa/manylinux2014_x86_64
191+
python-version: '3.11'
192+
numpy-version: '1.23.*'
173193

174194
- os-image: macos-11
175195
os-name: mac
@@ -191,6 +211,11 @@ jobs:
191211
macos-min-version: '10.9'
192212
python-version: '3.10'
193213
numpy-version: '1.21.*'
214+
- os-image: macos-11
215+
os-name: mac
216+
macos-min-version: '10.9'
217+
python-version: '3.11'
218+
numpy-version: '1.23.*'
194219

195220
- os-image: windows-latest
196221
os-name: windows
@@ -212,6 +237,11 @@ jobs:
212237
python-version: '3.10'
213238
python-arch: '64'
214239
numpy-version: '1.21.*'
240+
- os-image: windows-latest
241+
os-name: windows
242+
python-version: '3.11'
243+
python-arch: '64'
244+
numpy-version: '1.23.*'
215245

216246
runs-on: ${{ matrix.config.os-image }}
217247

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.10.2] - 2022-10-30
8+
### Added
9+
- Python 3.11 support.
10+
711
## [0.10.1] - 2022-10-27
812
### Fixed
913
- macOS: Fix performance on M1 (#99).
@@ -121,6 +125,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
121125
- Support for [OBS-VirtualCam](https://github.com/CatxFish/obs-virtual-cam).
122126

123127

128+
[0.10.2]: https://github.com/letmaik/pyvirtualcam/compare/v0.10.1...v0.10.2
124129
[0.10.1]: https://github.com/letmaik/pyvirtualcam/compare/v0.10.0...v0.10.1
125130
[0.10.0]: https://github.com/letmaik/pyvirtualcam/compare/v0.9.1...v0.10.0
126131
[0.9.1]: https://github.com/letmaik/pyvirtualcam/compare/v0.9.0...v0.9.1

pyvirtualcam/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.10.1"
1+
__version__ = "0.10.2"

0 commit comments

Comments
 (0)