Skip to content

Commit

Permalink
Merge pull request #88 from s-weigand/py310-fix
Browse files Browse the repository at this point in the history
✨ Add python 3.10 wheels
  • Loading branch information
roy-ht committed Oct 30, 2022
2 parents 1b2ee3e + 6730037 commit c152086
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/CI_CD_workflow.yml
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
if: runner.os == 'Linux'
Expand All @@ -21,22 +21,22 @@ jobs:
platforms: all

- name: Build wheels
uses: joerick/cibuildwheel@v1.9.0
uses: joerick/cibuildwheel@v2.11.1
with:
output-dir: wheelhouse
# to supply options, put them in 'env', like:
env:
CIBW_SKIP: "cp27-*"
CIBW_TEST_REQUIRES: nose
CIBW_TEST_COMMAND: "nosetests {project}/test"
CIBW_SKIP: "{cp27-*,cp311-*}"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/test"
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_ARCHS_LINUX: "auto aarch64"

- name: Show built files
shell: bash
run: ls -la wheelhouse

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./wheelhouse/*.whl
Expand All @@ -48,16 +48,16 @@ jobs:
needs: [build_wheels]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.9
- name: Build sdist
run: python setup.py sdist

- name: Download wheels
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: wheels
path: dist
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -37,7 +37,7 @@
setup(
name="editdistance",
version="0.6.0",
python_requires=">=3.5",
python_requires=">=3.6",
description="Fast implementation of the edit distance(Levenshtein distance)",
long_description=readme,
long_description_content_type="text/x-rst",
Expand All @@ -52,11 +52,11 @@
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
Expand Down

0 comments on commit c152086

Please sign in to comment.