Skip to content

Commit

Permalink
Add support for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Aug 1, 2021
1 parent 41ebdfa commit 337c0f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10.0-beta.4", pypy2, pypy3]

steps:

Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
python3 -m cibuildwheel --output-dir wheelhouse
twine check wheelhouse/*.whl
env:
CIBW_BEFORE_BUILD: "pip install cython==0.29.16 && cython {project}/jq.pyx"
CIBW_BEFORE_BUILD: "pip install cython==0.29.24 && cython {project}/jq.pyx"
CIBW_TEST_REQUIRES: "-r test-requirements.txt"
CIBW_TEST_COMMAND: "nosetests {project}/tests"
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ _virtualenv:
_virtualenv/bin/pip install --upgrade wheel

jq.c: _virtualenv jq.pyx
_virtualenv/bin/pip install cython==0.29.16
_virtualenv/bin/pip install cython==0.29.24
_virtualenv/bin/cython jq.pyx
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37,py38,py39,pypy,pypy3
envlist = py27,py34,py35,py36,py37,py38,py39,py310,pypy,pypy3
isolated_build = True
[testenv]
changedir = {envtmpdir}
Expand Down

0 comments on commit 337c0f8

Please sign in to comment.