Skip to content

Commit

Permalink
Add note on change in pre-release behavior from Packaging 24.2
Browse files Browse the repository at this point in the history
  • Loading branch information
notatallshaw committed Jan 13, 2025
1 parent cb56edb commit 679deb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions news/13163.feature.rst
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 679deb7

Please sign in to comment.