Skip to content

Conformance - document Python 3.11 requirement for pytype tests #1977

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Andrej730
Copy link
Contributor

Not sure if it's still required-required by pytype - I haven't investigated, but wanted to document as it is the current conformance requirement.

Source:

def run_tests(self, test_files: Sequence[str]) -> dict[str, str]:
# Specify 3.11 for now to work around the fact that pytype
# currently doesn't support 3.12 and emits an error when
# running on 3.12.
options = pytype_config.Options.create(python_version=(3, 11), quick=True)
loader = pytype_loader.create_loader(options)

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.

1 participant