From 5476f4ab11c2d58014829e5facbcc80d9d594627 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Sun, 27 Sep 2020 14:32:03 -0400 Subject: [PATCH] Update example errors with new names, messages, and formatting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c9d8314..c47405f 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ commands = ... Running Tox using this config gives us this error: ``` -tox_poetry_installer.NoLockedDependencyError: Cannot install env dependency 'pylint >=2.4.4,<2.6.0': cannot specify a version for a locked env dependency +tox_poetry_installer.LockedDepVersionConflictError: Locked dependency 'pylint >=2.4.4,<2.6.0' cannot include version specifier ``` This is because we told the Tox environment to require all dependencies to be locked, but then also @@ -147,7 +147,7 @@ commands = ... Running Tox with this config gives us this error: ``` -tox_poetry_installer.NoLockedDependencyError: Cannot install env dependency 'crash-override': no version of the env dependency was found in the current project's lockfile +tox_poetry_installer.LockedDepNotFoundError: No version of locked dependency 'crash-override' found in the project lockfile ``` This is because `crash-override` is not in our lockfile. Tox will refuse to install a dependency