Skip to content

Commit

Permalink
Use a deprecation warning for a couple of months
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 21, 2024
1 parent 9f9b264 commit f3d9832
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setuptools/command/egg_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from setuptools.glob import glob

from setuptools.extern import packaging
from ..warnings import SetuptoolsWarning, SetuptoolsDeprecationWarning
from ..warnings import SetuptoolsDeprecationWarning


PY_MAJOR = '{}.{}'.format(*sys.version_info)
Expand Down Expand Up @@ -755,7 +755,7 @@ class EggInfoDeprecationWarning(SetuptoolsDeprecationWarning):
"""Deprecated behavior warning for EggInfo, bypassing suppression."""


class _CannotTagStaticVersion(SetuptoolsWarning):
class _CannotTagStaticVersion(SetuptoolsDeprecationWarning):
_SUMMARY = "Cannot modify `project.version` statically defined in `pyproject.toml`."

_DETAILS = """
Expand All @@ -772,5 +772,5 @@ class _CannotTagStaticVersion(SetuptoolsWarning):
"https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic"
)

_DUE_DATE = (2025, 5, 21) # Introduced in (2024, 5, 21)
_DUE_DATE = (2025, 1, 21) # Introduced in (2024, 5, 21)
# TODO: Bump for 6 months before converting to error, see #4372 for detailed plan.

0 comments on commit f3d9832

Please sign in to comment.