Just had to switch away from an open source build yesterday because after updating, Pylance seems to have stopped working due to DRM. Whenever it booted up, it just displayed a big warning about how using it with non-MS-sanctioned builds is a violation of the license, and promptly locked up.

You can use pyright instead[0]. It is the FOSS version of pyright, but having some features missing.

[0]: https://github.com/microsoft/pyright