8000 pip-21.3 deprecates get_installed_distributions by stonebig · Pull Request #1018 · winpython/winpython · GitHub
[go: up one dir, main page]

Skip to content

pip-21.3 deprecates get_installed_distributions #1018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion winpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
OTHER DEALINGS IN THE SOFTWARE.
"""

__version__ = '4.5.20210918'
__version__ = '4.5.20210926'
__license__ = __doc__
__project_url__ = 'http://winpython.github.io/'
2 changes: 1 addition & 1 deletion winpython/wppm.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def get_installed_packages(self, update=False):
cmdx = [
utils.get_python_executable(self.target), # PyPy !
'-c',
"import pip;from pip._internal.utils.misc import get_installed_distributions as pip_get_installed_distributions ;print('+!+'.join(['%s@+@%s@+@' % (i.key,i.version) for i in pip_get_installed_distributions()]))",
"import pkg_resources, importlib;importlib.reload(pkg_resources);print('+!+'.join(['%s@+@%s@+@' % (i.key, i.version) for i in pkg_resources.working_set]))",
]
p = subprocess.Popen(
cmdx,
Expand Down
0