Skip to content

Commit bc25811

Browse files
finswimmerneersighted
authored andcommitted
fix: turn debug message about invalid constraint into warning
(cherry picked from commit 4578c6f)
1 parent 3faf98f commit bc25811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poetry/inspection/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def to_package(
205205
dependency = Dependency.create_from_pep_508(req, relative_to=root_dir)
206206
except ValueError:
207207
# Likely unable to parse constraint so we skip it
208-
logger.debug(
208+
logger.warning(
209209
f"Invalid constraint ({req}) found in"
210210
f" {package.name}-{package.version} dependencies, skipping",
211211
)

0 commit comments

Comments
 (0)