Refactor dep processing to improve efficiency of installation

Assemble single list of dependencies to reduce duplication and reduce installation overhead
This commit is contained in:
2020-11-12 22:14:49 -05:00
parent e37c166a8b
commit d910b6ee8d
3 changed files with 80 additions and 107 deletions

View File

@@ -5,6 +5,7 @@ All exceptions should inherit from the common base exception :exc:`ToxPoetryInst
::
ToxPoetryInstallerException
+-- SkipEnvironment
+-- LockedDepVersionConflictError
+-- LockedDepNotFoundError
+-- ExtraNotFoundError
@@ -17,6 +18,10 @@ class ToxPoetryInstallerException(Exception):
"""Error while installing locked dependencies to the test environment"""
class SkipEnvironment(ToxPoetryInstallerException):
"""Current environment does not meet preconditions and should be skipped by the plugin"""
class LockedDepVersionConflictError(ToxPoetryInstallerException):
"""Locked dependencies cannot specify an alternate version for installation"""