Skip to content

Commit

Permalink
Merge pull request #137 from maniek2332/ft/python310_building
Browse files Browse the repository at this point in the history
Python 3.10 builds support
  • Loading branch information
labuzm committed Mar 17, 2022
2 parents 61922c0 + 5750895 commit cc1b9b4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .ci/az-pipelines/make_wheels.yml
Expand Up @@ -38,6 +38,9 @@ jobs:
Python39:
python.version: '3.9'
python.version_tag: 'py39'
Python310:
python.version: '3.10'
python.version_tag: 'py310'
variables:
docker_image: "quay.io/pypa/manylinux2010_x86_64"
platform.name: 'linux'
Expand Down Expand Up @@ -77,6 +80,9 @@ jobs:
Python39:
python.version: '3.9'
python.version_tag: 'py39'
Python310:
python.version: '3.10'
python.version_tag: 'py310'
variables:
platform.name: 'windows'
steps:
Expand Down Expand Up @@ -106,6 +112,9 @@ jobs:
Python39:
python.version: '3.9'
python.version_tag: 'py39'
Python310:
python.version: '3.10'
python.version_tag: 'py310'
variables:
platform.name: 'macos'
platform.tag: 'macosx-10.14-x86_64'
Expand Down
2 changes: 1 addition & 1 deletion requirements/build.txt
@@ -1,4 +1,4 @@
ninja==1.9.0.post1
Cython==0.29.21
Cython==0.29.28
scikit-build==0.11.1
cymove==1.0.0
2 changes: 1 addition & 1 deletion requirements/test.txt
@@ -1 +1 @@
pytest==6.2.1
pytest==6.2.5
6 changes: 5 additions & 1 deletion scripts/docker_wheel_builder.sh
Expand Up @@ -29,6 +29,10 @@ then
PY_VERSION="python3.9"
PY_VERSION_ABI="cp39-cp39"
;;
"py310")
PY_VERSION="python3.10"
PY_VERSION_ABI="cp310-cp310"
;;
*)
echo "ERROR: Unknown py version specified: $1"
exit 1
Expand All @@ -46,7 +50,7 @@ python --version

yum install -y alsa-lib-devel pulseaudio-libs-devel # SDL audio dependencies
yum install -y libXrandr-devel libXcursor-devel # SDL video dependencies
pip install -r /host/requirements/build.txt -r /host/requirements/dev.txt
pip install cmake -r /host/requirements/build.txt

# simulate out-of-source build
cp -r /host/src -v .
Expand Down
2 changes: 1 addition & 1 deletion src/kaa/input.pxi
@@ -1,6 +1,6 @@
import inspect
from enum import IntEnum
from collections import Iterable
from collections.abc import Iterable

import cython
from libcpp cimport nullptr
Expand Down

0 comments on commit cc1b9b4

Please sign in to comment.