RobertCraigie / pyright-python

Python command line wrapper for pyright, a static type checker
https://pypi.org/project/pyright/
MIT License
178 stars 22 forks source link

`there is a new pyright version available` when it is not (really) #235

Closed bersbersbers closed 11 months ago

bersbersbers commented 11 months ago

pyright 1.1.337 is out, and since CI pyright-python's CI failed, pyright-python is still at 1.1.336. No problem, we can simply

set PYRIGHT_PYTHON_FORCE_VERSION=1.1.337

However, then we get the weird warning

WARNING: there is a new pyright version available (v1.1.337 -> v1.1.336).
RobertCraigie commented 11 months ago

See comment here: https://github.com/RobertCraigie/pyright-python/blob/2a0e7bd4a2030e681957245394936b8fdbfe4d50/pyright/_utils.py#L96

Unless you're willing to contribute a fix, it's not worth me investing the time to handle this case especially as a complete solution is very involved.