-
-
Notifications
You must be signed in to change notification settings - Fork 348
Description
Im trying to switch from Python 3.12 to 3.14. I got no probs with 3.12.
Im using Windows and have Python 3.14.0 installed system wide (HKEY_LOCAL_MACHINE).
When im installing my project with hatch -vvv env create
i get the follwoing errors. The creation still works though.
I never used Python 3.13 nor it is installed. I hoped these errors go away with a newer hatch version. But still occurring with hatch 1.15.1. In pyproject.toml i set requires-python = ">=3.14". Im german and my last name contains "ü", 0xfc. Dont know if this is may related to the error.
D:\git\CRTITA>hatch -v env prune
Finished removing environment: default
D:\git\CRTITA>hatch -vvv env create
PEP-514 violation in Windows Registry at HKEY_CURRENT_USER/PythonCore/3.13/InstallPath error: missing
PEP-514 violation in Windows Registry at HKEY_CURRENT_USER/PythonCore/3.13/InstallPath error: missing
Exception in thread Thread-9 (_readerthread):
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\threading.py", line 1075, in _bootstrap_inner
self.run()
File "C:\Program Files\Python312\Lib\threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "C:\Program Files\Python312\Lib\subprocess.py", line 1601, in _readerthread
buffer.append(fh.read())
^^^^^^^^^
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 48: invalid start byte
Exception in thread Thread-11 (_readerthread):
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\threading.py", line 1075, in _bootstrap_inner
self.run()
File "C:\Program Files\Python312\Lib\threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "C:\Program Files\Python312\Lib\subprocess.py", line 1601, in _readerthread
buffer.append(fh.read())
^^^^^^^^^
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 48: invalid start byte
PEP-514 violation in Windows Registry at HKEY_CURRENT_USER/PythonCore/3.13/InstallPath error: missing
DEBUG uv 0.9.4 (88f519a3b 2025-10-18)
TRACE Checking shared lock for C:\Users\andreasdu\AppData\Local\uv\cache
at C:\Users\andreasdu\AppData\Local\uv\cache\.lock
DEBUG Acquired shared lock for C:\Users\andreasdu\AppData\Local\uv\cache
DEBUG Found project root: D:\git\CRTITA
DEBUG No workspace root found, using project root
DEBUG Using Python request C:\Program Files\Python314\python.exe
from explicit request
DEBUG Checking for Python interpreter at path C:\Program Files\Python314\python.exe
TRACE Found cached interpreter info for Python 3.14.0, skipping query of: C:\Program Files\Python314\python.exe
Using CPython 3.14.0 interpreter at: C:\Program Files\Python314\python.exe```