Skip to content

Commit 6c15222

Browse files
committed
Fix sub dependencies representation in lock file
1 parent e9780e8 commit 6c15222

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
- Fixed built wheels not getting information from the virtualenv.
88
- Fixed building wheel with conditional extensions.
99
- Fixed missing files in built wheel with extensions.
10-
- Fixed call to venv binaries on windows
10+
- Fixed call to venv binaries on windows.
11+
- Fixed subdependencies representation in lock file.
1112

1213

1314
[0.6.2] - 2018-03-19

poetry/packages/locker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _dump_package(self, package: 'poetry.packages.Package') -> dict:
184184
if dependency.is_optional():
185185
continue
186186

187-
dependencies[dependency.pretty_name] = dependency.pretty_constraint
187+
dependencies[dependency.pretty_name] = str(dependency.pretty_constraint)
188188

189189
data = {
190190
'name': package.pretty_name,

0 commit comments

Comments
 (0)