Skip to content
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

Bump up minimum Python version to 3.10 #313

Merged
merged 5 commits into from
Apr 19, 2022

Conversation

algochoi
Copy link
Contributor

This PR deletes the outdated travis configurations, and updates the python_requires version from 3.5 to 3.10. It also updates the Circle/Docker image Python versions to 3.10.x as well.

Currently, the minimum Python version supported by pynacl, one of our dependencies, is 3.6. It makes sense for our SDK to move to a higher version as well. Since PyTeal depends on this repo, we should also bump up the minimum Python version there too.

Closes #300

@@ -1,3 +1,3 @@
sphinx==4.0.1
sphinx==4.2.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sphinx 4.2.0 is the first version that seems to work with Python 3.10, see discussion here

Copy link
Contributor

@michaeldiamant michaeldiamant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@algochoi Thanks for the effort to bump the minimum Python version.

Take my approval with a grain of salt due to my lack of py-algorand-sdk experience. Here's what I checked:

Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Copy link
Contributor

@michaeldiamant michaeldiamant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@algochoi Sorry for the late change, but I dismissed my approval due to algorand/pyteal#276.

Let's wait until algorand/pyteal#276 is merged to confirm our understanding.

It feels like the repo ought to define a .readthedocs.yaml. I don't (yet) have a readthedocs login, so I don't know what web configurations exist. And it seems preferable to rely on a local, versioned config.

Co-authored-by: Michael Diamant <michaeldiamant@users.noreply.github.com>
Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readthedocs changes look good

Copy link
Contributor

@michaeldiamant michaeldiamant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@algochoi Thanks for the effort here to bring py-algorand-sdk up to Python 3.10! ☕

@algochoi algochoi merged commit 006b3a0 into develop Apr 19, 2022
@algochoi algochoi deleted the algochoi/bump-python-version branch April 19, 2022 18:16
michaeldiamant added a commit that referenced this pull request Apr 20, 2022
michaeldiamant added a commit that referenced this pull request Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade minimum Python version to 3.10
3 participants