Stop the `__virtualname__` deprecation warning. Fixes #8221.
Merge pull request #8265 from s0undt3ch/develop

Stop the `__virtualname__` deprecation warning. Fixes #8221.