diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5047865..927560b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 82aaf51..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: python -matrix: - include: - - python: "3.7" - env: TEST_SUITE=pytest - - python: "3.8" - env: TEST_SUITE=pytest - - python: "3.9" - env: TEST_SUITE=pytest - - python: "3.10" - env: TEST_SUITE=pytest - - python: "3.11-dev" - env: TEST_SUITE=pytest - - python: "pypy3.7-7.3.5" - env: TEST_SUITE="pytest test_thefuzz.py test_thefuzz_pytest.py" - - python: "3.10" - env: TEST_SUITE="python setup.py check --restructuredtext --strict --metadata" -install: - - pip install -U pip setuptools wheel - - pip install pytest pycodestyle docutils Pygments hypothesis -script: - - $TEST_SUITE -notifications: - on_success: always -cache: pip diff --git a/README.rst b/README.rst index 028244b..4df42c0 100644 --- a/README.rst +++ b/README.rst @@ -9,7 +9,7 @@ Fuzzy string matching like a boss. It uses `Levenshtein Distance `_ For testing @@ -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 diff --git a/setup.py b/setup.py index a3b0e1d..f3d59a0 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ 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=[ @@ -26,15 +26,15 @@ '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' ) diff --git a/tox.ini b/tox.ini index 7ca3cc0..24a8e6e 100644 --- a/tox.ini +++ b/tox.ini @@ -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]