We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parente7a52e5 commit1093b07Copy full SHA for 1093b07
pipenv/patched/pip/_internal/index/package_finder.py
@@ -458,13 +458,8 @@ def get_applicable_candidates(
458
"""
459
Return the applicable candidates from a list of candidates.
460
461
-# Pipenv patch: When allow_all_prereleases is False, explicitly pass False
462
-# to prevent prereleases from being selected even when a dependency's
463
-# specifier contains a prerelease version (e.g., >=4.2.0rc1).
464
-# This ensures users don't get prerelease versions unless they explicitly
465
-# request them with --pre or allow_prereleases = true in Pipfile.
466
-# Original pip behavior uses None to infer from the specifier.
467
-allow_prereleases=self._allow_all_prereleases
+# Using None infers from the specifier instead.
+allow_prereleases=self._allow_all_prereleasesorNone
468
specifier=self._specifier
469
470
# We turn the version object into a str here because otherwise