Skip to content

Commit 9fec072

Browse files
authored
Merge pull request #115 from pinecone-io/update-supported-py-versions
update supported py versions + fix tox version
2 parents c02b096 + adb15e4 commit 9fec072

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/pr.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9]
11+
python-version: [3.7, 3.8, 3.9, '3.10', 3.11]
1212

1313
steps:
1414
- uses: actions/checkout@v1
@@ -20,7 +20,8 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
23-
pip install tox tox-gh-actions
23+
pip install tox==3.27.0
24+
pip install tox tox-gh-actions==2.10.0
2425
2526
- name: Run tests
2627
run: make tests TOX_PARALLEL_NO_SPINNER=1

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ develop:
1111

1212
tests:
1313
# skipping flake8 for now
14-
pip3 install --upgrade --quiet tox && TOX_SKIP_ENV='flake|docs' tox
14+
pip3 install --upgrade --quiet tox==3.27.0 && TOX_SKIP_ENV='flake|docs' tox
1515

1616
version:
1717
python3 setup.py --version

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pytest==6.2.4
22
pytest-asyncio==0.15.1
33
pytest-cov==2.10.1
44
pytest-mock==3.6.1
5-
tox==3.20.1
5+
tox==3.27.0
66
pytest-timeout==1.4.2
77
urllib3_mock==0.3.3
88
responses>0.9.0

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ commands =
2121

2222
[gh-actions]
2323
python =
24-
3.6: py36
2524
3.7: py37
2625
3.8: py38
2726
3.9: py39
27+
'3.10': py310
28+
3.11: py311
2829

2930
[flake8]
3031
max-line-length = 120

0 commit comments

Comments
 (0)