8000 Merge pull request #1582 from stonebig/master · winpython/winpython@3b1bfba · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b1bfba

Browse files
authored
Merge pull request #1582 from stonebig/master
fix changelog loosing its package description
2 parents 9fa29a6 + b68df0f commit 3b1bfba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

winpython/wppm.py

Lines changed: 2 additions & 2 deletions
< 86A2 col width="40"/>
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ def get_installed_packages(self, update: bool = False) -> list[Package]:
8080
self.pip = piptree.PipData()
8181
else:
8282
self.pip = piptree.PipData(utils.get_python_executable(self.target))
83-
pip_list = self.pip.pip_list()
83+
pip_list = self.pip.pip_list(full=True)
8484

8585
# return a list of package objects
86-
return [Package(f"{i[0].replace('-', '_').lower()}-{i[1]}-py3-none-any.whl") for i in pip_list]
86+
return [Package(f"{i[0].replace('-', '_').lower()}-{i[1]}-py3-none-any.whl", suggested_summary=i[2]) for i in pip_list]
8787

8888
def find_package(self, name: str) -> Package | None:
8989
"""Find installed package by name."""

0 commit comments

Comments
 (0)
0