Support Python 3.10 and Drop Python 3.5 (#487)

* linux: Use manylinux2014
* mac: Drop Python 3.6 too
This commit is contained in:
Inada Naoki 2021-11-16 16:19:47 +09:00 committed by GitHub
parent 9b84e490e7
commit b3f7254192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 49 additions and 24 deletions

View file

@ -47,6 +47,17 @@ jobs:
pytest -v test
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: "3.10"
- name: Run test (3.10)
run: |
pip install pytest
pip install -v msgpack --only-binary :all: --no-index -f dist/wheelhouse
pytest -v test
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:

View file

@ -35,6 +35,23 @@ jobs:
pytest -v test
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: "3.10"
- name: Build wheel
run: |
pip install setuptools wheel
python setup.py bdist_wheel
- name: Run test
run: |
pip install pytest
pip install -v msgpack --only-binary :all: -f dist/ --no-index
pytest -v test
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
@ -69,23 +86,6 @@ jobs:
pytest -v test
- name: Set up Python 3.6
uses: actions/setup-python@v1
with:
python-version: "3.6"
- name: Build wheel
run: |
pip install setuptools wheel
python setup.py bdist_wheel
- name: Run test
run: |
pip install pytest
pip install -v msgpack --only-binary :all: -f dist/ --no-index
pytest -v test
- name: Upload Wheels
uses: actions/upload-artifact@v1
with:

View file

@ -77,6 +77,20 @@ jobs:
run: |
ci/runtests.sh
- name: Python 3.10 (amd64)
env:
PYTHON: "py -3.10-64"
shell: bash
run: |
ci/runtests.sh
- name: Python 3.10 (x86)
env:
PYTHON: "py -3.10-32"
shell: bash
run: |
ci/runtests.sh
- name: Upload Wheels
uses: actions/upload-artifact@v1
with: