Skip to content

Commit 39ef9fc

Browse files
committed
⚙️ [Python] try to handle deprecation in Python for retrieving licensing information
1 parent 9dc4992 commit 39ef9fc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

continuous_delivery_scripts/plugins/python.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ def can_add_licence_headers(self) -> bool:
164164

165165
def can_get_project_metadata(self) -> bool:
166166
"""States whether project metadata can be retrieved."""
167-
return True
167+
# FIXME Comment out retrieving project metadata as deprecated
168+
# (SetuptoolsDeprecationWarning: License classifiers are deprecated)
169+
return False
168170

169171
def should_include_spdx_in_package(self) -> bool:
170172
"""States whether the SPDX documents should be included in the package."""

news/20250915112924.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:gear: `[Python]` try to handle deprecation in Python for retrieving licensing information

0 commit comments

Comments
 (0)