Skip to content

fix: re-instating TYPE_CHECKING to address type-checking issues #5197

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

Closed
wants to merge 1 commit into from

Conversation

gvwilson
Copy link
Contributor

  1. Restore TYPE_CHECKING code clauses in codegen/__init__.py and codegen/utils.py that were removed in feat: modifying code generation to reduce bundle size #4978.
  2. Update requires-optional.txt to specify black==25.1.0 to be consistent with version specified in pyproject.toml.
  3. Change required Python version in pyproject.toml to 3.9 because desired version of black does not work with Python 3.8.

closes #5186

1.  Restore `TYPE_CHECKING` code clauses in `codegen/__init__.py` and `codegen/utils.py`
    that were removed in #4978.
1.  Update `requires-optional.txt` to specify `black==25.1.0` to be consistent with
    version specified in `pyproject.toml`.
1.  Change required Python version in `pyproject.toml` to 3.9 because desired version
    of `black` does not work with Python 3.8.

closes #5186
@gvwilson gvwilson added P1 needed for current cycle fix fixes something broken regression this used to work labels May 22, 2025
@gvwilson
Copy link
Contributor Author

closing in favor of split PRs.

@gvwilson gvwilson closed this May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix fixes something broken P1 needed for current cycle regression this used to work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v6.1.0 breaks Pylance highlighting and produces errors
2 participants