I’m trying to make the docs for the first time in a long while. Running make venv in the Doc directory, I get this error:
(py314) ~/src/python/cpython/Doc% make venv
Creating venv in ./venv
Using CPython 3.14.5 interpreter at: /Users/skip/.local/bin/python3
Creating virtual environment at: ./venv
Activate with: source venv/bin/activate
error: Couldn't parse requirement in `pylock.toml` at position 78
Caused by: no such comparison operator "=", must be one of ~= == != <= >= < > ===
lock-version = "1.0"
^^^^^^^
make: *** [venv] Error 2
Looking at the referenced file, I see this at the top:
# This file was autogenerated by uv via the following command:
# make lock
lock-version = "1.0"
created-by = "uv"
requires-python = ">=3.12"
That doesn’t look like the equals sign is used as a comparison operator. What am I missing?
Not knowing any better, I peeked at Doc/Makefile. I see it’s trying to use uv to create the virtual environment. I’ve never used that tool directly. uv --version produces this output: