drop python 3.8

This commit is contained in:
Max Bachmann 2024-09-20 01:04:09 +02:00
parent 32fa2b5ea2
commit d8238f52c6
5 changed files with 11 additions and 15 deletions

View File

@ -139,7 +139,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest, windows-latest, macos-13]
steps:

View File

@ -68,7 +68,7 @@ jobs:
CIBW_TEST_REQUIRES: pytest hypothesis
CIBW_TEST_COMMAND: pytest {package}/tests
CIBW_BUILD_VERBOSITY: 3
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
steps:
- uses: actions/download-artifact@v4
@ -108,7 +108,7 @@ jobs:
CIBW_TEST_REQUIRES: pytest hypothesis
CIBW_TEST_COMMAND: pytest {package}/tests
CIBW_BUILD_VERBOSITY: 3
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
steps:
- uses: actions/download-artifact@v4
@ -141,17 +141,13 @@ jobs:
fail-fast: false
matrix:
arch: [auto, aarch64, ppc64le, s390x]
python_tag: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "pp38-*", "pp39-*", "pp310-*"]
python_tag: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "pp39-*", "pp310-*"]
exclude:
# PyPy builds not available for these platforms
- arch: ppc64le
python_tag: "pp38-*"
- arch: ppc64le
python_tag: "pp39-*"
- arch: ppc64le
python_tag: "pp310-*"
- arch: s390x
python_tag: "pp38-*"
- arch: s390x
python_tag: "pp39-*"
- arch: s390x
@ -159,7 +155,7 @@ jobs:
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
CIBW_BUILD: ${{matrix.python_tag}}
CIBW_TEST_SKIP: "{*_{aarch64,ppc64le,s390x},*musllinux_*,pp38-*}"
CIBW_TEST_SKIP: "{*_{aarch64,ppc64le,s390x},*musllinux_*}"
#CIBW_TEST_REQUIRES: pytest hypothesis pandas
CIBW_TEST_REQUIRES: pytest hypothesis
CIBW_TEST_COMMAND: pytest {package}/tests

View File

@ -53,7 +53,7 @@ RapidFuzz is a fast string matching library for Python and C++, which is using t
## Requirements
- Python 3.8 or later
- Python 3.9 or later
- On Windows the [Visual C++ 2019 redistributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) is required
## Installation

View File

@ -12,7 +12,7 @@ line-length = 120
[tool.mypy]
files = ["src"]
python_version = "3.8"
python_version = "3.9"
warn_unused_configs = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
@ -28,7 +28,7 @@ xfail_strict = true
log_cli_level = "info"
[tool.pylint]
py-version = "3.8"
py-version = "3.9"
[tool.pylint.reports]
output-format = "colorized"
@ -46,7 +46,7 @@ disable = [
]
[tool.ruff]
target-version = "py38"
target-version = "py39"
src = ["src"]
exclude = []

View File

@ -26,11 +26,11 @@ setup_args = {
"license": "MIT",
"classifiers": [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
"packages": ["rapidfuzz", "rapidfuzz.distance", "rapidfuzz.__pyinstaller"],
@ -47,7 +47,7 @@ setup_args = {
"rapidfuzz": ["*.pyi", "py.typed", "__init__.pxd", "rapidfuzz.h"],
"rapidfuzz.distance": ["*.pyi"],
},
"python_requires": ">=3.8",
"python_requires": ">=3.9",
}