Skip to content

Commit e91a2a9

Browse files
authored
Bump the latest Python version used in tests to 3.11 (#631)
1 parent edd8429 commit e91a2a9

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/coverage_runner.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: Run tests with Python ${{ matrix.python-version }} on ${{ matrix.os }}
3838
strategy:
3939
matrix:
40-
python-version: [ '3.6', '3.10' ]
40+
python-version: [ '3.6', '3.11' ]
4141
os: [ ubuntu-20.04, windows-latest ]
4242
fail-fast: false
4343

@@ -79,20 +79,20 @@ jobs:
7979
run: python run_tests.py
8080

8181
- name: Publish results to Codecov for PR coming from hazelcast organization
82-
if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-20.04' && github.event_name == 'pull_request_target' }}
82+
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-20.04' && github.event_name == 'pull_request_target' }}
8383
uses: codecov/codecov-action@v1
8484
with:
8585
files: ./coverage.xml
8686
override_pr: ${{ github.event.pull_request.number }}
8787

8888
- name: Publish results to Codecov for Push
89-
if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-20.04' && github.event_name == 'push' }}
89+
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-20.04' && github.event_name == 'push' }}
9090
uses: codecov/codecov-action@v1
9191
with:
9292
files: ./coverage.xml
9393

9494
- name: Publish result to Codecov for PR coming from community
95-
if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-20.04' && github.event_name == 'workflow_dispatch' }}
95+
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-20.04' && github.event_name == 'workflow_dispatch' }}
9696
uses: codecov/codecov-action@v1
9797
with:
9898
files: ./coverage.xml

.github/workflows/linter_docs_mypy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Python
1717
uses: actions/setup-python@v2
1818
with:
19-
python-version: '3.10'
19+
python-version: '3.11'
2020

2121
- name: Checkout to code
2222
uses: actions/checkout@v2
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Python
3737
uses: actions/setup-python@v2
3838
with:
39-
python-version: '3.10'
39+
python-version: '3.11'
4040

4141
- name: Checkout to code
4242
uses: actions/checkout@v2
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setup Python
5858
uses: actions/setup-python@v2
5959
with:
60-
python-version: '3.10'
60+
python-version: '3.11'
6161

6262
- name: Checkout to code
6363
uses: actions/checkout@v2

.github/workflows/nightly_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Run tests with Python ${{ matrix.python-version }} on ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.9']
12+
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.9']
1313
os: [ ubuntu-20.04, windows-latest ]
1414
exclude:
1515
- os: windows-latest

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"Programming Language :: Python :: 3.8",
4141
"Programming Language :: Python :: 3.9",
4242
"Programming Language :: Python :: 3.10",
43+
"Programming Language :: Python :: 3.11",
4344
"Programming Language :: Python :: Implementation :: CPython",
4445
"Topic :: Software Development :: Libraries :: Python Modules",
4546
],

0 commit comments

Comments
 (0)