Skip to content

Commit ccf7e19

Browse files
bors[bot]sanders41
andauthored
Merge #578
578: Add support for python 3.11 r=alallema a=sanders41 # Pull Request ## Related issue Fixes #<issue_number> ## What does this PR do? - Python 3.11 was released yesterday. This PR adds 3.11 to the tests and adds 3.11 to the supported versions. - Bumped pytest from 7.1.3 to 7.2.0 to fix a compatibility issue with Python 3.11 ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Paul Sanders <[email protected]>
2 parents 252b8cd + 06f01e7 commit ccf7e19

File tree

5 files changed

+63
-7
lines changed

5 files changed

+63
-7
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
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"]
20+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
2121
name: integration-tests
2222
runs-on: ubuntu-latest
2323
steps:

Pipfile.lock

Lines changed: 58 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bors.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ status = [
44
'integration-tests (3.7)',
55
'integration-tests (3.8)',
66
'integration-tests (3.9)',
7-
'integration-tests (3.10)'
7+
'integration-tests (3.10)',
8+
'integration-tests (3.11)',
89
]
910
# 1 hour timeout
1011
timeout-sec = 3600

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.8",
2121
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
2324
"License :: OSI Approved :: MIT License",
2425
"Operating System :: OS Independent",
2526
]

tox.ini

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

44
[testenv:pylint]
55
whitelist_externals =

0 commit comments

Comments
 (0)