Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2024-01-18 23:25:41 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2024-01-19 03:00:55 +0300
commit8cc4502fd8978001437b2f5c182e9d32f8672170 (patch)
tree95ff8b4befe65d1f933c3772894ad1f477fa953b /calm/package.py
parent9aa9586fc4153ca1a6e027bf9f342fd35a52e0b9 (diff)
Rewrite dependencies on removed python packages
Using the now removed, obsoleted package name causes the solver to want to uninstall anything which depends on these, which isn't helpful right now. Theoretically, the information to generate these exists in our "retired old-style obsoleting packages" data, but do it manually for speed right now.
Diffstat (limited to 'calm/package.py')
-rwxr-xr-xcalm/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/package.py b/calm/package.py
index 552a2f3..39f3655 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -245,7 +245,7 @@ def process_package_constraint_list(pcl):
deplist[item] = item + ' ' + r
else:
item = r
- deplist[item] = item
+ deplist[item] = past_mistakes.substitute_dependency.get(r, r)
# return a sorted list of package names with an optional version constraint.
return sorted(deplist.values())