Skip to content

Comments

[ty] Update docs for Python version inference#18397

Merged
AlexWaygood merged 1 commit intomainfrom
alex/pyversion-docs
May 30, 2025
Merged

[ty] Update docs for Python version inference#18397
AlexWaygood merged 1 commit intomainfrom
alex/pyversion-docs

Conversation

@AlexWaygood
Copy link
Member

Summary

Following #18057, we now infer the Python version from the user's virtual environment if it's possible to do so and the user has not configured a Python version explicitly. I forgot to update the docs.

Test Plan

cargo dev generate-all

@AlexWaygood AlexWaygood added the documentation Improvements or additions to documentation label May 30, 2025
@AlexWaygood AlexWaygood requested a review from carljm as a code owner May 30, 2025 21:42
@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label May 30, 2025
@github-actions
Copy link
Contributor

mypy_primer results

No ecosystem changes detected ✅

@AlexWaygood AlexWaygood merged commit b390b3c into main May 30, 2025
33 of 34 checks passed
@AlexWaygood AlexWaygood deleted the alex/pyversion-docs branch May 30, 2025 21:45
dcreager added a commit that referenced this pull request Jun 2, 2025
…aration

* origin/main:
  [ty] Treat lambda functions as instances of types.FunctionType (#18431)
  [ty] Fix false positives for legacy `ParamSpec`s inside `Callable` type expressions (#18426)
  [ty] Improve diagnostics if the user attempts to import a stdlib module that does not exist on their configured Python version (#18403)
  Update taiki-e/install-action action to v2.52.4 (#18420)
  Update docker/build-push-action action to v6.18.0 (#18422)
  [ty] Fix server hang after shutdown request (#18414)
  Update Rust crate libcst to v1.8.0 (#18424)
  Update Rust crate clap to v4.5.39 (#18419)
  Update cargo-bins/cargo-binstall action to v1.12.6 (#18416)
  Update dependency mdformat-mkdocs to v4.3.0 (#18421)
  Update pre-commit dependencies (#18418)
  Update dependency ruff to v0.11.12 (#18417)
  [ty] Ensure `Literal` types are considered assignable to anything their `Instance` supertypes are assignable to (#18351)
  [ty] Promote projects to good that now no longer hang (#18370)
  Sync vendored typeshed stubs (#18407)
  [ty] Fix multithreading related hangs and panics (#18238)
  Support relative `--ty-path` in ty-benchmark (#18385)
  [ty] Update docs for Python version inference (#18397)
  [ty] Infer the Python version from the environment if feasible (#18057)
  Implement template strings (#17851)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants