Skip to content

Commit 8c384ff

Browse files
committed
Drop Python 3.7 support
1 parent 1eca931 commit 8c384ff

File tree

8 files changed

+176
-174
lines changed

8 files changed

+176
-174
lines changed

.github/workflows/pre-release-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1717
name: integration-tests-against-rc
1818
runs-on: ubuntu-latest
1919
steps:

.github/workflows/pypi-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v4
1515
with:
16-
python-version: '3.7'
16+
python-version: '3.8'
1717
- name: Check release validity
1818
run: sh .github/scripts/check-release.sh
1919
- name: Install pipenv

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
20+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2121
name: integration-tests
2222
runs-on: ubuntu-latest
2323
steps:
@@ -42,10 +42,10 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- uses: actions/checkout@v3
45-
- name: Set up Python 3.7
45+
- name: Set up Python 3.8
4646
uses: actions/setup-python@v4
4747
with:
48-
python-version: 3.7
48+
python-version: "3.8"
4949
- name: Install pipenv
5050
run: |
5151
pip install pipx

Pipfile.lock

+167-163
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Say goodbye to server deployment and manual updates with [Meilisearch Cloud](htt
4747

4848
## 🔧 Installation
4949

50-
**Note**: Python 3.7+ is required.
50+
**Note**: Python 3.8+ is required.
5151

5252
With `pip3` in command line:
5353

bors.toml

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
status = [
22
'pylint',
33
'mypy',
4-
'integration-tests (3.7)',
54
'integration-tests (3.8)',
65
'integration-tests (3.9)',
76
'integration-tests (3.10)',

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "meilisearch"
77
description = "The python client for Meilisearch API."
88
license = { text = "MIT" }
9-
requires-python = ">=3.7"
9+
requires-python = ">=3.8"
1010
authors = [
1111
{ name = "Charlotte Vermandel", email = "charlotte@meilisearch.com" },
1212
]
@@ -17,7 +17,6 @@ keywords = [
1717
]
1818
classifiers = [
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.7",
2120
"Programming Language :: Python :: 3.8",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
@@ -48,7 +47,7 @@ Homepage = "https://github.com/meilisearch/meilisearch-python"
4847

4948
[tool.black]
5049
line-length = 100
51-
target-version = ['py37']
50+
target-version = ['py38']
5251
include = '\.pyi?$'
5352
extend-exclude = '''
5453
/(

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = pylint, mypy, py37, py38, py39, py310, py311
2+
envlist = pylint, mypy, py38, py39, py310, py311
33

44
[testenv:pylint]
55
whitelist_externals =

0 commit comments

Comments
 (0)