add support for Python3.11

This commit is contained in:
Max Bachmann 2022-08-12 17:31:22 +02:00 committed by GitHub
parent 17b0fe2fdd
commit 83c12eae7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 10 deletions

View File

@ -104,7 +104,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.9", "3.10"]
python-version: ["3.6", "3.9", "3.10", "3.11-dev"]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:

View File

@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
arch: [auto32, auto64]
python_tag: ["cp36-*", "cp37-*", "cp38-*", "cp39-*", "cp310-*", "pp37-*", "pp38-*", "pp39-*"]
python_tag: ["cp36-*", "cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*", "pp37-*", "pp38-*", "pp39-*"]
exclude:
# PyPy only supports x86_64 on Windows
- arch: auto32
@ -48,7 +48,7 @@ jobs:
- uses: actions/setup-python@v2
- name: Build wheels
uses: pypa/cibuildwheel@v2.4.0
uses: pypa/cibuildwheel@v2.9.0
with:
output-dir: wheelhouse
@ -64,7 +64,7 @@ jobs:
fail-fast: false
matrix:
arch: [x86_64, arm64, universal2]
python_tag: ["cp36-*", "cp37-*", "cp38-*", "cp39-*", "cp310-*", "pp37-*", "pp38-*", "pp39-*"]
python_tag: ["cp36-*", "cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*", "pp37-*", "pp38-*", "pp39-*"]
exclude:
# MacOS Arm only supported since Python 3.8
- arch: arm64
@ -105,7 +105,7 @@ jobs:
- uses: actions/setup-python@v2
- name: Build wheels
uses: pypa/cibuildwheel@v2.4.0
uses: pypa/cibuildwheel@v2.9.0
with:
output-dir: wheelhouse
@ -121,7 +121,7 @@ jobs:
fail-fast: false
matrix:
arch: [auto, aarch64, ppc64le, s390x]
python_tag: [ "cp36-*", "cp37-*", "cp38-*", "cp39-*", "cp310-*", "pp37-*", "pp38-*", "pp39-*"]
python_tag: [ "cp36-*", "cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*", "pp37-*", "pp38-*", "pp39-*"]
exclude:
# PyPy builds not available for these platforms
- arch: ppc64le
@ -155,7 +155,7 @@ jobs:
name: Set up QEMU
- name: Build wheel
uses: pypa/cibuildwheel@v2.4.0
uses: pypa/cibuildwheel@v2.9.0
with:
output-dir: wheelhouse

View File

@ -1,5 +1,9 @@
## Changelog
### [2.4.4] - 2022-08-12
#### Changed
- Added support for Python3.11
### [2.4.3] - 2022-08-08
#### Fixed
- fix value range of `jaro_similarity`/`jaro_winkler_similarity` in the pure Python mode

View File

@ -22,7 +22,7 @@ copyright = '2021, Max Bachmann'
author = 'Max Bachmann'
# The full version, including alpha/beta/rc tags
release = '2.4.3'
release = '2.4.4'
# -- General configuration ---------------------------------------------------

View File

@ -11,7 +11,7 @@ with open('README.md', 'rt', encoding="utf8") as f:
setup_args = {
"name": "rapidfuzz",
"version": "2.4.3",
"version": "2.4.4",
"install_requires": ["jarowinkler >= 1.2.0, < 2.0.0"],
"extras_require": {'full': ['numpy']},
"url": "https://github.com/maxbachmann/RapidFuzz",

View File

@ -3,6 +3,6 @@ rapid string matching library
"""
__author__: str = "Max Bachmann"
__license__: str = "MIT"
__version__: str = "2.4.3"
__version__: str = "2.4.4"
from rapidfuzz import process, distance, fuzz, string_metric, utils