From 9e4c6a76d4bcbd653a19f66a6b21c35595b9abaf Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Mon, 19 Aug 2024 09:48:03 +0000 Subject: [PATCH] Update URL to distutils configuration files docs (#6004) ## Summary The existing URL 404s: https://docs.python.org/3/install/index.html#distutils-configuration-files ...since the `/3/` route now resolves to Python 3.12, where `distutils` has been removed: https://docs.python.org/3.12/whatsnew/3.12.html#distutils The Python 3.11 docs are the most recent where the page still exists: https://docs.python.org/3.11/install/index.html#distutils-configuration-files ## Test Plan N/A --- crates/uv-virtualenv/src/_virtualenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv-virtualenv/src/_virtualenv.py b/crates/uv-virtualenv/src/_virtualenv.py index f5a028048..b812f3cc0 100644 --- a/crates/uv-virtualenv/src/_virtualenv.py +++ b/crates/uv-virtualenv/src/_virtualenv.py @@ -11,7 +11,7 @@ VIRTUALENV_PATCH_FILE = os.path.join(__file__) def patch_dist(dist): """ Distutils allows user to configure some arguments via a configuration file: - https://docs.python.org/3/install/index.html#distutils-configuration-files. + https://docs.python.org/3.11/install/index.html#distutils-configuration-files. Some of this arguments though don't make sense in context of the virtual environment files, let's fix them up. """ # noqa: D205