Skip to content

Drop Python 3.7 support #788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
name: integration-tests-against-rc
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.8'
- name: Check release validity
run: sh .github/scripts/check-release.sh
- name: Install pipenv
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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"]
name: integration-tests
runs-on: ubuntu-latest
steps:
Expand All @@ -42,10 +42,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: "3.8"
- name: Install pipenv
run: |
pip install pipx
Expand Down
330 changes: 167 additions & 163 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Say goodbye to server deployment and manual updates with [Meilisearch Cloud](htt

## 🔧 Installation

**Note**: Python 3.7+ is required.
**Note**: Python 3.8+ is required.

With `pip3` in command line:

Expand Down
1 change: 0 additions & 1 deletion bors.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
status = [
'pylint',
'mypy',
'integration-tests (3.7)',
'integration-tests (3.8)',
'integration-tests (3.9)',
'integration-tests (3.10)',
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "meilisearch"
description = "The python client for Meilisearch API."
license = { text = "MIT" }
requires-python = ">=3.7"
requires-python = ">=3.8"
authors = [
{ name = "Charlotte Vermandel", email = "[email protected]" },
]
Expand All @@ -17,7 +17,6 @@ keywords = [
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -48,7 +47,7 @@ Homepage = "https://github.com/meilisearch/meilisearch-python"

[tool.black]
line-length = 100
target-version = ['py37']
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = pylint, mypy, py37, py38, py39, py310, py311
envlist = pylint, mypy, py38, py39, py310, py311

[testenv:pylint]
whitelist_externals =
Expand Down