improve dev setup comments and hints (#28495)
* improve dev setup comments and hints * fix tests for new dev setup hints
This commit is contained in:
@@ -68,7 +68,7 @@ class DependencyVersionCheckTest(TestCasePlus):
|
||||
require_version_core(req)
|
||||
except importlib.metadata.PackageNotFoundError as e:
|
||||
self.assertIn(f"The '{req}' distribution was not found and is required by this application", str(e))
|
||||
self.assertIn("Try: pip install transformers -U", str(e))
|
||||
self.assertIn("Try: `pip install transformers -U`", str(e))
|
||||
|
||||
# bogus requirements formats:
|
||||
# 1. whole thing
|
||||
|
||||
Reference in New Issue
Block a user