This is a quick extra change to 3.1.0 which was released earlier today. It deprecates the __version__
attribute, to be removed in 3.2. Pallets projects in general are doing this to encourage feature detection or using the standard importlib.metadata.version(name)
instead.