Skip to content

Remove latest version warning #302

@RobertCraigie

Description

@RobertCraigie

I suspect the latest version warning has caused more pain than usefulness, for a couple of reasons.

  • It's caused issues with flags like --outputjson which have since been fixed but it's a bit of a whack-a-mole situation and I wouldn't be surprised if other issues crop up in the future.
  • It makes the CLI slower, ~200ms on my machine which isn't too bad but it would be much slower if the user is on a slow network

Obviously with features like this one it's very hard, if not impossible, to actually judge how many people this has positively impacted. As such, I'm proposing removing the latest version warning log and if there is an uptick in pyright issues reported by users on an old version, we can consider adding it back in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions