Skip to content

Commit 470cb9f

Browse files
committed
Add support for Python 3.11
1 parent fa64151 commit 470cb9f

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
- name: Checkout Repository
1111
uses: actions/checkout@v3
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
@@ -30,9 +30,9 @@ jobs:
3030
- name: Checkout Repository
3131
uses: actions/checkout@v3
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
@@ -45,9 +45,9 @@ jobs:
4545
- name: Checkout Repository
4646
uses: actions/checkout@v3
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,6 +66,7 @@ jobs:
6666
"3.8",
6767
"3.9",
6868
"3.10",
69+
"3.11",
6970
]
7071
es-version: [7.0.0, 7.10.0]
7172

@@ -78,12 +79,12 @@ jobs:
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)