diff --git a/.github/workflows/extensive-tests.yml b/.github/workflows/extensive-tests.yml index 31970a1..f52df20 100644 --- a/.github/workflows/extensive-tests.yml +++ b/.github/workflows/extensive-tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python: ["3.9", "3.10", "3.11", "3.12", "3.13"] include: - os: ubuntu-latest test: make test diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index 8ce55a5..49c64dc 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -36,15 +36,15 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-11, windows-2019] + os: [macos-12, windows-2019] arch: [auto64] - build: ["cp{38,39,310,311,312}-*"] + build: ["cp{39,310,311,312,313}-*"] include: - os: ubuntu-latest arch: auto64 type: manylinux1 - build: "cp{38,39}-*" + build: "cp39-*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 - os: ubuntu-latest @@ -56,22 +56,22 @@ jobs: - os: ubuntu-latest arch: auto64 type: manylinux2014 - build: "cp{311,312}-*" + build: "cp{311,312,313}-*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 - os: macos-latest arch: universal2 - build: "cp{38,39,310,311,312}-*" + build: "cp{39,310,311,312,313}-*" - os: windows-latest arch: auto64 - build: "cp{38,39,310,311,312}-*" + build: "cp{39,310,311,312,313}-*" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build wheels and run tests - uses: pypa/cibuildwheel@v2.17.0 + uses: pypa/cibuildwheel@v2.21.3 env: CIBW_BUILD: ${{ matrix.build }} CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }} @@ -83,16 +83,16 @@ jobs: CIBW_SKIP: "pp*" - name: Collect built wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: wheelhouse/*.whl build_sdist: name: Build source distribution - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Checkout and install reqs run: | @@ -104,7 +104,7 @@ jobs: twine check dist/* - name: Collect built sdist - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: dist/*.tar.gz @@ -118,17 +118,17 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019, windows-2022] - python: ["3.8", "3.9", "3.10", "3.11", "3.12"] + os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13, windows-2019, windows-2022] + python: ["3.9", "3.10", "3.11", "3.12", "3.13"] build_type: ["AHOCORASICK_UNICODE", "AHOCORASICK_BYTES"] steps: - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "${{ matrix.python }}" - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build, install and test run: > diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3a79ca3..20a2cea 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,12 +2,20 @@ Changelog ============= +2.2.0 (2024-10-21) +-------------------------------------------------- + +- Drop support for Python 3.8. Use older version for pre-built wheels. + Note that it may work on these older verions, we are just no longer supporting + and testing these Python versions, as this is end of life + +- Add support for Python 3.13 2.1.0 (2024-03-21) -------------------------------------------------- - Drop support for Python 3.6 and 3.7. Use older version for pre-built wheels. - Note that it may work on these older veriosn, we are just no longer supporting + Note that it may work on these older verions, we are just no longer supporting and testing these Python versions - Add support for Python 3.12 diff --git a/README.rst b/README.rst index 0c08af3..a2f2453 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,7 @@ of time and saved (as a pickle) to disk to reload and reuse later. The library provides an `ahocorasick` Python module that you can use as a plain dict-like Trie or convert a Trie to an automaton for efficient Aho-Corasick search. -**pyahocorasick** is implemented in C and tested on Python 3.8 and up. +**pyahocorasick** is implemented in C and tested on Python 3.9 and up. It works on 64 bits Linux, macOS and Windows. The license_ is BSD-3-Clause. Some utilities, such as tests and the pure Python diff --git a/setup.py b/setup.py index b8d59a0..0a490a8 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ def get_long_description(): setup( name="pyahocorasick", - version="2.1.0", + version="2.2.0", ext_modules=[module], description=( @@ -125,5 +125,5 @@ def get_long_description(): extras_require={ "testing": ["pytest", "twine", "setuptools", "wheel", ], }, - python_requires=">=3.8", + python_requires=">=3.9", )