Now that sid has python 3.12, direnv displays the following output with
"layout python" in the .envrc:
$ cd ~/test-python-envrc
direnv: loading ~/test-python-envrc/.envrc
<string>:1: DeprecationWarning: 'pkgutil.find_loader' is deprecated and
slated for removal in Python 3.14; use importlib.util.find_spec() instead
direnv: export +VIRTUAL_ENV ~PATH
This has already been reported and fixed upstream:
https://github.com/direnv/direnv/issues/1177
The latest upstream release (2.34.0) has this change, so this can be
addressed by packaging the new release, or alternatively backporting the
commit attached to the upstream GitHub issue.
Thanks,
-Manish