Skip to content

Commit

Permalink
Upgrade minimum Python version to 3.10 (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldiamant authored Apr 12, 2022
1 parent 4ec401f commit d26deaa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
container: python:${{ matrix.python }}-slim
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
python: ['3.10']
steps:
- run: python3 --version
- name: Check out code
Expand All @@ -31,7 +31,7 @@ jobs:
pytest
build-docset:
runs-on: ubuntu-20.04
container: python:3.9 # Needs `make`, can't be slim
container: python:3.10 # Needs `make`, can't be slim
steps:
- name: Check out code
uses: actions/checkout@v2
Expand All @@ -55,7 +55,7 @@ jobs:
path: docs/pyteal.docset.tar.gz
upload-to-pypi:
runs-on: ubuntu-20.04
container: python:3.9
container: python:3.10
needs: ['build-test']
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
version: 3.10
install:
- requirements: docs/requirements.txt
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ PyTeal provides high level, functional programming style abstractions over TEAL

### Install

PyTeal requires Python version >= 3.6.
PyTeal requires Python version >= 3.10.

To manage multiple Python versions use tooling like [pyenv](https://github.com/pyenv/pyenv).

#### Recommended: Install from PyPi

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"Operating System :: OS Independent",
],
package_data={"pyteal": ["*.pyi"]},
python_requires=">=3.6",
python_requires=">=3.10",
)

0 comments on commit d26deaa

Please sign in to comment.