Lines Matching defs:dependencies

48 import pkg.publish.dependencies as dependencies
300 This manifest checks that we can create multiple dependencies that each must
501 <!-- no dependencies here -->
622 None of these services or instances declare any dependencies.
672 None of these services or instances declare any dependencies.
725 None of these services or instances declare any dependencies.
786 None of these services or instances declare any dependencies.
895 pkg dependencies, since it has the 'delete' attribute set to true.
977 # dependencies on multiple files (pdtest.py, pdtest.pyc, pdtest.pyo, etc.)
1147 # dependencies of its own. We use -c (supress linking) for
1189 _check_results(dependencies.list_implicit_deps(t_path,
1191 _check_results(dependencies.list_implicit_deps(t_path,
1198 dependencies is set."""
1203 dependencies.list_implicit_deps(t_path, [self.proto_dir],
1211 # Check that internal dependencies are as expected.
1212 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1226 self.assertTrue(dependencies.is_file_dependency(d))
1249 _check_res(dependencies.list_implicit_deps(t_path,
1251 _check_res(dependencies.list_implicit_deps(t_path,
1258 the flag to show internal dependencies is set."""
1264 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1278 # Check that internal dependencies are as expected.
1279 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1286 self.assertTrue(dependencies.is_file_dependency(d))
1321 self.assertTrue(dependencies.is_file_dependency(d))
1325 _check_res(dependencies.list_implicit_deps(t_path,
1327 _check_res(dependencies.list_implicit_deps(t_path,
1334 internal dependencies is set."""
1353 self.assertTrue(dependencies.is_file_dependency(d))
1358 d_map, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1366 # Check that internal dependencies are as expected.
1367 _check_all_res(dependencies.list_implicit_deps(t_path,
1412 "dependencies:\n" + "\n".join(
1419 _check_all_res(dependencies.list_implicit_deps(t_path,
1421 _check_all_res(dependencies.list_implicit_deps(t_path,
1469 "dependencies:\n" + "\n".join(
1477 _check_all_res(dependencies.list_implicit_deps(t_path,
1479 _check_all_res(dependencies.list_implicit_deps(t_path,
1548 "dependencies:\n" + "\n".join(
1555 _check_all_res(dependencies.list_implicit_deps(t_path,
1557 _check_all_res(dependencies.list_implicit_deps(t_path,
1570 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1584 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1619 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1626 self.assertEqual(len(ds), 2, "Expected two dependencies, "
1633 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1660 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1676 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1723 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1739 # Check that internal dependencies are as expected.
1740 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1750 # Because not removing internal dependencies means that
1752 # dependencies have their variants as unsatisfied.
1781 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1828 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1847 # Check that internal dependencies are as expected.
1848 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1859 # Because not removing internal dependencies means that
1861 # dependencies have their variants as unsatisfied.
1905 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
1945 self.assertTrue(dependencies.is_file_dependency(d))
1953 d_map, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1967 d_map, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1979 d_map, es, ms, pkg_attrs = dependencies.list_implicit_deps(
1994 d_map, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2011 dependencies.list_implicit_deps(t_path, [self.proto_dir],
2026 dependencies.list_implicit_deps(t_path,
2075 "dependencies:\n" + "\n".join(
2085 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2099 _py_check_all_res(dependencies.list_implicit_deps(t_path,
2121 # and we detect declared dependencies and
2131 "dependencies for {1}".format(
2167 """We identify SMF dependencies delivered in the same package"""
2172 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2194 # verify that removing internal dependencies works as expected
2195 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2198 self.assertTrue(len(ds) == 0, "Expected 0 dependencies, got {0}".format(
2200 self.assertTrue(dependencies.is_file_dependency(d))
2204 """We identify SMF dependencies delivered in a different
2210 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2242 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2258 # We should still be able to resolve the other dependencies
2287 """We report failed attempts to resolve dependencies"""
2292 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2299 # our two dependencies come from:
2302 self.assertTrue(len(ds) == 2, "Expected 2 dependencies, got {0}".format(
2319 """We don't create any SMF dependencies where a manifest
2325 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2331 self.assertTrue(len(ds) == 0, "Expected 0 dependencies, got {0}".format(
2337 """We can generate dependencies that can be turned into
2338 require-any dependencies.
2340 In this test, we generate dependencies on three different SMF
2348 The second has two instance-level dependencies that are also
2350 require dependencies (because we're being specific about which
2356 multiple dependencies. (SMFManifestDependency doesn't use
2358 dependencies, but instead specifies full_paths directly, which
2364 # Test the first case: service dependencies satisfied by
2368 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2375 # ensure the dependencies are correct.
2382 # for SMF dependencies on services that are satisfied by
2388 # Test the second case: specific dependencies on instances
2391 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2396 self.assertTrue(len(ds) == 2, "Expected 2 dependencies, got {0}".format(
2402 # ensure the dependencies are correct.
2414 "dependencies were not generated when several SMF "
2415 "instances were listed as 'require_all' dependencies.")
2417 # Test the third case: service dependencies satisfied by
2421 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(
2428 # ensure the dependencies are correct.
2445 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2461 self.assertTrue(dependencies.is_file_dependency(dep))
2470 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2477 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2488 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2498 self.assertTrue(dependencies.is_file_dependency(dep))
2518 """Given a list of dependencies, and a list of bypass paths,
2544 self.assertTrue(dependencies.is_file_dependency(dep))
2546 # finally, check the dependencies
2555 """Verifies that we have generated dependencies on the given
2581 # this manifest should result in multiple dependencies
2585 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2601 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2623 dependencies.list_implicit_deps(t_path,
2627 "Did not generate exactly 0 dependencies")
2633 dependencies.list_implicit_deps(t_path,
2648 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2656 self.assertTrue(len(ds) == 0, "Generated dependencies despite "
2662 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2673 "Failed to generate dependencies, despite dir-wildcards")
2678 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2685 # we should still have dependencies on these
2689 "Failed to generate dependencies, despite file-wildcards")
2698 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2707 # we should still have dependencies on these
2711 "Failed to generate dependencies, despite file-wildcards")
2714 """Ensure that bypasses which don't match any dependencies have
2715 no effect on the computed dependencies."""
2719 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2732 """Return all paths this list of dependencies could
2747 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2752 "generating dependencies with non-matching bypass entries "
2753 "changed the returned dependencies")
2775 ds, es, ms, pkg_attrs = dependencies.list_implicit_deps(t_path,
2782 dsl, esl, msl, pkg_attrsl = dependencies.list_implicit_deps(