Skip to content

Commit 8fff70c

Browse files
committed
Add support for Python 3.11
1 parent fa64151 commit 8fff70c

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Repository
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v2
1212
- name: Set up Python
13-
uses: actions/setup-python@v3
13+
uses: actions/setup-python@v4
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.11"
1616
- name: Install dependencies
1717
run: |
1818
python3 -m pip install setuptools wheel twine
@@ -28,11 +28,11 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout Repository
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v2
3232
- name: Set up Python
33-
uses: actions/setup-python@v3
33+
uses: actions/setup-python@v4
3434
with:
35-
python-version: "3.10"
35+
python-version: "3.11"
3636
- name: Install dependencies
3737
run: |
3838
python3 -m pip install nox
@@ -43,11 +43,11 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Checkout Repository
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v2
4747
- name: Set up Python
48-
uses: actions/setup-python@v3
48+
uses: actions/setup-python@v4
4949
with:
50-
python-version: "3.10"
50+
python-version: "3.11"
5151
- name: Install dependencies
5252
run: |
5353
python3 -m pip install nox
@@ -66,24 +66,25 @@ jobs:
6666
"3.8",
6767
"3.9",
6868
"3.10",
69+
"3.11",
6970
]
7071
es-version: [7.0.0, 7.10.0]
7172

7273
steps:
7374
- name: Checkout Repository
74-
uses: actions/checkout@v3
75+
uses: actions/checkout@v2
7576
- name: Setup Elasticsearch
7677
run: |
7778
mkdir /tmp/elasticsearch
7879
wget -O - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${{ matrix.es-version }}-linux-x86_64.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
7980
/tmp/elasticsearch/bin/elasticsearch -d
8081
- name: Setup Python - ${{ matrix.python-version }}
81-
uses: actions/setup-python@v3
82+
uses: actions/setup-python@v4
8283
with:
8384
python-version: ${{ matrix.python-version }}
8485
- name: Set up Python for Nox
85-
if: matrix.python-version != '3.10'
86-
uses: actions/setup-python@v3
86+
if: matrix.python-version != '3.11'
87+
uses: actions/setup-python@v4
8788
with:
8889
python-version: 3
8990
- name: Install dependencies

noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"3.8",
3636
"3.9",
3737
"3.10",
38+
"3.11",
3839
]
3940
)
4041
def test(session):

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"Programming Language :: Python :: 3.8",
7070
"Programming Language :: Python :: 3.9",
7171
"Programming Language :: Python :: 3.10",
72+
"Programming Language :: Python :: 3.11",
7273
"Programming Language :: Python :: Implementation :: CPython",
7374
"Programming Language :: Python :: Implementation :: PyPy",
7475
],

0 commit comments

Comments
 (0)