Skip to content

Upgrade minimum Python version to 3.10 #269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
)