Skip to content

Commit 4b54d4c

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

continuous_delivery_scripts/plugins/python.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ 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 (SetuptoolsDeprecationWarning: License classifiers are deprecated)
168+
return False
168169

169170
def should_include_spdx_in_package(self) -> bool:
170171
"""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)