From 337c0f8baf77a59f9054eefc07460fffe91702ce Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 1 Aug 2021 17:43:09 +0100 Subject: Add support for Python 3.10 --- .github/workflows/build.yml | 4 ++-- makefile | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a422fd5..25ea528 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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" diff --git a/makefile b/makefile index 13bc09b..11e8e9b 100644 --- a/makefile +++ b/makefile @@ -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 diff --git a/tox.ini b/tox.ini index 60c651c..30da2ae 100644 --- a/tox.ini +++ b/tox.ini @@ -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} -- cgit v1.2.3