From 1e9d2f9fc02a2702ddcbc2b3994966e844b02af1 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Fri, 15 Mar 2024 16:13:15 -0700 Subject: [PATCH] Recommend newer Python versions to avoid race --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 6600c8c..64b3d9c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ For a more detailed discussion, see [the SPEC](https://scientific-python.org/spe pip install -U lazy_loader ``` +We recommend using `lazy_loader` with Python >= 3.11. +If using Python 3.11, please upgrade to 3.11.9 or later. +If using Python 3.12, please upgrade to 3.12.3 or later. +These versions [avoid](https://github.com/python/cpython/pull/114781) a [known race condition](https://github.com/python/cpython/issues/114763). + ## Usage ### Lazily load subpackages