Skip to content

Commit

Permalink
Merge pull request #12332 from sbidoul/postpone-legacy-version-removal
Browse files Browse the repository at this point in the history
Postpone deprecation of legacy versions and specifiers
  • Loading branch information
sbidoul authored Oct 9, 2023
2 parents f53f04d + 76a8c0f commit 441891c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pip/_internal/operations/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def warn_legacy_versions_and_specifiers(package_set: PackageSet) -> None:
f"release a version with a conforming version number"
),
issue=12063,
gone_in="23.3",
gone_in="24.0",
)
for dep in package_details.dependencies:
if any(isinstance(spec, LegacySpecifier) for spec in dep.specifier):
Expand All @@ -183,5 +183,5 @@ def warn_legacy_versions_and_specifiers(package_set: PackageSet) -> None:
f"release a version with a conforming dependency specifiers"
),
issue=12063,
gone_in="23.3",
gone_in="24.0",
)
4 changes: 2 additions & 2 deletions src/pip/_internal/req/req_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def warn_legacy_versions_and_specifiers(self) -> None:
"or contact the package author to fix the version number"
),
issue=12063,
gone_in="23.3",
gone_in="24.0",
)
for dep in req.get_dist().iter_dependencies():
if any(isinstance(spec, LegacySpecifier) for spec in dep.specifier):
Expand All @@ -115,5 +115,5 @@ def warn_legacy_versions_and_specifiers(self) -> None:
"or contact the package author to fix the version number"
),
issue=12063,
gone_in="23.3",
gone_in="24.0",
)

0 comments on commit 441891c

Please sign in to comment.