Skip to content

Commit d26deaa

Browse files
Upgrade minimum Python version to 3.10 (#269)
1 parent 4ec401f commit d26deaa

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
container: python:${{ matrix.python }}-slim
1313
strategy:
1414
matrix:
15-
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
15+
python: ['3.10']
1616
steps:
1717
- run: python3 --version
1818
- name: Check out code
@@ -31,7 +31,7 @@ jobs:
3131
pytest
3232
build-docset:
3333
runs-on: ubuntu-20.04
34-
container: python:3.9 # Needs `make`, can't be slim
34+
container: python:3.10 # Needs `make`, can't be slim
3535
steps:
3636
- name: Check out code
3737
uses: actions/checkout@v2
@@ -55,7 +55,7 @@ jobs:
5555
path: docs/pyteal.docset.tar.gz
5656
upload-to-pypi:
5757
runs-on: ubuntu-20.04
58-
container: python:3.9
58+
container: python:3.10
5959
needs: ['build-test']
6060
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
6161
steps:

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ formats: all
1818

1919
# Optionally set the version of Python and requirements required to build your docs
2020
python:
21-
version: 3.7
21+
version: 3.10
2222
install:
2323
- requirements: docs/requirements.txt

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ PyTeal provides high level, functional programming style abstractions over TEAL
1818

1919
### Install
2020

21-
PyTeal requires Python version >= 3.6.
21+
PyTeal requires Python version >= 3.10.
22+
23+
To manage multiple Python versions use tooling like [pyenv](https://github.com/pyenv/pyenv).
2224

2325
#### Recommended: Install from PyPi
2426

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
"Operating System :: OS Independent",
2323
],
2424
package_data={"pyteal": ["*.pyi"]},
25-
python_requires=">=3.6",
25+
python_requires=">=3.10",
2626
)

0 commit comments

Comments
 (0)