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

Upgrade minimum Python version to 3.10 #244

Closed
michaeldiamant opened this issue Mar 11, 2022 · 1 comment
Closed

Upgrade minimum Python version to 3.10 #244

michaeldiamant opened this issue Mar 11, 2022 · 1 comment
Assignees
Labels
new-feature-request Feature request that needs triage Team Scytale

Comments

@michaeldiamant
Copy link
Contributor

Problem

Though PyTeal minimally supports Python 3.6, on-going effort (#222) requires access to Python 3.8.

Since a version bump is required, we'd like to use the opportunity to move to the newest minor version: 3.10 (released 10/2021).

  • Rationale: Newer language facilities simplify maintaining PyTeal.
  • Underlying assumption: It's straightforward for PyTeal developers to configure a functioning PyTeal environment by configuring a project-specific Python version.

Solution

We'll need to do the following:

  • Provide advance community notice about the upcoming change.
  • Update the build to reflect the change in minimum Python version.
  • For PyTeal developer convenience, document how to configure a project-specific Python version.

Dependencies

Provide sufficient notice for the community to hear about the pending change.

Urgency

Minimally bumping to Python 3.8 is needed to release #185.

@algochoi
Copy link
Contributor

We should also try to update the black version to 22.3.0 - it is the latest stable version (we pinned it down to a beta version before this) and should reformat our code with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature-request Feature request that needs triage Team Scytale
Projects
None yet
Development

No branches or pull requests

2 participants