Skip to content

Commit

Permalink
Merge pull request #62 from hugovk/add-3.12
Browse files Browse the repository at this point in the history
Add support for Python 3.12 and drop EOL 3.7
  • Loading branch information
johnthedebs committed Sep 27, 2023
2 parents ccffad3 + d5a422b commit 9d08b4a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 36 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
test-cmd: [pytest]
include:
- python-version: "3.7"
- python-version: "3.8"
test-cmd: python setup.py check --restructuredtext --strict --metadata
- python-version: "3.10"
- python-version: "3.11"
test-cmd: python setup.py check --restructuredtext --strict --metadata
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Fuzzy string matching like a boss. It uses `Levenshtein Distance <https://en.wik
Requirements
============

- Python 3.7 or higher
- Python 3.8 or higher
- `rapidfuzz <https://github.com/maxbachmann/RapidFuzz/>`_

For testing
Expand All @@ -21,14 +21,14 @@ For testing
Installation
============

Using PIP via PyPI
Using pip via PyPI

.. code:: bash
pip install thefuzz
Using PIP via Github
Using pip via GitHub

.. code:: bash
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
packages=['thefuzz'],
# keep for backwards compatibility of projects depending on `thefuzz[speedup]`
extras_require={'speedup': []},
install_requires= ['rapidfuzz>=3.0.0, < 4.0.0'],
install_requires=['rapidfuzz>=3.0.0, < 4.0.0'],
url='https://github.com/seatgeek/thefuzz',
license="GPLv2",
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'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 :: Only',
],
description='Fuzzy string matching in python',
long_description=long_description,
zip_safe=True,
python_requires='>=3.7'
python_requires='>=3.8'
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37, 38, 39, 310, 311, py3}
envlist = py{38, 39, 310, 311, 312, py3}
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit 9d08b4a

Please sign in to comment.