Skip to content

Commit bd04fc6

Browse files
committed
Cluster deprecations due_date
1 parent 529efe7 commit bd04fc6

10 files changed

+14
-14
lines changed

setuptools/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def convert_path(pathname):
257257
Its direct usage by 3rd-party packages is considered improper and the function
258258
may be removed in the future.
259259
""",
260-
due_date=(2023, 11, 25) # initial deprecation 2022-03-25, see #3201
260+
due_date=(2023, 12, 13) # initial deprecation 2022-03-25, see #3201
261261
)
262262
return _convert_path(pathname)
263263

setuptools/build_meta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def _arbitrary_args(self, config_settings: _ConfigSettings) -> Iterator[str]:
306306
Please use `--build-option` instead,
307307
`--global-option` is reserved to flags like `--verbose` or `--quiet`.
308308
""",
309-
due_date=(2023, 8, 11), # Warning introduced in v64.0.1, 11/Aug/2022.
309+
due_date=(2023, 9, 26), # Warning introduced in v64.0.1, 11/Aug/2022.
310310
)
311311

312312

setuptools/command/bdist_rpm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def run(self):
2020
Use bdist_wheel (wheel packages) instead.
2121
""",
2222
see_url="https://github.com/pypa/setuptools/issues/1988",
23-
due_date=(2023, 10, 22) # Deprecation introduced in 22 Oct 2021.
23+
due_date=(2023, 10, 30) # Deprecation introduced in 22 Oct 2021.
2424
)
2525

2626
# ensure distro name is up-to-date

setuptools/command/dist_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def initialize_options(self):
5050
def finalize_options(self):
5151
if self.egg_base:
5252
msg = "--egg-base is deprecated for dist_info command. Use --output-dir."
53-
SetuptoolsDeprecationWarning.emit(msg, due_date=(2023, 8, 23))
53+
SetuptoolsDeprecationWarning.emit(msg, due_date=(2023, 9, 26))
5454
# This command is internal to setuptools, therefore it should be safe
5555
# to remove the deprecated support soon.
5656
self.output_dir = self.egg_base or self.output_dir

setuptools/command/egg_info.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def check_broken_egg_info(self):
338338
339339
Please rename {bei!r} to {self.egg_info!r} to correct this problem.
340340
""",
341-
due_date=(2023, 9, 1),
341+
due_date=(2023, 6, 1),
342342
# Old warning, introduced in 2005, might be safe to remove soon
343343
)
344344
self.broken_egg_info = self.egg_info
@@ -714,7 +714,7 @@ def warn_depends_obsolete(cmd, basename, filename):
714714
Configure your dependencies via `setup.cfg` or `pyproject.toml` instead.
715715
""",
716716
see_docs="userguide/declarative_config.html",
717-
due_date=(2023, 9, 1),
717+
due_date=(2023, 6, 1),
718718
# Old warning, introduced in 2005, it might be safe to remove soon.
719719
)
720720

setuptools/command/upload_docs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def run(self):
9797
Instead, use tools like devpi and Read the Docs; or lower level tools like
9898
httpie and curl to interact directly with your hosting service API.
9999
""",
100-
due_date=(2023, 9, 27), # warning introduced in 27 Jul 2022
100+
due_date=(2023, 9, 26), # warning introduced in 27 Jul 2022
101101
)
102102

103103
# Run sub commands

setuptools/config/_apply_pyprojecttoml.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def _acessor(obj):
327327
TOOL_TABLE_DEPRECATIONS = {
328328
"namespace_packages": (
329329
"consider using implicit namespaces instead (PEP 420).",
330-
{"due_date": (2023, 10, 15)}, # warning introduced in May 2022
330+
{"due_date": (2023, 10, 30)}, # warning introduced in May 2022
331331
)
332332
}
333333

@@ -377,4 +377,4 @@ class _WouldIgnoreField(SetuptoolsDeprecationWarning):
377377
remove the `[project]` table from your file and rely entirely on other means of
378378
configuration.
379379
"""
380-
_DUE_DATE = (2023, 10, 27) # Initially introduced in 27 May 2022
380+
_DUE_DATE = (2023, 10, 30) # Initially introduced in 27 May 2022

setuptools/config/pyprojecttoml.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,5 +492,5 @@ class _InvalidFile(SetuptoolsWarning):
492492
To prevent setuptools from considering `pyproject.toml` please
493493
DO NOT include both `[project]` or `[tool.setuptools]` tables in your file.
494494
"""
495-
_DUE_DATE = (2023, 4, 26) # warning introduced in 2022-03-26
495+
_DUE_DATE = (2023, 6, 1) # warning introduced in 2022-03-26
496496
_SEE_DOCS = "userguide/pyproject_config.html"

setuptools/dist.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _get_unpatched(cls):
5555
DistDeprecationWarning.emit(
5656
"Private function",
5757
"Do not call this function",
58-
due_date=(2023, 7, 9),
58+
due_date=(2023, 6, 1),
5959
# Warning initially introduced in 2016
6060
)
6161
return get_unpatched(cls)
@@ -804,7 +804,7 @@ def warn_dash_deprecation(self, opt, section):
804804
versions. Please use the underscore name {underscore_opt!r} instead.
805805
""",
806806
see_docs="userguide/declarative_config.html",
807-
due_date=(2023, 9, 10),
807+
due_date=(2023, 9, 26),
808808
# Warning initially introduced in 3 Mar 2021
809809
)
810810
return underscore_opt
@@ -828,7 +828,7 @@ def make_option_lowercase(self, opt, section):
828828
future versions. Please use lowercase {lowercase_opt!r} instead
829829
""",
830830
see_docs="userguide/declarative_config.html",
831-
due_date=(2023, 9, 10),
831+
due_date=(2023, 9, 26),
832832
# Warning initially introduced in 6 Mar 2021
833833
)
834834
return lowercase_opt

setuptools/package_index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def _download_svn(self, url, filename):
871871
SetuptoolsDeprecationWarning.emit(
872872
"Invalid config",
873873
f"SVN download support is deprecated: {url}",
874-
due_date=(2023, 10, 23), # Initially introduced in 23 Sept 2018
874+
due_date=(2023, 6, 1), # Initially introduced in 23 Sept 2018
875875
)
876876
url = url.split('#', 1)[0] # remove any fragment for svn's sake
877877
creds = ''

0 commit comments

Comments
 (0)