From b84d2925ef7837aeae57728a7a55ab4cf7db50c7 Mon Sep 17 00:00:00 2001 From: Marin Date: Fri, 21 Jan 2022 18:30:30 -0500 Subject: [PATCH] Fix PEP508 formatting for subdirectory parameter --- src/poetry/core/packages/vcs_dependency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poetry/core/packages/vcs_dependency.py b/src/poetry/core/packages/vcs_dependency.py index 72d254563..3c5e2e3a1 100644 --- a/src/poetry/core/packages/vcs_dependency.py +++ b/src/poetry/core/packages/vcs_dependency.py @@ -120,7 +120,7 @@ def base_pep_508_name(self) -> str: requirement += f"@{self.reference}" if self._directory: - requirement += f"#subdirectory{self._directory}" + requirement += f"#subdirectory={self._directory}" return requirement