From 679deb778fb815e5ce2742b0c40fb658828f501d Mon Sep 17 00:00:00 2001 From: Damian Shaw Date: Mon, 13 Jan 2025 07:45:34 -0500 Subject: [PATCH] Add note on change in pre-release behavior from Packaging 24.2 --- news/13163.feature.rst | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 news/13163.feature.rst diff --git a/news/13163.feature.rst b/news/13163.feature.rst new file mode 100644 index 00000000000..8d5709d230c --- /dev/null +++ b/news/13163.feature.rst @@ -0,0 +1,5 @@ +Note: Packaging 24.2 changes how pre-release specifiers with ``<`` and ``>`` +behave. Including a pre-release version with these specifiers now implies +accepting pre-releases (e.g., ``<2.0dev`` can include ``1.0rc1``). To avoid +implying pre-releases, avoid specifying them (e.g., use ``<2.0``). +The exception is ``!=``, which never implies pre-releases.