diff options
-rw-r--r-- | setuptools/__init__.py | 2 | ||||
-rw-r--r-- | setuptools/build_meta.py | 2 | ||||
-rw-r--r-- | setuptools/command/bdist_rpm.py | 2 | ||||
-rw-r--r-- | setuptools/command/dist_info.py | 2 | ||||
-rw-r--r-- | setuptools/command/egg_info.py | 4 | ||||
-rw-r--r-- | setuptools/command/upload_docs.py | 2 | ||||
-rw-r--r-- | setuptools/config/_apply_pyprojecttoml.py | 4 | ||||
-rw-r--r-- | setuptools/config/pyprojecttoml.py | 2 | ||||
-rw-r--r-- | setuptools/dist.py | 6 | ||||
-rw-r--r-- | setuptools/package_index.py | 2 |
10 files changed, 14 insertions, 14 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 6dceab5b..35d7bd1c 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -257,7 +257,7 @@ def convert_path(pathname): Its direct usage by 3rd-party packages is considered improper and the function may be removed in the future. """, - due_date=(2023, 11, 25) # initial deprecation 2022-03-25, see #3201 + due_date=(2023, 12, 13) # initial deprecation 2022-03-25, see #3201 ) return _convert_path(pathname) diff --git a/setuptools/build_meta.py b/setuptools/build_meta.py index c620d695..3dfd6670 100644 --- a/setuptools/build_meta.py +++ b/setuptools/build_meta.py @@ -306,7 +306,7 @@ class _ConfigSettingsTranslator: Please use `--build-option` instead, `--global-option` is reserved to flags like `--verbose` or `--quiet`. """, - due_date=(2023, 8, 11), # Warning introduced in v64.0.1, 11/Aug/2022. + due_date=(2023, 9, 26), # Warning introduced in v64.0.1, 11/Aug/2022. ) diff --git a/setuptools/command/bdist_rpm.py b/setuptools/command/bdist_rpm.py index e9e5c1b6..047a6d08 100644 --- a/setuptools/command/bdist_rpm.py +++ b/setuptools/command/bdist_rpm.py @@ -20,7 +20,7 @@ class bdist_rpm(orig.bdist_rpm): Use bdist_wheel (wheel packages) instead. """, see_url="https://github.com/pypa/setuptools/issues/1988", - due_date=(2023, 10, 22) # Deprecation introduced in 22 Oct 2021. + due_date=(2023, 10, 30) # Deprecation introduced in 22 Oct 2021. ) # ensure distro name is up-to-date diff --git a/setuptools/command/dist_info.py b/setuptools/command/dist_info.py index 69d331fb..99d3976d 100644 --- a/setuptools/command/dist_info.py +++ b/setuptools/command/dist_info.py @@ -50,7 +50,7 @@ class dist_info(Command): def finalize_options(self): if self.egg_base: msg = "--egg-base is deprecated for dist_info command. Use --output-dir." - SetuptoolsDeprecationWarning.emit(msg, due_date=(2023, 8, 23)) + SetuptoolsDeprecationWarning.emit(msg, due_date=(2023, 9, 26)) # This command is internal to setuptools, therefore it should be safe # to remove the deprecated support soon. self.output_dir = self.egg_base or self.output_dir diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 8063cea6..f5163ae7 100644 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -338,7 +338,7 @@ class egg_info(InfoCommon, Command): Please rename {bei!r} to {self.egg_info!r} to correct this problem. """, - due_date=(2023, 9, 1), + due_date=(2023, 6, 1), # Old warning, introduced in 2005, might be safe to remove soon ) self.broken_egg_info = self.egg_info @@ -714,7 +714,7 @@ def warn_depends_obsolete(cmd, basename, filename): Configure your dependencies via `setup.cfg` or `pyproject.toml` instead. """, see_docs="userguide/declarative_config.html", - due_date=(2023, 9, 1), + due_date=(2023, 6, 1), # Old warning, introduced in 2005, it might be safe to remove soon. ) diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py index dddde609..077c9d2f 100644 --- a/setuptools/command/upload_docs.py +++ b/setuptools/command/upload_docs.py @@ -97,7 +97,7 @@ class upload_docs(upload): Instead, use tools like devpi and Read the Docs; or lower level tools like httpie and curl to interact directly with your hosting service API. """, - due_date=(2023, 9, 27), # warning introduced in 27 Jul 2022 + due_date=(2023, 9, 26), # warning introduced in 27 Jul 2022 ) # Run sub commands diff --git a/setuptools/config/_apply_pyprojecttoml.py b/setuptools/config/_apply_pyprojecttoml.py index 4556019e..b11be0e3 100644 --- a/setuptools/config/_apply_pyprojecttoml.py +++ b/setuptools/config/_apply_pyprojecttoml.py @@ -327,7 +327,7 @@ TOOL_TABLE_RENAMES = {"script_files": "scripts"} TOOL_TABLE_DEPRECATIONS = { "namespace_packages": ( "consider using implicit namespaces instead (PEP 420).", - {"due_date": (2023, 10, 15)}, # warning introduced in May 2022 + {"due_date": (2023, 10, 30)}, # warning introduced in May 2022 ) } @@ -377,4 +377,4 @@ class _WouldIgnoreField(SetuptoolsDeprecationWarning): remove the `[project]` table from your file and rely entirely on other means of configuration. """ - _DUE_DATE = (2023, 10, 27) # Initially introduced in 27 May 2022 + _DUE_DATE = (2023, 10, 30) # Initially introduced in 27 May 2022 diff --git a/setuptools/config/pyprojecttoml.py b/setuptools/config/pyprojecttoml.py index c340121c..8d1dcaed 100644 --- a/setuptools/config/pyprojecttoml.py +++ b/setuptools/config/pyprojecttoml.py @@ -492,5 +492,5 @@ class _InvalidFile(SetuptoolsWarning): To prevent setuptools from considering `pyproject.toml` please DO NOT include both `[project]` or `[tool.setuptools]` tables in your file. """ - _DUE_DATE = (2023, 4, 26) # warning introduced in 2022-03-26 + _DUE_DATE = (2023, 6, 1) # warning introduced in 2022-03-26 _SEE_DOCS = "userguide/pyproject_config.html" diff --git a/setuptools/dist.py b/setuptools/dist.py index 6ecb29a1..5b4a9cb6 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -55,7 +55,7 @@ def _get_unpatched(cls): DistDeprecationWarning.emit( "Private function", "Do not call this function", - due_date=(2023, 7, 9), + due_date=(2023, 6, 1), # Warning initially introduced in 2016 ) return get_unpatched(cls) @@ -804,7 +804,7 @@ class Distribution(_Distribution): versions. Please use the underscore name {underscore_opt!r} instead. """, see_docs="userguide/declarative_config.html", - due_date=(2023, 9, 10), + due_date=(2023, 9, 26), # Warning initially introduced in 3 Mar 2021 ) return underscore_opt @@ -828,7 +828,7 @@ class Distribution(_Distribution): future versions. Please use lowercase {lowercase_opt!r} instead """, see_docs="userguide/declarative_config.html", - due_date=(2023, 9, 10), + due_date=(2023, 9, 26), # Warning initially introduced in 6 Mar 2021 ) return lowercase_opt diff --git a/setuptools/package_index.py b/setuptools/package_index.py index d6ba207a..06b78ac6 100644 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -871,7 +871,7 @@ class PackageIndex(Environment): SetuptoolsDeprecationWarning.emit( "Invalid config", f"SVN download support is deprecated: {url}", - due_date=(2023, 10, 23), # Initially introduced in 23 Sept 2018 + due_date=(2023, 6, 1), # Initially introduced in 23 Sept 2018 ) url = url.split('#', 1)[0] # remove any fragment for svn's sake creds = '' |