We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3448fb1 commit 4e8257aCopy full SHA for 4e8257a
1 file changed
cppython/builder.py
@@ -86,10 +86,11 @@ def extract_scm_version(self, path: Path) -> str:
86
"""
87
88
group = "SCM"
89
+ group_lower = group.lower()
90
91
scm_types: list[type[SCM]] = []
92
- if not (entries := list(metadata.entry_points(group=f"cppython.{group}"))):
93
+ if not (entries := list(metadata.entry_points(group=f"cppython.{group_lower}"))):
94
raise PluginError("No SCM plugin found")
95
96
# Filter entries
@@ -98,7 +99,7 @@ def extract_scm_version(self, path: Path) -> str:
98
99
if not issubclass(plugin_type, SCM):
100
self.logger.warning(
101
f"Found incompatible plugin. The '{resolve_name(plugin_type)}' plugin must be an instance of"
- f" '{group}'"
102
+ f" '{group_lower}'"
103
)
104
else:
105
scm_types.append(plugin_type)
0 commit comments