Merge branch 'issue-5367b' of github.com:pypa/pipenv into issue-5367b

This commit is contained in:
Matt Davis
2022-09-21 06:55:06 -04:00
+3 -1
View File
@@ -557,7 +557,9 @@ class Project:
lock_section = lockfile.get(section, {})
for key in list(lock_section.keys()):
norm_key = pep423_name(key)
lockfile[section][norm_key] = lock_section.pop(key)
specifier = lock_section[key]
del lock_section[key]
lockfile[section][norm_key] = specifier
return lockfile._data