We should wait until a compatible version of Python3.13 is released (probably a beta).
Summary of changes
Use UTF-8 to write .pth files on Python 3.13
When reading .pth on Python 3.13 tries first UTF-8 and then fallback to locale (this is done to avoid errors caused by mixing installations created by different versions of setuptools in the same environment)
We should wait until a compatible version of Python3.13 is released (probably a beta).
Summary of changes
.pth
files on Python 3.13.pth
on Python 3.13 tries first UTF-8 and then fallback to locale (this is done to avoid errors caused by mixing installations created by different versions ofsetuptools
in the same environment)See reasoning in https://github.com/python/cpython/issues/77102
Closes
Pull Request Checklist
newsfragments/
. (See [documentation][PR docs] for details)[PR docs]: https://setuptools.pypa.io/en/latest/development/developer-guide.html#making-a-pull-request